Not able to boot Fedora 2 after ghosting XP

Greg Geist geistg2 at
Tue Aug 10 15:13:46 UTC 2004

> I will explain stetup, machine has 3 harddrives "disk 0(C) is all XP",
"disk 1>(G) is all ghost of XP", "disk 2 is all linux", the ghost I >fixed
XP with was done before I installed Fedora Core 2 , after ghosting the linux
installation is OK on its own harddrive but the boot >choice has gone, and
starts into XP by default, I can enter rescue mode in Linux by using
original installation DVD I downloaded.  I >tried by using Grub prompt to
grub-install /dev/hdc. message was "unrecognized command". I do not know
enough about Linux to do >anymore, one way is to reinstall but this is not
me I want to repair

Grub-install is a separate program. Do not try to install from within the
grub shell "grub>".  Grub-install resides in your original Fedora
installation on your hard drive. At the initial rescue console prompt you
are within the directories of the CD/DVD. If your fedora installation is
intact, it is mounted under the directories "mnt/sysimage".  You must either
"cd" into appropriate directories and/or use the "chroot" command (chroot
/mnt/sysimage)to use these files. Try running the command from within
"/boot". In using "grub-install" make sure you know which device is which.
The grub-install program creates a customized version of "grub stage 1"
which contains the location of your fedora /boot partition or directory and
puts it where you tell it.  If you boot off "disk 0" and that device is
"hda", "grub-install /dev/hda" will install grub on the mbr of your boot
device. If your boot device is other than "hda" use the appropriate device
name (hdb,sda..etc.)the "df" command will let you see the mounted devices.
If you see your boot device you should be able to install to it...if you
don't, you must mount the device first.  The grub-install command should
output a report indicating a successful install on the correct device.

More information about the users mailing list