Go Back   PCMech Forums > Help & Discussion > Computer Hardware

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-15-2003, 11:03 AM   #1
Member (9 bit)
 
Join Date: May 2001
Location: Florida
Posts: 484
formatting results in: unable to write to boot. format terminated.

Hey guys,

Trying to reformat a drive that was infected with a virus, apparently one affecting the MBR. I've run FDISK /MBR on this 5GB hard drive previously running Win98. When i try formatting the drive i get:

Formatting 95.79M
Formatting complete.
Unable to write to boot.
Format Terminated.

Haven't seen this before and though and wanted some opinions on what i'm missing.

Thanks
scooby is offline   Reply With Quote
Old 09-15-2003, 11:23 AM   #2
Member (5 bit)
 
Join Date: Sep 2003
Posts: 20
I would suggest fdisking te drive deleting the partitions, recreating the partitions and then formatting the drive.

If that dosent work you have have to run a debug script and clear everting

hers a good bebug script to clera MBR

Boot with a DOS floppy that has "debug" on it; run "debug". At the '-' prompt, "block-fill" a 512-byte chunk of memory with zeroes:

f 9000:0 200 0

Start assembly mode with the 'a' command, and enter the following code:

mov dx,9000
mov es,dx
xor bx,bx
mov cx,0001
mov dx,0080
mov ax,0301
int 13
int 20

Press to exit assembly mode, take a deep breath - and press "g" to execute, then "q" to quit "debug". Your HD is now in a virgin state, and ready for partitioning and installation.
sinergy is offline   Reply With Quote
Old 09-15-2003, 11:26 AM   #3
Member (9 bit)
 
Join Date: May 2001
Location: Florida
Posts: 484
Thanks sinergy i will try your debug code.

I had fdisked the drive, deleted partitions, recreated partitions and when i tried to format the drive is when i got the message i posted.
scooby is offline   Reply With Quote
Old 09-15-2003, 11:48 AM   #4
Member (9 bit)
 
Join Date: May 2001
Location: Florida
Posts: 484
worked beautifully thanks!

What can you recommend to learn some of these debugging techniques?

Thanks again
scooby is offline   Reply With Quote
Old 09-15-2003, 01:01 PM   #5
Member (5 bit)
 
Join Date: Sep 2003
Posts: 20
heres a really good site with the most used debug routine


http://www.computerhope.com/rdebug.htm


but id do a internet search for more indepth info
sinergy is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:34 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2