How to repair hard drive partition (detailed illustrated tutorial)

52 2021-07-28 00:36

We often use the computer, due to illegal operations and virus attack will lead to the system can not boot, drive loss, in fact, it is possible that the partition table damage, encountered this situation, many friends have chosen to re-partition format disk to repair, in fact, this "repair" is not what repair, because the previous This is the reason why many friends when hardware workers will only install the system. It is true that partitioning a system is often the easiest and most general way to install it, but if we have a lot of important data on a disk, will we still do it? Today we will talk about the partition table of the hard drive to see if we have the best and effective way to solve the problems we encountered above.

  In fact, the partition table area is the location of the 0 column surface 0 head 1 sector in the disk, is a 64-byte size "database" the database records, we partition some of the starting information, it is clear that his importance is beyond doubt, you think about the "disk" If the "disk" is gone, does the data in the disk still exist? You can see the importance of the partition table. Today we come together to explore the mystery.

  We use Norton's diskedit to open a hard drive partition table to get a glimpse of its appearance.

  A brief description of the use of this software, although the English language, but not difficult at all. This is a pure DOS software if you also want to use, you can click here to download, put it into your boot disk to DOS below to run it.

  The interface is to the effect. You are working in a read-only mode, if you want to change something, you have to go to tools and remove the read-only property. Here we press any key to skip it. Then look below. Press ALT+O to select the disk you want to edit to view.

  Here are a few things to keep in mind. Make sure to select your hard drive on the left, and your physical disk on the right. As shown in the picture

  The partition table is usually located on sector 0 of the hard drive. To determine if it is a partition table, look at the two immediately following it and see if it is "55AA", if it is, then it is a partition table. As shown in the figure, in fact, this is the partition table, we said the partition table is only 64 bytes, so only 80 to 55AA this section for our partition table, we want to explain is this part.

  Well, now that we know the partition table we will look at the common partition table failure it. The information in this table is expressed in terms of 16 processes, and there is a certain amount of rote memorization of the form.

  Let's look at the first identifier 80. This is an active partition identifier, some books are called active partition, some are called primary DOS partition some are called boot partition general conditions (this case at least 99%, your system in the C drive? In which then belongs to this example), if this logo is tampered with. I believe your computer must not boot, this identifier is fixed, if your hard drive exists in the system, this is certain to exist. We deliberately change it to its 00 to try, what is the failure. As we said before, to modify the partition table, you have to remove the read-only attribute. ALT+T means open tools, select N, remove the fork in front of Read only with a space, and press ALT+S to save. Then you can change your partition table anywhere.

  After changing it to 00 and rebooting, here we have a normal bootable windows xp existing in the hard drive.

  After changing 80 to 00 on purpose, press ALT+O and then X to exit. Select wirite to write the improved value.

  Reboot into the system to see.

  See, now the system can not boot, enough to show that 80 is the system boot identifier, its corruption directly can not boot. But the files inside, we should still be able to find with PE, because only can not boot the system, the disk still exists, the files inside can still be copied out with PE or other tools.

  The second identifier 05/07 is the primary partition identifier in general terms. The second identifier, 05/07, is the primary partition identifier. 05 is FAT32 and 07 is NTFS. We are talking about windows.linux is not included in this. We can see from the above picture that my C which is NTFS, if it is damaged, the system will not have a "C" disk, whether you check under DOS, PE, or use the PQ partition tool to check. Or use the PQ partition tool to view it, it is not there. We do as above, remove the read-only and change 07 to 00 with PQ.

  As shown above with PQ to see the original "C" no longer exists, so the system inside naturally can not boot. It should be noted that. This does not exist is the same as no partition. So if you do not change 05/07 back, you will never be able to get your data.

  The third identifier 05/07 directly below an identifier called the extended disk identifier, how many people are there in the world? Two kinds of people men and women, so to speak, how many partitions in the hard drive? (Take windows), which is the primary partition and the extended partition. Our C is the primary partition and all of our subsequent disks exist in the extended partition (in most cases. 99%) If this identifier is corrupted, what is on our data disk other than the "C" disk, you can change your D disk, E disk, F disk unless you make a mistake.... the data never to be recovered. If one day your disk can only be found in C, no matter what you use, you can only find C, please check your extended disk identifier is wrong.

  The fourth ending 55AA ends the identifier. This character indicates that the hard drive already exists. If this character is changed. All your data will not be found. The hard drive, as seen in the PQ, seems to be a brand new hard drive without partitioning, naturally the things inside, you can never get back except to correct 55AA. Of course boot, try not to try, can not!

  Using the method above we change the 55AA to 5500. try, the process does not capture the picture, and the same as above. We use PQ to see the results.

  This chart for friends with data which is quite horrible it. Oh. Go in with PE to see, like an uninitialized disk. Data? No!

  Partition table recovery

  The above are some of the methods we commonly use to deal with partition table errors. Here a lot of friends to see once is likely to remember, but a long time to forget, what else is a good way? Here YESURE recommend a method it. If you used to use the DM partition, then it is just right that you can use this method. Which one key fool partition, or other ways to partition, I am here it is difficult to give you a guarantee. So I still recommend using DM for partitioning. Because when DM creates a partition, the partition table is backed up to sector 63 by default, so we can just copy the partition information 80-55AA from sector 63. First of all, you have to remove the read-only attribute as described above. Press PageDown to jump to sector 62, why 62, because we are talking about sector 63 above, so add the starting sector which is 62. Is not the partition table, you will not recognize now you will have to go back to the above, re-read it. Well, after removing the read-only, we jump to sector 62. This is shown in the picture.

  This is our partition backup for sector 63, and obviously, it's very similar to our sector 1, isn't it? That's it, by the way. After we remove the read-only attribute, set the cursor to the mark in AA above. Press ALT+E and then CRTL+B to select the content to be copied. ctrl+b pressed, you then press the up arrow key on the keyboard you will find that you can select, with the left arrow key, in order to select the complete, must be complete as shown below.

  After the selection, we then press ALT + E to open the editorial selection CTRL + B, this time the selection task is complete. We press CTRL + C this shortcut shortcut is familiar with it, copy. after CTRL + C press, we then press PageUP jump to the location of the 0 sector, positioning the cursor to the location of the next. Press ALT+E and select CTRL+V to paste.

  Then the recovery of the partition table is done. Since the partition table may change in the process of use, for example, reinstall the system to convert the C disk DM default partition FAT32 to NTFS, or you manually change the D disk E disk ...... to NTFS, so if any yellow font appears when overwriting the previous partition table, it means that there are changes. You have to pay attention to it. If you are experimenting with a real computer, be sure to use software like DISKGEN to back up the partition table first. Remember!

How to repair hard drive partition (detailed illustrated tutorial)