PDA

View Full Version : power outtage



Hans
08-18-2007, 10:43 PM
After a power outage while my printer/file server was running, I initially was unable to start the OS (win XP Pro), because I got a BSOD stating it could not mount the volume.
I fixed that by using the recovery console and writing a new MBR to the hdd. Don't ask me how the MBR could be damaged from a power outage, because it makes no sense...

Next, I ran a scandisk and it told me I had 1 bad sector. so I fixed that by running spinrite on the hdd. Great program btw, and there's nothing wrong with the hdd.

Next, stupid NTFS still insists there's a bad sector on the hdd. This because it keeps track of all bad sectors in a special file called $BadClus and remaps them automatically and totally transparent to a user.

So, does anybody know how to reset the bad sector count in $BadClus? I know the hdd does not have any real bad sectors on it.
I tried everything I can think off, nothing seems to be able to fix this issue...

hemi_69
08-19-2007, 02:21 AM
Might Help

http://www.djkaty.com/drupal/ntfsbadsectors

Hans
08-19-2007, 02:34 PM
Thanks, that helped me find a very useful program called dfsee.
http://www.dfsee.com/dfsee/dfsntfs.txt

I downloaded the bootable cdrom image and typed in nobads in the command line, and all was fixed!

I can't believe I never knew of this program before, it can even clone disks.