This is to show that I caught the hint from Dian's better half, Greg,
in last month's issue. But let me make it clear that I did not put any of this
to the test.
I just don't have any hard drives to play with. The instructions were in my
old DOS notes. They look okay, but as always, use totally at your own risk.
Create a text file called DELPART.TXT with your favorite text editor. Then
copy the next few lines of text...
f 200 l 200 0
...into the file and copy it to a DOS boot floppy along with a copy of DEBUG.EXE.
To run this debug macro, at the command prompt, type:
This will remove all partitions on the disk. Please, use with caution!
Clearing Partition Info
This debug routine is used to erase all partition information on the hard
disk drive when other methods won't do.
FDISK does not update the entire partition sector after the first time when
you repartition your disk. This debug script will clear the partition sector
(cyl 0, head 0, sector 1) of the first hard drive, which will force FDISK to
completely start over.
At a command prompt, start Debug. When you're at the minus prompt (-),
enter the following lines and press Enter after each:
F 200 L1000 0
xxxx:0100 MOV AX,301
xxxx:0103 MOV BX,200
xxxx:0106 MOV CX,1
xxxx:0109 MOV DX,80
xxx:010C INT 13
xxxx:010E INT 20
Once done, reboot and enjoy your new squeaky wiped drive.<wink>
For more information on how to do more than one drive, a secondary drive or
what have you, see the Microsoft Knowledge Base article: Removing
Non-DOS Partitions with Debug