You are currently offline, waiting for your internet to reconnect

Dskprobe.exe May Damage FAT32 Boot Sector

This article was previously published under Q246146
SYMPTOMS
Windows 2000 supports the FAT, FAT32, and NTFS file systems. If you use any version of the the Dskprobe.exe utility except the version that is included on the Windows 2000 CD-ROM or in the Microsoft Windows 2000 Resource Kit to view and then save a FAT32 boot sector, the associated FAT32 partition may become unreadable. When this occurs, the Windows 2000 Chkdsk tool reports that the volume contains errors, but does not fix them. For example:
chkdsk e:
The type of the file system is FAT32.
Volume Serial Number is C408-2213

Errors found. CHKDSK cannot continue in read-only mode.

chkdsk e: /f
The type of the file system is FAT32.
Volume Serial Number is C408-2213

chkdsk e:
The type of the file system is FAT32.
Volume Serial Number is C408-2213

Errors found. CHKDSK cannot continue in read-only mode.
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
247575 Chkdsk Does Not Use Backup Boot Sector to Fix FAT32 Boot Sector
CAUSE
The Dskprobe.exe utility is not FAT32-aware and can cause FAT32 boot sector damage if the following conditions are true:
  • After reading a FAT32 boot sector, you click FAT Boot Sector on the View menu.
  • You choose to save or write the FAT32 boot sector, even if you made no changes.
This problem occurs because Dskprobe changes some static values that are FAT boot sector-specific, but are used differently on FAT32 partitions.

The following text is the output of a GoodSector.dsk and BadSector.dsk boot sector compare:
C:\>compName of first file to compare: GoodSector.dskName of second file to compare: BadSector.dskOption:Comparing GoodSector.dsk and BadSector.dsk...Compare error at OFFSET 2Bfile1 = 0file2 = 20Compare error at OFFSET 2Cfile1 = 2file2 = 20Compare error at OFFSET 2Dfile1 = 0file2 = 20Compare error at OFFSET 2Efile1 = 0file2 = 20Compare error at OFFSET 2Ffile1 = 0file2 = 20Compare error at OFFSET 30file1 = 1file2 = 20Compare error at OFFSET 31file1 = 0file2 = 20Compare error at OFFSET 32file1 = 6file2 = 20Compare error at OFFSET 33file1 = 0file2 = 20Compare error at OFFSET 34file1 = 0file2 = 2010 mismatches - ending compare				
RESOLUTION
The FAT32 file system contains a backup copy of the boot sector. You can use Dskprobe.exe to copy the backup copy over the corrupted boot sector. The primary boot sector is sector zero of the logical drive; the backup FAT32 boot sector is located at sector six of the logical drive. In Byte view, read sector six of the logical drive and without viewing it as a "FAT Boot Sector," write it over sector zero of the logical drive.

Use the following procedure to restore the backup FAT32 boot sector.

WARNING: For FAT32 partitions, do not view the boot sectors as a FAT boot sector from the View menu and then save it. Doing so corrupts it again. Instead, leave Dskprobe in the default mode of Byte view throughout the editing session.
  1. Start Dskprobe.exe.
  2. On the Drives menu, click Logical Drive, and then double-click the drive letter representing the FAT32 volume that needs to be repaired.
  3. Click to clear the Read Only check box, click Set Active, and then click OK.
  4. On the Sectors menu, click Read, change the Default Starting Sector value from 0 to 6, and leave the Number Of Sectors=1 value alone. This reads the backup FAT32 boot sector.
  5. On the Sectors menu, click Write.
  6. Verify that the active handle is still the logical drive letter of the volume being fixed, change the Starting Sector to Write Data value from 6 to zero 0, and then click Write It. Click Yes to confirm that you want to overwrite sector 0 on the drive.
  7. Quit the Dskprobe tool, and then run Chkdsk against the repaired volume:
    chkdsk logical_drive_letter:
    Use the /f switch if the drive requires additional fixing.
When you use Dskprobe on FAT32 volumes, do not view the boot sectors as a FAT boot sector from the View menu and then save it. Instead, leave Dskprobe.exe in Byte mode when you are viewing or making changes to FAT32 boot sectors.
MBS unrecognized corrupted
Properties

Article ID: 246146 - Last Review: 03/02/2007 00:39:44 - Revision: 3.2

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • kbenv kbprb KB246146
Feedback