Clear the Partition Table

Posts worthy of archiving. Maybe your problem is already solved here.
Post Reply
a_user
Good ol' Boy
Posts: 107
Joined: Fri Mar 22, 2002 4:09 pm
Location: Elgin, Texas

There are times when Fdisk can not delete the partition table.... But a small debug script will do the job.

The following debug script can be used to clean the master partition table. After running this script, the FDISK program should be used to create partition/partitions.

1. Boot from a MS-DOS version 7.0 (Win98 or Win95) formatted floppy and run the DEBUG program.
Note - If you want large disk support (Fat32) you will need a later version of 95 or any version of 98.
2. Start debug and Enter the following commands.
Note you are entering a small assembler program.

The machine's responses are:

-F 200 L1000 0
-A CS:100
xxxx:0100 MOV AX,301<ENTER>
xxxx:0103 MOV BX,200<ENTER>
xxxx:0106 MOV CX,1<ENTER>
xxxx:0109 MOV DX,80<ENTER> <-- "80" for hd 0, "81" for hd 1
xxxx:010C INT 13<ENTER>
xxxx:010E INT 20<ENTER>
xxxx:0110 <ENTER> <---BLANK LINE - IMPORTANT!
-G
Program terminated normally


NOTE - Run at your own risk as this is non-recoverable.
Please use the Fourms for Bios Questions
and not my Email

Flashing is risky in any form!
soupy
Absentee administrator
Posts: 1086
Joined: Thu Mar 21, 2002 1:06 am
Location: Ontario, Canada
Contact:

http://www.aefdisk.com/

the program can be put on a boot disk and if you use the /delall command, it will remove all partitions and put a blank MBR.

From: Hardware Junkie
Flash your BIOS at your own risk.
Post Reply