This approach is different than the ones that install grub on the MBR.
This approach attempts to:
1) Make a grub boot floppy
2) Install grub on the /boot partition
3) Put an option to boot linux on the Windows XP boot menu
Boot to linux rescue
Then, put a floppy disk in the floppy drive
Code:
chroot /mnt/sysimage
mkfs.vfat /dev/fd0
Now run grub and install grub on the floppy
Code:
grub
grub>root (hd1,0)
grub>setup (fd0)
grub>quit
If that succeeds, booting the floppy should boot grub.
If it did not succeed, don't do the rest of the steps, but report on what error messages or problems occurred.
If succeeded booting the floppy, and it can boot into Fedora, then it is ready for the next steps after booting into fedora from the floppy. (The floppy disk should still be in the floppy drive)
Code:
umount /boot
grub
grub>root (hd1,0)
grub>setup (hd1,0)
grub>quit
If that succeeds, then it is ready for the next steps
Code:
mount /dev/fd0 /mnt
dd if=/dev/hdb1 of=/mnt/fedboot.img bs=512 count=1
umount /mnt
Eject the floppy disk
Reboot into Windows XP
In Windows XP, put the floppy disk in the floppy drive
Copy the file fedboot.img on floppy drive A: to drive C:
On drive C:
Edit the file boot.ini and add to the bottom of boot.ini, the line:
Code:
C:\fedboot.img="Fedora Core 6"
Now, I must try to remember how to do this:
Right-click on My Computer icon
I think there is a startup options with a TIMEOUT
Change the TIMEOUT to 10
Next time XP boots, there should be a menu with an option "Fedora Core 6"