The thought of data recovery after the problem of GPT partitioned table

Source: Internet
Author: User
Tags integer backup

The No. 0 Sector of the GPT disk retains the partition table and the "55AA" flag, but only one partition table entry is used to describe a partition with an entire disk size and a partition type of 0xEE.

Because GPT disks back up important information about disks and partitions at the end of the EFI section, if only the EFI information and partition tables in the front of the disk are compromised, copy the backup back to its original location. If a backup is not readable for some special reasons, you can manually convert the disk to an MBR disk for data recovery. The specific methods are:

Step 1 copies MBR information for a normal MBR disk and writes to the No. 0 sector of the GPT disk.

Step 2 uses the 55AA flag to search for the DBR of each partition, recording its starting sector area code and partition size. Note that GPT partitions do not strictly follow integer cylinder rules like MBR disk partitions, so when searching for DBR you cannot set information that searches for only the integer cylinder position, but you should search in each sector.

Step 3 fills the parameters of each partition into the MBR partition table. If you have more than four partitions, you can fill in four partition information at a time, export the data to another data disk, and then continue with the other partitions.

Tip: You can also use the Create Area feature to recover directly in R-studio.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.