Rescue Mode
Fedora Rescue Mode
Restoring your grub boot loader on an already installed system.
Scenario 1. You install Windows Vista on a partition on the second hard disk. Vista installs its own boot loader and you lose Fedora. Boot with the Fedora install DVD or CD.
Choose Rescue installed system.
- Choose your language
- Choose keyboard type
- Choose whether to start the network or not. No need to in most cases.
Choose continue to let the rescue system attempt to find your Linux installation and mount it.
Press OK where you are told Your system has been mounted under /mnt/sysimage.
- You are dropped into the command shell
sh 3.2#
Type
chroot /mnt/sysimage grub-install /dev/sda
No errors are reported and you can safely reboot. Type
exit exit
When you do reboot you'll get the option to boot Fedora. Once Fedora is booted we'll add Vista to Fedora's boot loader.
Editing grub to add Vista.
I installed Vista on the second hard disk, /dev/sdb. More specifically /dev/sdb1. Open /boot/grub/menu.lst in your favorite text editor. Make a new entry for Vista.
title Windows Vista Business
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Save the file and lets reboot to see if this worked correctly.
Return home
