LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to Clear the Master Boot Record(MBR) (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-clear-the-master-boot-record-mbr-230802/)

hazarcon 09-15-2004 03:02 AM

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.

Mega Man X 09-15-2004 03:09 AM

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!

bigrigdriver 09-15-2004 03:12 AM

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.


All times are GMT -5. The time now is 03:40 AM.