Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Oct 2023 23:00:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274312] gpart restore fails with "gpart: entries '4': Invalid argument"
Message-ID:  <bug-274312-227-DMAxZ8BUfP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274312-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274312-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274312

--- Comment #4 from Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.u=
k> ---
Incidentally the 2014 discussion seems to be claiming that that the spec
doesn't give a hard lower bound on the table size. This is incorrect: the s=
pec
(UEFI version 2.9, section 5.3.1 "GPT Overview") says:

A minimum of 16,384 bytes of space must be reserved for the GPT Partition E=
ntry
Array.

If the block size is 512, the First Usable LBA must be greater than or equa=
l to
34 (allowing 1 block for the Protective MBR, 1 block for the Partition Table
Header, and 32 blocks for the GPT Partition Entry Array); if the logical bl=
ock
size is 4096, the First Useable LBA must be greater than or equal to 6
(allowing 1 block for the Protective MBR, 1 block for the GPT Header, and 4
blocks for the GPT Partition Entry Array).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274312-227-DMAxZ8BUfP>