Need help with grub..

OoteR02

Senior member
Nov 6, 2002
367
0
71
I have fedora core 2 on one my drives, but i'm looking to get rid of it on this computer and run straight windows. the primary drive has the bootloader and fedora on it, and the secondary has something going on with grub also.. i just need to know how to change the MBR so that the second drive can actually boot its windows partition rather than trying to run grub and failing.
 

UmneyDurak

Member
Aug 8, 2004
63
0
0
I learned my lesson from installing FC2, have grub installed on /boot partition. Then modified boot.ini to display linux option, that would boot to grub. Kinda a cludgy way of doing this, but I think it's less problamatic.
 

talyn00

Golden Member
Oct 18, 2003
1,666
0
0
Originally posted by: UmneyDurak
I learned my lesson from installing FC2, have grub installed on /boot partition. Then modified boot.ini to display linux option, that would boot to grub. Kinda a cludgy way of doing this, but I think it's less problamatic.

How do you modify the boot.ini to display the linux option? I'm considering installing linux and this would probably be helpful in the future
 

UmneyDurak

Member
Aug 8, 2004
63
0
0
I used dd command to export grub in to a file.
Then I copied that file onto c:, and just added entry to boot.ini c:\somefile="linux name"
The command:
dd if=(boot location) of=(file) bs=512 count=1
so in my case I used dd if=/dev/hdb1 of /mnt/floppy bs=512 count=1
/boot was on seccond hd first partition thus hdb1