How to Recover DBR with Programming
You can recover the DBR of the disk volume up to 100 percent by using some tricky approach and logical calculations. As we discussed about logical approaches of file systems in the chapter, “Logical Approach to Disks and OS”, earlier in this book, the every information in DBR is written within being some limit or rule.
Every parameter written in the DBR has some Specific meaning and written so by following some specific rule and reason. That is why the information of DBR if lost, can be Re-linked or rewritten manually if you follow these rule and use the tricky mind to find out what and how to cure.
For example, the table given next describes the number of sectors per cluster for different file systems, by using which you can find the number of sectors per cluster for your disk. Let us assume that you had a volume of approximately 10GB in your disk and the operating system which you were using was Windows 98.
Now, if any how the “Sectors per cluster” information of the DBR of the volume is corrupted. Let us try to find out which file system and how many sectors per clusters you had in the volume of your disk.
As the operating system in you disk was windows 98, which supports only FAT file system, therefore the File system of your Volume was FAT. Now let us think about the size of the volume, which was approximately 10GB.
We know that the 10GB Partition is not Supported by FAT16 (See the table given next) therefore the File system of the volume should be FAT32.
Now let us try to calculate the number of sectors per cluster for the volume. As we see in the table that the partition within the range of 8GB to 16GB has one cluster of 8 sectors.
Hard Disk Drive (HDD) |
Partition Size |
FAT16 Cluster Size |
FAT32 Cluster Size |
NTFS Cluster Size |
7 MB–16 MB |
2 KiB |
Not supported |
512 Bytes |
17 MB–32 MB |
512 Bytes |
Not supported |
512 Bytes |
33 MB–64 MB |
1 KiB |
512 Bytes |
512 Bytes |
65 MB–128 MB |
2 KiB |
1 KiB |
512 Bytes |
129 MB–256 MB |
4 KiB |
2 KiB |
512 Bytes |
257 MB–512 MB |
8 KiB |
4 KiB |
512 Bytes |
513 MB–1,024 MB |
16 KiB |
4 KiB |
1 KiB |
1,025 MB–2 GB |
32 KiB |
4 KiB |
2 KiB |
2 GB–4 GB |
64 KiB |
4 KiB |
4 KiB |
4 GB–8 GB |
Not supported |
4 KiB |
4 KiB |
8 GB–16 GB |
Not supported |
8 KiB |
4 KiB |
16 GB–32 GB |
Not supported |
16 KiB |
4 KiB |
32 GB–2 Terabytes |
Not supported |
32 KiB |
4 KiB |
Therefore, now we can conclude that in the volume, The File system was FAT32 with 8 sectors per cluster. Similarly we can assemble the other information of the DBR using other logical approaches described in the previous chapters of this book.
|