|
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.
Deleting Partitons
Create a text file called DELPART.TXT with your favorite text editor. Then
copy the next few lines of text...
a 100 int13 rax
0301
rbx
0200
f 200 l 200 0
rcx
0001
rdx
0080
p
q
...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:
Debug <Delpart.txt
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
A CS:100
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
xxxx:0110
g
q
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
|