iisbob
05-13-2002, 09:20 PM
Recently, while reminicing with a collegue about the " good ol' 16 bit DOS " days, we got on the subject of various commands and their ( dis-)continued use.
Among one of these o so useful but forgotten commands was Debug.exe-used to use it a lot when programming, among other various tools.
He adroitly reminded me of just how useful it still is when he told me of his difficulty lately in removing a very stubborn Linux partition. Seems that all the third party tools he'd been using just seem to incomplet4ly do the job-or just caused some various sorts of problems.
Even Ranish (http://www.ranish.com/part) seemed to not be able to help; neither Partiton Magic nor good old FDISK seemed to do him any good either.
He said that being almost at his wits end he recalled using Debug.exe to wipe a drive many years ago, and rooted around until he found his old paperwork on the proper usage of it; then proceeded to use it-worked like a charm!
He says it wiped that drive like a blizzard in June! http://www.PCGuide.com/ubb/tongue.gif
This of course awoke my old DOS memories, including that o so obscure tool usage, so i dug up a copy of one of my old boot disks, and proceeded to experiment with it's parameters until i could nail down just how it used to work; the following is the syntax needed in order to do a COMPLETE wipe of your hard drive regardless of the type of file system/partition you use.
WARNING! This will wipe the drive completely!!
>debug { enter }
{ type only the cmds in bold and hit enter after each }
xxxxxx F 200 L1000 0
xxxxxx A CS:100
xxxxxx MOV AX, 301
xxxxxx MOV BX, 200
xxxxxx MOV CX, 1
xxxxxx MOV DX, 80 { use 80 for primary drive, 81 for a secondary drive }
xxxxxx INT 13
xxxxxx INT 20
xxxxxx { leave this line blank and hit enter }
>G [ then hit enter, this will execute the script }
Next just reboot and run FDISK/FORMAT as you normally would to create a parttion & file system.
This completely destoys the master boot record sector and allows you to reinstall any you choose.
for some good links on how Debug works you can try PCGuide (http://www.pcguide.com) and also Computer hope (http://www.computerhope.com)
Enjoy! http://www.PCGuide.com/ubb/biggrin.gif
PS
If you need to ge the Debug file, it can found on most 95/98 CD's-or you can go here, { Tech_95 debug.exe (http://www.techadvice.com/W95/S/start-up_disk_w95.htm)
------------------
iisbob
Hike naked!-it gives color to your cheeks!!
Among one of these o so useful but forgotten commands was Debug.exe-used to use it a lot when programming, among other various tools.
He adroitly reminded me of just how useful it still is when he told me of his difficulty lately in removing a very stubborn Linux partition. Seems that all the third party tools he'd been using just seem to incomplet4ly do the job-or just caused some various sorts of problems.
Even Ranish (http://www.ranish.com/part) seemed to not be able to help; neither Partiton Magic nor good old FDISK seemed to do him any good either.
He said that being almost at his wits end he recalled using Debug.exe to wipe a drive many years ago, and rooted around until he found his old paperwork on the proper usage of it; then proceeded to use it-worked like a charm!
He says it wiped that drive like a blizzard in June! http://www.PCGuide.com/ubb/tongue.gif
This of course awoke my old DOS memories, including that o so obscure tool usage, so i dug up a copy of one of my old boot disks, and proceeded to experiment with it's parameters until i could nail down just how it used to work; the following is the syntax needed in order to do a COMPLETE wipe of your hard drive regardless of the type of file system/partition you use.
WARNING! This will wipe the drive completely!!
>debug { enter }
{ type only the cmds in bold and hit enter after each }
xxxxxx F 200 L1000 0
xxxxxx A CS:100
xxxxxx MOV AX, 301
xxxxxx MOV BX, 200
xxxxxx MOV CX, 1
xxxxxx MOV DX, 80 { use 80 for primary drive, 81 for a secondary drive }
xxxxxx INT 13
xxxxxx INT 20
xxxxxx { leave this line blank and hit enter }
>G [ then hit enter, this will execute the script }
Next just reboot and run FDISK/FORMAT as you normally would to create a parttion & file system.
This completely destoys the master boot record sector and allows you to reinstall any you choose.
for some good links on how Debug works you can try PCGuide (http://www.pcguide.com) and also Computer hope (http://www.computerhope.com)
Enjoy! http://www.PCGuide.com/ubb/biggrin.gif
PS
If you need to ge the Debug file, it can found on most 95/98 CD's-or you can go here, { Tech_95 debug.exe (http://www.techadvice.com/W95/S/start-up_disk_w95.htm)
------------------
iisbob
Hike naked!-it gives color to your cheeks!!