-
-
Save hrvoj3e/7b2f8160474e5e885b606a5201213124 to your computer and use it in GitHub Desktop.
invalid main GPT header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Fri Jul 6 09:25:53 on ttys004 | |
jlee:~ jlee$ /usr/local/sbin/gdisk /dev/disk1 | |
GPT fdisk (gdisk) version 0.8.2 | |
Caution: invalid main GPT header, but valid backup; regenerating main header | |
from backup! | |
Caution! After loading partitions, the CRC doesn't check out! | |
Warning! Main partition table CRC mismatch! Loaded backup partition table | |
instead of main partition table! | |
Warning! One or more CRCs don't match. You should repair the disk! | |
Partition table scan: | |
MBR: MBR only | |
BSD: not present | |
APM: not present | |
GPT: damaged | |
Found valid MBR and corrupt GPT. Which do you want to use? (Using the | |
GPT MAY permit recovery of GPT data.) | |
1 - MBR | |
2 - GPT | |
3 - Create blank GPT | |
Your answer: 2 | |
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): i | |
Partition number (1-3): 1 | |
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System) | |
Partition unique GUID: 000006C7-1C4C-0000-FF37-0000820B0000 | |
First sector: 40 (at 20.0 KiB) | |
Last sector: 409639 (at 200.0 MiB) | |
Partition size: 409600 sectors (200.0 MiB) | |
Attribute flags: 0000000000000000 | |
Partition name: 'EFI system partition' | |
Command (? for help): i | |
Partition number (1-3): 2 | |
Partition GUID code: 48465300-0000-11AA-AA11-00306543ECAC (Apple HFS/HFS+) | |
Partition unique GUID: 5CCB59FC-3174-4C6F-BF9F-AB74051D1EC9 | |
First sector: 409640 (at 200.0 MiB) | |
Last sector: 312885287 (at 149.2 GiB) | |
Partition size: 312475648 sectors (149.0 GiB) | |
Attribute flags: 0000000000000000 | |
Partition name: 'Customer' | |
Command (? for help): i | |
Partition number (1-3): 3 | |
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data) | |
Partition unique GUID: D0BD4BE0-2A3B-4F51-9454-798988CA89E1 | |
First sector: 313147432 (at 149.3 GiB) | |
Last sector: 625142407 (at 298.1 GiB) | |
Partition size: 311994976 sectors (148.8 GiB) | |
Attribute flags: 0000000000000000 | |
Partition name: 'Untitled 2' | |
Command (? for help): w | |
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING | |
PARTITIONS!! | |
Do you want to proceed? (Y/N): y | |
OK; writing new GUID partition table (GPT). | |
Warning: The kernel may continue to use old or deleted partitions. | |
You should reboot or remove the drive. | |
The operation has completed successfully. | |
jlee:~ jlee$ /usr/local/sbin/gdisk /dev/disk1 | |
GPT fdisk (gdisk) version 0.8.2 | |
Partition table scan: | |
MBR: protective | |
BSD: not present | |
APM: not present | |
GPT: present | |
Found valid GPT with protective MBR; using GPT. | |
Command (? for help): r | |
Recovery/transformation command (? for help): q | |
jlee:~ jlee$ /usr/local/sbin/gdisk /dev/disk1 | |
GPT fdisk (gdisk) version 0.8.2 | |
Partition table scan: | |
MBR: protective | |
BSD: not present | |
APM: not present | |
GPT: present | |
Found valid GPT with protective MBR; using GPT. | |
Command (? for help): v | |
No problems found. 262157 free sectors (128.0 MiB) available in 3 | |
segments, the largest of which is 262144 (128.0 MiB) in size. | |
Command (? for help): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment