Wiping Clean the Master Boot Record

 


Get this for , use it to save money ! 


The Master Boot Record (MBR)

 See a description of the Master Boot Record structure


Removing the Master Boot Record


Warning !

This procedure presumes that your intent is to completely 
remove the Master Boot Record on a hard disk. The presumption
is that you do not intend to keep any data that may still
be on the drive.
To all intents and purposes, the following procedure turns
your hard drive into a totally virgin hard drive: as if it 
has never been partitioned and/or formatted.


Preliminary precautions

In all cases, it is best to first attempt to clean up a MBR by 
using the FDISK utility to remove all partitions.
This is done by:

 

Playing Hardball with the MBR

If it proves impossible to use FDISK to remove the 
DOS primary partition, the DOS DEBUG utility can be 
used to overwrite the MBR with zeros, effectively, 
as far as DOS is concerned turning the disk into a 
virgin disk.

One possible DEBUG script is given below. Use it with 
extreme caution, as it will definitely make the disk 
inaccessible to any operating system until the disk 
is repartitioned.
The script is best run from a boot floppy diskette made
with MS-DOS or IBM PC-DOS version 5.0 or later.

Creating a Boot floppy disk and running DEBUG

F 200 L 200 0
a 100
mov ax,301
mov bx,200
mov cx,1
mov dx,0080 (Note: use 0081, 0082, 0083 for 2nd, 3rd, 4th harddisk respectively)
int 13
int 3
(hit ENTER to enter a blank line here)
G=100
q

If the DEBUG script is unsuccessful, the manufacturer's utility 
can be used to low-level format the disk. An unsuccessful low-level 
format means that the disk must be replaced.

 


 

If you have comments or suggestions, click on the envelope to send me email   


envelope icon

 

Go to HomePage
Go to The Techno-Geek Stuff
Go to The Personal Pages

Kofi Kekessie is a Microsoft Certified Professional who lives and works
in North Carolina in the United States of America.

He may be contacted at (919) 419-6374


Copyright to various software mentioned herein are owned by the owners of the respective trademarks.

 

Copyright © 1997, 1998, Kofi Kekessie
Revised: March 24, 1998