LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-15-2004, 03:02 AM   #1
hazarcon
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, 03:09 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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:

fixmbr

and you are done by breakfast time.

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

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


Reply



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-21-2005 11:26 PM
master boot record help sfr7 Linux - Laptop and Netbook 10 04-25-2004 08:52 AM
Master Boot Record linuxuser05 Linux - General 3 01-11-2004 06:57 PM
master boot record alaios Linux - General 1 04-22-2003 08:41 AM
master boot record dark_light Linux - General 11 07-03-2002 05:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 PM.

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