Results 1 to 5 of 5

Thread: How to fix a Fedora Core GRUB loader after installing Windows

  1. #1
    Member AljoshaNL's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    230

    How to fix a Fedora Core GRUB loader after installing Windows

    Hello,

    Why?
    If you just installed Windows on a system with already Fedora Core on it you probably will find that your bootloader is gone, the system just directly boots into Windows. This is because the Windows installer overwrites your MBR (master boot record).

    How?
    1) First you have to get into a 'linux rescue session'. Usually this can be done by inserting your first Fedora CD and typing into the splash screen
    Code:
    linux rescue
    .

    2a) After a while Anaconda will run and will report it will mount the system under
    Code:
    /mnt/sysimage
    (or another dir, usually it is sysimage, write it down if you are going to forget it).

    2b) I suggest to write this down.

    3) When you reach the console get into runlevel 3
    Code:
    /sbin/init 3
    or try
    Code:
    telinit 3
    4) Then you have to chroot /mnt/sysimage or /mnt/<whatever you wrote down in step 2a>
    Code:
    chroot /mnt/sysimage
    5) Now you have to reïnstall GRUB
    Code:
    grub-install /dev/hda*
    6) If you haven´t got any errors reboot your system by
    Code:
    reboot
    Thanks to Trickster who gave me some important details!

    *Or wathever you wrote down
    *2 This is the disk (not the partition!) where you have linux installed

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re:How to fix a Fedora Core GRUB loader after installing Windows

    [quote author=AljoshaNL link=board=1;threadid=10719;start=0#msg96214 date=1127590577]

    Code:
    /dev/sysimage
    (or another dir, usually it is sysimage, write it down if you are going to forget it).

    [/quote]

    That should be /mnt/sysimage.

    Otherwise this appears to be rather accurate.

  3. #3

    Re:How to fix a Fedora Core GRUB loader after installing Windows

    Did it work for you?

  4. #4
    Member AljoshaNL's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    230

    Re:How to fix a Fedora Core GRUB loader after installing Windows

    Yes, it did work. Seems like the fedora partitition is auto-mounted when you choose rescue.
    Thanks for the correction!

  5. #5
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re:How to fix a Fedora Core GRUB loader after installing Windows

    No problem. This is my only life now ...

Similar Threads

  1. List of fixes included in Windows XP SP2
    By regix in forum Windows - General Topics
    Replies: 6
    Last Post: 01-03-2005, 10:44 PM
  2. ISA Server on Windows Server 2003
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 08:49 PM
  3. Windows CE FAQ
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 02:00 AM
  4. Reinstall Dial-Up Networking and TCP/IP
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 01:07 AM
  5. How to install or upgrade to Windows XP
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 12-31-2004, 10:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •