New to Linux...2 questions.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sebouh
    New Member
    • Feb 2007
    • 77

    New to Linux...2 questions.

    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.
  • dhananjaya
    New Member
    • Feb 2007
    • 1

    #2
    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

    Comment

    • cybervegan
      New Member
      • Jan 2007
      • 36

      #3
      Originally posted by Sebouh
      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:

      Code:
      ls /var/log/messages
      To view them from the command line, use:

      Code:
      sudo view /var/log/messages
      To filter a logfile for a string (e.g. to find errors), try:

      Code:
      sudo cat /var/log/messages | grep error
      *never* edit or alter log-files. ever.

      hth
      -cybervegan

      Comment

      • Motoma
        Recognized Expert Specialist
        • Jan 2007
        • 3236

        #4
        Originally posted by cybervegan
        *never* edit or alter log-files. ever.
        Some of the best advice I have heard all day.

        Comment

        Working...