備份 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 分割區...”

我真的很想恢復磁碟中存在的一些資料。您有什麼建議或技巧可以指出嗎?

謝謝。

相關內容