备份 GPT 表已损坏 - 如何恢复数据

备份 GPT 表已损坏 - 如何恢复数据

冉:

sudo fdisk -l 

并得到以下输出:

The backup GPT table is corrupt, but the primary appears OK, so that will be used.
Disk /dev/sdb: 298,1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 00004786-5ED3-0000-406A-0000AF1E0000

用过的:

sgdisk -b sdb-backup.gpt /dev/sdb

之后就运行:

 sudo gdisk /dev/sdb

在此之后我选择了选项“v”并得到了这个:

Caution: The CRC for the backup partition table is invalid. This table may
be corrupt. This program will automatically create a new backup partition
table when you save your partitions.

Identified 1 problems!

这没有什么结论,无论如何,我在 w 命令后输入了 p,最后得到了这个:

OK; writing new GUID partition table (GPT) to /dev/sdb.
Unable to save backup partition table! Perhaps the 'e' option on the experts'
menu will resolve this problem.
Warning! An error was reported when writing the partition table! This error
MIGHT be harmless, or the disk might be damaged! Checking it is advisable.

由于这是旧的 MacBook 磁盘,我安装了 hfsutils 并运行:

sudo fsck.hfs /dev/sdb

仍然无法安装磁盘,我打开了 gparted 并且它花了相当长一段时间“搜索 /dev/sdb 分区...”

我真的很想恢复磁盘中的一些数据。您能给出什么建议或提示吗?

谢谢。

相关内容