473,625 Members | 2,751 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 1267
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
8088
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 catalog as a post installation task I get some java error. $ db2 CREATE TOOLS CATALOG SYSTOOLS USE EXISTING DATABASE TOOLSDB FORCE SQL22209N The DB2 Administration Server encountered an unexpected Java error on host "". I have jdk1.3 already...
1
4073
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 tables. Having said that, the AIO enhancements seem to be geared to an OLTP environment. Our environment is that we load MASSIVE amounts of data every couple of months, and then run various queries against this massive influx. Seems to me that our...
1
2478
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 /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread...
1
4955
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 programs OR guidance on this. Thanks in advance,
3
10777
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: fd = open(device, O_RDWR | O_NOCTTY | O_NDELAY); I set the port options:
5
1495
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 permissions. chmod u=rwx Any clues why? I am new to the non windows world. Thanks
9
8429
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 nosound(). Is there anything similar for Linux? I know I can make a simple beep with '\a', but that's not what I need. If not, can someone please show me how to do this with the /dev/audio device?
16
1676
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 - where I can get advice on developing C for a command line driven interface in Linux? Any advice greatly appreciated. Kind regards
4
3462
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 a better way in C? Insomniux
15
2425
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 sleep, or look at the permissions of a file ... where is this written down? Thanks, Dave.
0
8189
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8692
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8354
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7182
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6116
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4192
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2621
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 we have to send another system
1
1802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.