Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-15-2004, 04:02 AM   #1
LQ Newbie
Registered: Sep 2004
Location: Philippines
Posts: 5

Rep: Reputation: 0
How to Clear the Master Boot Record(MBR)

I already deleted all the partitions, create again and then format everything but when I installed Windows and then restart the lilo or the grub boot loader appeared and windows installation did not continue.
I really have a hard fixing this please help me how to clear the MBR otherwise I have to buy a new harddisk.
Old 09-15-2004, 04:09 AM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
It's simple. If you have a Win98 boot disk, boot your PC with it and when you reach the prompt, type:

C:\>fdisk /MBR

That would fix it. If you are using Win2k or XP, boot with the disk as usual and choose "Rescue" mode. When you reach the prompt, type:


and you are done by breakfast time.

Good luck!
Old 09-15-2004, 04:12 AM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
That is rather surprising. Windows is a gealous mistress and abhors any other operating system. Usually, windows will overwrite the MBR. Try giving the command 'fdisk -mbr' from the windows command line prompt. That should re-write the MBR for your windows installation.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
master boot record repair danielanson *BSD 2 05-22-2005 12:26 AM
master boot record help sfr7 Linux - Laptop and Netbook 10 04-25-2004 09:52 AM
Master Boot Record linuxuser05 Linux - General 3 01-11-2004 07:57 PM
master boot record alaios Linux - General 1 04-22-2003 09:41 AM
master boot record dark_light Linux - General 11 07-03-2002 06:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:11 AM.

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