
Graid 미니 1TB 외장 하드 드라이브에서 GPT 손상된 파티션 테이블을 복구하려고 합니다. gdisk의 보고서는 다음과 같습니다.
root@philippe-desktop:/home/philippe/thomasdisk# gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.8
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Command (? for help): ?
b back up GPT data to a file
c change a partition's name
d delete a partition
i show detailed information on a partition
l list known partition types
n add a new partition
o create a new empty GUID partition table (GPT)
p print the partition table
q quit without saving changes
r recovery and transformation options (experts only)
s sort partitions
t change a partition's type code
v verify disk
w write table to disk and exit
x extra functionality (experts only)
? print this menu
Command (? for help): v
No problems found. 262157 free sectors (128.0 MiB) available in 2
segments, the largest of which is 262151 (128.0 MiB) in size.
Command (? for help): p
Disk /dev/sdb: 1953546304 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): FE2326A4-F411-489E-B0D9-D2D9EF21A00C
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953546270
Partitions will be aligned on 8-sector boundaries
Total free space is 262157 sectors (128.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 1953284119 931.2 GiB AF00 G-RAID mini
Command (? for help):
gdisk가 손상을 자동으로 해결할 수 있고 간단히 누르기만 하면 디스크를 복구할 수 있다는 것이 내 이해입니다 . 그러나 일반적으로 (확인) 옵션이 복구 옵션을 제안해야 하므로 w
잘 모르겠습니다 .v
무사히 가서 누를 수 있을까요 w
? 난 이미 그랬어sgdisk -b backup.gpt /dev/sdb
ps: 이 질문이 주제에서 벗어난 경우 올바른 웹사이트로 리디렉션해 주세요.
답변1
위의 출력을 몇 분 동안 읽으면 gdisk
무엇을 해야 할지 알려주는 것을 알게 될 것입니다(문제 발견: invalid main GPT header, but valid backup;
, 당신을 위해 조치를 취했습니다: regenerating main header from backup!
. 또한 권장 사항을 제시합니다: disk verification and recovery are STRONGLY recommended.
-- 아마도 권장 사항을 따라야 할 것입니다). .
확인 결과 어떤 문제도 반환되지 않았다는 사실을 토대로 파티션 레이아웃을 작성해도 괜찮을 것입니다. gdisk
재생성된 GPT 데이터를 사용 및 작성한다는 것이 저의 이해입니다.
당신이되고 싶다면명백한작업에서 복구 메뉴에는 특별히 호출할 수 있는 백업 GPT 헤더(기본 GPT 헤더 재구축/교체)를 사용하는 옵션이 있으며 이는 수행해야 할 올바른 작업인 것처럼 보입니다(표시된 GPT 레이아웃 제공) 위의 내용은 정상으로 보입니다. 그렇지 않으면 파티션 레이아웃을 수동으로 다시 작성해야 할 수도 있습니다.