-   Linux - General (
-   -   Restoreing MBR & Creating USB Bootable Pendrive (

ady 05-16-2005 03:35 AM

Restoreing MBR & Creating USB Bootable Pendrive

How do I make a USB bootable disk.

I have a 64 MB USB Pendrive and want to use that to restore my Master Boot Record.

I had a dual boot Win XP and Linux system, but I deleted my Linux partition by mistake.
So my laptop wont boot into windows also as my MBR is corrupted and all I get is a Grub boot prompt.

I dont have a floppy drive. So I want to cereate a USB bootable drive and use that to restore my MBR using : fdisk /mbr command.

So, How do I create a USB bootable pen drive?

(Or any other method to restore my MBR and get my windows running? )



mcgrew 05-16-2005 04:50 AM

There are several ways to fix this...

If you have the windows XP install cd, simply put it in the drive, boot from it, and start the setup program

It will detect your previous windows installation and give you the option of the recovery console, by pressing R I think.

go to the recovery console and type FIXMBR to overwrite the MBR with a new one.

Also, you should be able to boot into windows from the grub prompt by typing :


rootnoverify (hd0,0)
chainloader +1

change the (hd0,0) to whatever your windows partition is (probably (hd0,0))
hd0=first disk, hd0,0=first disk, first partition

as for making a bootable pen got me there.

ady 05-16-2005 05:45 AM

got the work done !
Thanks man,

I did that and got my machine up and running.

Thanks again.


trickykid 05-16-2005 11:11 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

All times are GMT -5. The time now is 12:54 AM.