473,500 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New to Linux...2 questions.

78 New Member
Hi. I recently installed Fedora Core 3. I am running a dual boot system, with GRUB as a boot selector.
My question is if i were to update Windows, will the NTLDR overright my boot configuration?
And the other question is, there is a command in linux from shell that shows the last logs to the system, like when i connect a device, it shows the device name it is using. Can anyone tell me what it is?
thanks.
Feb 23 '07 #1
3 1261
dhananjaya
1 New Member
hi,

i don't know about your second question. But i can answer your first question.
If you wan't upgrade Windows, your boot configuration will be Overwritten by
NTLR.Therefore it better to have a bootable disk of Linux.

Thanks
Dhananjaya
Feb 23 '07 #2
cybervegan
36 New Member
Hi. I recently installed Fedora Core 3. I am running a dual boot system, with GRUB as a boot selector.
My question is if i were to update Windows, will the NTLDR overright my boot configuration?
And the other question is, there is a command in linux from shell that shows the last logs to the system, like when i connect a device, it shows the device name it is using. Can anyone tell me what it is?
thanks.
Firstly, *some* Windows updates will overwrite the boot loader, but not most. If you *reinstall* windows, it will most certainly overwrite it. The easiest solution is to use a live linux cd (pref the same distro you are using) and google for their "fix bootloader" HOWTO. On most distro's you can backup your grub configuration by copying /boot directory to a usb key or floppy disk (if it will fit).

Secondly, there's a directory called /var/log which contains various system logs (dependant on distro to some extent). The main system log is called /var/log/messages. On some systems these files are readable only by root.

To see which logs are available from the command line, type:

Expand|Select|Wrap|Line Numbers
  1. ls /var/log/messages
To view them from the command line, use:

Expand|Select|Wrap|Line Numbers
  1. sudo view /var/log/messages
To filter a logfile for a string (e.g. to find errors), try:

Expand|Select|Wrap|Line Numbers
  1. sudo cat /var/log/messages | grep error
*never* edit or alter log-files. ever.

hth
-cybervegan
Feb 23 '07 #3
Motoma
3,237 Recognized Expert Specialist
*never* edit or alter log-files. ever.
Some of the best advice I have heard all day.
Feb 23 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
8075
by: srihari | last post by:
Hai, I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My machine is Intel XEON 64bit. The installation went well except for the creation of tools catalog. When I tried to install the tools...
1
4064
by: mairhtin o'feannag | last post by:
Hello, After reading the fine article on the Stinger enhancements for Linux, I have two questions. First, our application is in essence a warehouse, with 100-400 million rows for various...
1
2468
by: lineak | last post by:
Hi all, does anyone know how to compile with gcc using a different library from pthreads (for example libc clone() call)? if I type gcc -v I get: Reading specs from...
1
4929
by: Sandeep | last post by:
Hi, I want to read & print a UTF-8 encoded characters stored in a file. I want to write a C program on Linux platform to achieve this. I am new to UTF-8. I will appreciate any sample...
3
10749
by: ibwhoib | last post by:
Hey all, I caught a job where I have to write a linux daemon that communicates with a device connected to a serial port. Here are some details. I connect to the device in the standard fashion:...
5
1483
by: Dave | last post by:
Compiled using g++ on linux and then I tried to execute it on Solaris. The error message was something like "can't execute a.out" - works ok on linux - ran chmod so Sun user has execute/read/etc...
9
8410
by: jgcrawford | last post by:
G'day, I'm writing a ringtone manager for nokia ringtones and I'd like to be able to play the ringtone on the PC speaker. I've had some success in DOS with turbo C and its sound(), delay() and...
16
1661
by: Dawn Minnis | last post by:
Hi I know you're not supposed to post OS specific questions on the newsgroup so does anyone know a good newsgroup - where there are actually people talking to eachother and not full of spam -...
4
3448
by: insomniux | last post by:
Hi, I need to check if a kernel module is loaded on a linux box.My linux version 2.6. If the module is not loaded, I need to load it. Should I do that with a system command (modprobe) or is there...
15
2400
by: David T. Ashley | last post by:
I'll be using gcc under Red Hat Enterprise Linux. Where do I find information about the low-level calls to the operating system from compiled 'C'? For example, if I want to cause a process to...
0
7136
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7018
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7182
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7232
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6906
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
1430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
672
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.