If you are not able to delete the partation with the help of fdisk you can delte the partation with the help of debug command given below
Using debug to update entire partition secto
Select the Command Prompt Only option of the Windows 95/98 Startup disk, the Minimal Boot option of the Windows Me Startup disk, or the DOS prompt of the recovery CD-ROM.
At the prompt, type debug. If the prompt does not change to a minus sign, then type c:\windows\command\debug.exe
Type each line of the debug script as follows (pressing ENTER after each line)
NOTE: Letters in the debug script are not case-sensitive
Promp
Type the following
- f 200 L200
- A 10
XXXX:0100 MOV AX,30
XXXX:0103 MOV BX,20
XXXX:0106 MOV CX,
XXXX:0109 MOV DX,008
XXXX:010C INT 1
XXXX:010E INT
XXXX:010F Press ENTER without typing anything in
- D 100 L
XXXX0:100 B8 01 03 BB 00 02 B9 01-00 BA 80 00 CD 13 C
Press ENTER without typing anything. (Make sure the hex values match what is shown here in the left column before proceeding. If the values do not match, type Q, press ENTER, and start over.
- G=10
-
Program terminated normall
Restart the computer, and select the Command Prompt Only option of the Windows 95/98 Startup disk, the Minimal Boot option of the Windows Me Startup disk, or the DOS prompt of the recovery CD-ROM. FDISK will now show "No Partitions Defined" and can now be used to partition the hard drive.
Partition the hard drive using the FDISK utility. You can now restart the computer and successfully run a full Format and Recovery
Technical informatio
The following is an explanation of script (all values in debug script are in Hexadecimal notation)
Scrip
Explanatio
f 200 L200
FILL Length of 512 bytes at offset 200 with value
a 10
ASSEMBLE program at offset 100 (Next 4 lines set up registers for INT13 - Function 03
mov ax,30
AH=03 INT13 function 03 - Write Disk Sectors AL=01 specifies how many sectors to write (1
mov bx,20
BH=02 BL=00 points to buffer area at offset 20
mov cx,
CH=00 specifies cylinder 0 for INT13 function 03 CL=01 specifies sector 1 (first sector on drive
mov dx,008
DH=00 specifies head 0 (first head on drive) DL=80 specifies physical fixed disk drive 1(81=2nd drive, 82=3rd drive, 83=4th drive
int 1
call INT13 (BIOS Fixed Disk Device Service Routine
int
return to DEBUG (after assembling program
d 100 L
Produces hex dump to verify that all values have been entered correctly
g=10
GO - run program stored at offset 10
QUITs DEBUG back to DOS promp