Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Instructions for Debugging a Hard Drive by bgauntt
Posted: 12 Feb 02

Instructions for Debugging a Hard Drive

Note:  If you are debugging a drive due to a possible virus DO NOT SKIP ANY STEPS to insure virus is completely removed from the drive.

1)    Boot to a Dos Bootable disk.  
2)    Type :  DEBUG[Enter]

(Type the following EXACTLY as you see it.  You only type what begins with a letter.)

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

3)    Type: FDISK[Enter]

a.    Do you wish to enable Large Disk Support : YES
b.    Chose Option 1:  Create Primary/Extended Partition or Logical Dos Drive
c.    Chose Option 1: Create Primary DOS Partition
d.    Use Maximum size allowed. (Yes)

4)    REBOOT

5)    Type: FDISK /MBR[Enter]
This takes you right back to an A:>

6)    REBOOT

9)    Type: FORMAT C:[Enter]  (When you see the warning that data will be erased, hit yes, all data is already gone.)

10)     Reinstall OS

Back to PC hardware - General discussion FAQ Index
Back to PC hardware - General discussion Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close