Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Closed Thread
  Search this Thread
Old 05-16-2005, 03:35 AM   #1
LQ Newbie
Registered: Jul 2001
Location: Goa, India
Distribution: Red Hat 9
Posts: 17

Rep: Reputation: 0
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? )


Old 05-16-2005, 04:50 AM   #2
Registered: May 2005
Location: West Virginia, US
Distribution: Gentoo
Posts: 56

Rep: Reputation: 21
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.
Old 05-16-2005, 05:45 AM   #3
LQ Newbie
Registered: Jul 2001
Location: Goa, India
Distribution: Red Hat 9
Posts: 17

Original Poster
Rep: Reputation: 0
got the work done !

Thanks man,

I did that and got my machine up and running.

Thanks again.

Old 05-16-2005, 11:11 AM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating network install boot iso on usb pendrive Qwik Fedora - Installation 1 02-23-2006 02:10 PM
creating a bootable usb thumb drive tlarkin Linux - Software 13 02-21-2006 06:39 AM
Restoreing MBR & Creating USB Bootable Pendrive ady Linux - Newbie 3 05-16-2005 02:47 PM
Restoring MBR & Creating USB Bootable Pendrive ady Linux - Hardware 2 05-16-2005 12:21 PM
Bootable pendrive alnreddy Linux - General 1 02-22-2005 07:57 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration