Installing grub to dual boot
Michael Hipp
Michael
Fri Jun 10 22:09:26 PDT 2005
Man-wai Chang wrote:
> Brad De Vries wrote:
>
>> Everyone/Anyone, I could use some assistance here. I'll start with a
>> little history to make the current state and desired direction a bit
>> clearer:
>>
>> 1) Got a laptop with win2000 pro from work with a 20GB HD formatted
>> FAT32.
>> 2) Ran the disk defragment and error checking tools so everything was
>> "clean."
>> 3) Booted Knoppix and successfully ran "parted" to reduce the FAT32
>> partition from 20GB to 10GB.
>> 4) System failed to boot win2000 due to error "NTLDR is missing."
>> Figured I'd fix that later.
>> 5) Installed Fedora Core 3 into the newly freed up 10GB.
>> 6) System booted fine into FC3 and the crowd went wild.
>> 7) Verified the grub.conf had an option to the win2000 side and rebooted.
>> 8) Chose the win2000 option from the grub menu but it failed to boot
>> due to "NTLDR is missing" error.
>> 9) After much googling, hunting, and trying I was able to fix the
>> win2000 boot problem but in doing so overwrote grub from the MBR.
>> 10) Figured that since the original problem (see step 4) came from
>> changing the disk partition size, all I'd have to do is boot the linux
>> side and run grub-install.
>> 11) I've booted from the FC3 disk in rescue mode and Knoppix and
>> neither will successfully run "grub-install /dev/hda2". The command
>> hangs.
>
>
> you need to remount the /dev/hda2 with `-o dev` in Knoppix.
Man-wai, could you elaborate a bit on what '-o dev' does? The man page only says:
"Interpret character or block special devices on the file system."
That doesn't tell me much.
Thanks,
Michael
More information about the Linux-users
mailing list