Repairing partition table

  
damaged by Partition Magic

DELL C521 (160GB) pre-installed Windows Vista, the default is only one system partition (140GB) and a special backup partition (10GB). Since I first came into contact with Vista, I was ignorant, and I took it for granted to use PowerQuest PartitionMagic 8.0 for DOS to repartition the hard disk. As soon as you enter PQMagic, you will be prompted to “have an error on the hard disk. If you want to fix it”, you will press “No”; “The result is that the partition table is damaged. Even PQMagic can no longer identify the partition on the hard disk. (Error #105, there is overlap in the time zone when entering), rely on! Of course, the machine also reported that it could not find the hard disk or the operating system. (# I forgot it.) Because the hard disk contains a lot of useful information, I don’t want to reinstall the hard disk system. Ways to restore the partition table and system. Check a lot of articles, first try "fdisk /mbr", invalid (I think it should not be related to MBR); automatically repair with Windows XP/Vista system CD, invalid; Focus: Start with DiskGenius (original DiskMan, download Address everyone Baidu) "rebuild the partition table", the result of a lot of messy partitions, the total capacity of 1TB +, I am crazy.

Just as there is helplessness, I think that the partition of the PQMagic report has an overlap error. In DiskGenius, I saw an unknown partition and the special cylinder of the DELL. The cylinder/head/sector value is obviously wrong. , have been changed to the value of the last sector of the disk. There are two other books on hand (one Vista and one XP). I immediately run DiskGenius to view the partition table information, and estimate how to change the damaged partition information. I guess it is to connect the end position of the previous partition and the starting position of the next partition (just one sector difference), try it, change it, save it, and fix it. what. . solved! (The following is the partition information table docking method reference)

Partition table information For example, the three partition numbers are 0, 1, 2, and the information seen by diskgenius when it is damaged is assumed as follows (the specific data I made, But the cause of the error is the same):

0th partition start position 0 cylinder 1 head 1 sector, stop position 1558 cylinder 164 head 63 sector 1st partition start position 301 cylinder 180 head 1 fan Zone, stop position 1558 cylinder 164 head 63 sector 2nd partition start position 1055 cylinder 15 head 21 sector, stop position 1558 cylinder 164 head 63 sector

and the correct should be changed as follows :

0th partition start position 0 cylinder 1 head 1 sector, stop position 301 cylinder 179 head 63 sector 1st partition start position 301 cylinder 180 head 1 sector, stop position 1055 Cylinder 14 head 20 sector 2nd partition starting position 1055 cylinder 15 head 21 sector, stop position 1558 cylinder 164 head 63 sector

I guess at the time The principle is: each column bread contains 0 to 254 total 255 heads, each head contains 0 to 63 total 64 sectors, and the next bit of the previous partition's stop position should be the starting position of the current partition. And PartitionMagic reminds me that there is overlap between the partitions, so I changed the abort position of several partitions according to this idea.

PS: I started from the Vista CD, actually said that I found a system, repair it immediately, then restart (here actually repaired the Vista recovery menu on the hard disk, it is estimated to be with fdisk /Mbr was changed related), Vista's recovery menu appeared, went in, and saw the system that can be repaired, repaired again, restarted, Ha, this time completely restored the system, Hooray! ! !

Twists and turns, tossing more than these times before I found my system, but after all, I was successful and excited. The crappy computer hospital and DELL customer service will only re-hard drive (with the debug command).

Here is the disk file —— ace boot disk V2.1 that I started from disk to execute diskgen.exe (download address is still Baidu, 嘿..) More about reading this site http://www.45it.com/tags.php?/PQMagic/

Copyright © Windows knowledge All Rights Reserved