Floppy drive broken - how to install grub to mbr?

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
oscoder
Member
Member
Posts: 59
Joined: Mon Mar 27, 2006 12:00 am
Location: UK

Floppy drive broken - how to install grub to mbr?

Post 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
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

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

Post 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?
My OS is Perception.
oscoder
Member
Member
Posts: 59
Joined: Mon Mar 27, 2006 12:00 am
Location: UK

Post 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
Post Reply