See below for how to make starting Linux an option in the XP boot menu.
Were you logged in as "root?" grub-install
is usually found in /sbin
, but that will not be in your $PATH unless you've logged in as "root."
You can usually use the whereis
command to find the path to a specific command. (And the locate
command to locate any file on your system.)
By the way, a brief description of the grub-install
command may be read with the man grub-install
command. (Look at man less
for a description of the less
command that man
uses to display its output.) You can also use the info grub-install
command for more details about how grub-install
works. (And, of course, info info
for how to use the info command.)
Once you've found the command, try grub-install fd0
-- I'd forgotten that GRUB would let you use its device naming conventions as well as the system ones.
As an alternative to the above, you could use the XP boot loader to boot Linux for you. In order to do this, you need to create a boot image as a file on the XP C: drive and point boot.ini
to that file.
First, create the boot image on a floppy as you did when you made your bootable floppy (described in your post that started this thread), except use if=/dev/hda of=/dev/media/floppy/linux.bin
after mounting a FAT formatted floppy, and assuming that the XP drive is disconnected. That should create an image of the boot sector of your Fedora drive in the linux.bin
file on the floppy.
Shut down Fedora, reconnect your XP drive, boot XP, re-insert the floppy, and copy linux.bin
from the floppy to your C: drive.
Then edit (you may need to un-set the read-only, system, and/or hidden attributes on the file to do this) boot.ini
so it looks like this:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP" /noexecute=optin /fastdetect
(You may want to leave the "default" as-is for testing.)
Re-boot XP, and you should see an OS menu letting you boot Fedora.