Page 1 of 1

Floppy drive broken - how to install grub to mbr?

Posted: Wed Nov 07, 2007 12:15 pm
by oscoder
Hi,
I'm putting this in this forum, since it isn't really 'OS development' or 'General Programming'

For the past year or so I've done dual booting of my pc (whose mbr is blank, btw), using a startup floppy disk with grub on it. However, this drive is now broke! I have a knoppix CD, which i am using atm. Can anyone tell me the best way to get grub onto the mbr?

I've downloaded grub-legacy, and I'm guessing I've gotta type:

Code: Select all

grub-install hd0
I thought it best to check first though - I don't want to screw up my PC!

Thanks in advance,
OScoder

Re: Floppy drive broken - how to install grub to mbr?

Posted: Thu Nov 08, 2007 1:59 am
by AndrewAPrice
oscoder wrote: I've downloaded grub-legacy, and I'm guessing I've gotta type:

Code: Select all

grub-install hd0
Yep :) Do you have the stage 2 files / fs drivers on your hard drive?

Posted: Fri Nov 09, 2007 10:53 am
by oscoder
Thanks, it's worked! My stage 2 files are stored on a windows partition though - is there an attribute I can use to stop them being moved?

OScoder