Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

Hardware • How to fix "Alternate GPT is invalid, using primary GPT"?

$
0
0
In the kernel logs provided by the dmesg command it says "Alternate GPT is invalid, using primary GPT.".
If I verify the /dev/nvme0n1 disk with the gdisk command I get:

Code:

Problem: The secondary header's self-pointer indicates that it doesn't resideat the end of the disk. If you've added a disk to a RAID array, use the 'e'option on the experts' menu to adjust the secondary header's and partitiontable's locations.Problem: main GPT header's current LBA pointer (1) doesn'tmatch the backup GPT header's alternate LBA pointer(500118191).Problem: main GPT header's backup LBA pointer (500118191) doesn'tmatch the backup GPT header's current LBA pointer (1).The 'e' option on the experts' menu may fix this problem.Problem: The backup partition table overlaps the backup header.Using 'e' on the experts' menu may fix this problem.Identified 4 problems!
Is it sufficient to execute the "e" command from the expert menu?
Expert menu commands

Code:

aset attributesbbyte-swap a partition's namecchange partition GUIDddisplay the sector alignment valueerelocate backup data structures to the end of the diskfrandomize disk and partition unique GUIDsgchange disk GUIDhrecompute CHS values in protective/hybrid MBRishow detailed information on a partitionjmove the main partition tablelset the sector alignment valuemreturn to main menuncreate a new protective MBRoprint protective MBR datapprint the partition tableqquit without saving changesrrecovery and transformation options (experts only)sresize partition tablettranspose two partition table entriesureplicate partition table on new devicevverify diskwwrite table to disk and exitzzap (destroy) GPT data structures and exit?print this menu

Statistics: Posted by Xflash2006 — 2024-02-14 21:41 — Replies 0 — Views 65



Viewing all articles
Browse latest Browse all 3260

Trending Articles