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,760

    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,760

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

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

Similar Threads

  1. Removing Fedora and installing Windows XP
    By tech291083 in forum Redhat / Fedora
    Replies: 10
    Last Post: 03-12-2007, 05:28 AM
  2. how to mount windows drivves in fedora core 6
    By jeswin_14 in forum Redhat / Fedora
    Replies: 1
    Last Post: 02-16-2007, 12:24 PM
  3. Installing Apache::ASP for Fedora Core-4
    By honey bee in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 11-22-2006, 01:09 PM
  4. Fedora Core 3/Windows XP Dual Boot Problem
    By Orchrist in forum Linux - General Topics
    Replies: 19
    Last Post: 03-09-2005, 04:16 PM
  5. Windows XP/Fedora Core 3 question
    By ece30675 in forum Linux - General Topics
    Replies: 3
    Last Post: 02-11-2005, 01:08 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
  •