Thats me, back again
Debug Script to Erase Hard-Disk Partition Table:

make sure you have the debug file
on your bootable disk.
Type debug & press Enter from the prompt

Debug
Prompts
Enter Debug
Commands
Comments

-
A 100
Assemble from CS:0100.

nnnn:0100
INT 13
Call interrupt 13.

nnnn:0102
press the
Enter Key
(nnnn in the
segment address).

-
RAX
Replace AX register.

AX 0000

:
0301
Write on sector.

-
RBX
Replace BX register.

BX 0000

:
0200
Start from ES:200.

-
F 200 L 200 0
We want to write zeros.

-
RCX
Replace CX register.

CX 0000

:
0001
Cylinder, 0, sector 1.

-
RDX
Replace DX register.

DX 0000

:
0080
First physical hard disk,
head 0.
(Substitute 0081 for this
entry if you are clearing the
table on the second physical
hard disk, 0082 if you are
clearing the third physical
hard disk, and so forth).

-
P
Proceed (Debug will display
several lines of information).

-
Q
Quit Debug.

Top of page

This script completely clears the partition table on your hard
disk,preparing the hard disk for repartitioning using the
MS-DOS Fdisk program.
(When you run Fdisk for the first time after using this
procedure and before reinstalling MS-DOS, the message
"No partitions defined"
should be displayed if the partition deletion procedure was
successful.)

Non-DOS partitions on your hard disk are also erased if you
perform a low-level format.
Consult your hardware manufacturer for specific instructions
on performing a low-level format on your hard disk.

WARNING: Performing a low-level format will completely
erase all data on your hard disk, including all defined partitions.

There is a util on GATEWAYS web site that will write 0`s
to the drive, its called scan.exe.
Its EZ to use & takes a little longer to run.
No commands to type.

Top of page