LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

Rep: Reputation: 0
Restoreing MBR & Creating USB Bootable Pendrive


Hi,

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? )

Thanks,

Aditya
 
Old 05-16-2005, 04:50 AM   #2
mcgrew
Member
 
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 :

Code:
rootnoverify (hd0,0)
makeactive
chainloader +1
boot
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 drive...you got me there.
 
Old 05-16-2005, 05:45 AM   #3
ady
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.

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

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

http://www.linuxquestions.org/rules.php
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:34 AM.

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