Technical Support for Inspiron 1300/B130

Support Options

Support Home Page

Dell Solution Network: Knowledge Base Article

How to Use the MS-DOS® Debug Script to Remove a DOS or Non-DOS Partition

Journal ID:   10040GMTP4
Article ID:  140802
Date Published:  2/5/2008
Last Revised:  9/26/2009

Table of Contents
 Download a Boot Disk Containing Debug
 Run the Debug Script
 Additional Information
» Download a Boot Disk Containing Debug

In order to completely erase partitions on your hard drive, you must have a bootable disk that contains the debug command.

  1. Click the file name below to download a program that creates a boot diskette that will contain the debug command:
  2. CDENAB.EXE (EXE)
    After clicking the file above, the File Download window appears. The window prompts you to choose Run this program from its current location or Save this program to disk.

  3. Click Save this program to disk, and then click OK.
    The Save As window appears.

  4. Click to specify a download location for the file, and then click Save. Common locations for Internet downloads include: My Documents, Downloads, and the Desktop.

  5. When the file download is complete, find the file from its download location and double-click the icon to begin creating a boot disk.
    The Bootable DOS Diskette for CD-ROM Support window appears.

  6. Click the Setup button.
    A black window appears and advises that you obtain a blank, formatted disk.

  7. Press <Enter>.

  8. Place a floppy disk into the floppy disk drive, and then press <Enter>.

  9. When you are advised that the disk in the floppy disk drive is about to be overwritten, press <Y>, and then press <Enter>.

  10. Press <Enter>.
    This command prompt window exits and the Bootable DOS Diskette for CD-ROM Support program closes.

Back to Top

» Run the Debug Script

The following debug script removes DOS and non-DOS partitions on the hard drive. This debug script allows you to convert a drive from an incompatible partition structure to one that will work with FDISK.EXE such as converting Linux partitions to MS-DOS partitions.

  1. Insert the boot disk that contains the Debug command into the floppy disk drive.

  2. Restart the computer.
    A black screen with the Microsoft Windows® 95 Startup Menu appears.

  3. Press <5>, and then press <Enter>.
    The boot process concludes with an A:\> prompt followed by a blinking cursor (underline).

  4. From the A:\> prompt, type the following commands, and then press <Enter> after each command:

    Note:  
      Type the bolded text only (the debug prompt is a dash). You may receive an error if you type anything other than the bold text. The non-bolded text represents the system response that will appear after typing each command and pressing the <Enter> key.  

  5. debug
    -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

    Note:  
      Type 80 for the primary hard drive - HD 0, or type 81 for the secondary hard drive - HD 1.
    In most cases, the primary hard drive is what must be erased to resolve the issue.
     

    xxxx:010C INT 13
    xxxx:010E INT 20
    xxxx:0110 (Leave this line blank. Press <Enter> to continue.)
    -G

  6. When the message Program terminated normally appears, press the power button to turn off your computer.

  7. On the ensuing startup, the hard drive must be partitioned and formatted. Refer to the Additional Information section below for further instructions.


Back to Top

» Additional Information


Back to Top

Toolbar

Printable Version
Contact Us

Revise Search
Start a New Search
Look up a journal

Was this Page Helpful?
Provide Feedback

Laptops | Desktops | Business Laptops | Business Desktops | Workstations | Servers | Storage | Services | Monitors | Printers | LCD TVs | Electronics
© 2010 Dell | About Dell | Terms of Sale | Unresolved Issues | Privacy | About Our Ads | Dell Recycling | Contact | Site Map | Feedback
AT | AU | BE | BR | CA | CH | CL | CN | CO | DE | DK | ES | FR | HK | IE | IN | IT | JP | KR | ME | MX | MY | NL | NO | PA | PR | RU | SE | SG | UK | VE | ALL

snWEB3