NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-evbarm/55894: installboot overwrites primary GPT
The following reply was made to PR port-evbarm/55894; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-evbarm/55894: installboot overwrites primary GPT
Date: Fri, 25 Dec 2020 13:50:04 +0100
On Fri, Dec 25, 2020 at 12:35:00PM +0000, bsiegert%netbsd.org@localhost wrote:
> I created a GPT with an EFI partition, a root and swap partition.
How exactly did you do that?
You will need to use "gpt create -p $N" to restrict the space for the GPT
so firmware does not collide.
Sysinst sets MD_GPT_INITIAL_SIZE to 8k for this and then calcultes
$N as ((MD_GPT_INITIAL_SIZE-(2*512))/512)*GPT_PARTS_PER_SEC
where GPT_PARTS_PER_SEC is 4 (that is: four GPT entries fit in 512 bytes)
which should be 56 if my math is correct.
Martin
Home |
Main Index |
Thread Index |
Old Index