From: deraadt Date: Mon, 14 Nov 2022 14:04:25 +0000 (+0000) Subject: make the EFI partition quite large, like on arm64 x13s, because newer x86 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5d8425dac81e68462c3d05d296d576d868316232;p=openbsd make the EFI partition quite large, like on arm64 x13s, because newer x86 ((Lenovo in particular) firmware updating methods do the same -- placing a payload in there, so a small space won't do. ok kettenis --- diff --git a/distrib/amd64/common/install.md b/distrib/amd64/common/install.md index d05dbb1a1cc..877edb2607d 100644 --- a/distrib/amd64/common/install.md +++ b/distrib/amd64/common/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.56 2021/09/26 12:39:25 krw Exp $ +# $OpenBSD: install.md,v 1.57 2022/11/14 14:04:25 deraadt Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -81,7 +81,7 @@ md_prep_fdisk() { fi echo -n "Setting OpenBSD GPT partition to whole $_disk..." - fdisk -gy -b 960 $_disk >/dev/null + fdisk -gy -b 532480 $_disk >/dev/null echo "done." return ;; [eE]*) @@ -91,7 +91,7 @@ md_prep_fdisk() { You will now create two GPT partitions. The first must have an id of 'EF' and be large enough to contain the OpenBSD boot programs, -at least 960 blocks. The second must have an id of 'A6' and will +at least 532480 blocks. The second must have an id of 'A6' and will contain your OpenBSD data. Neither may overlap other partitions. Inside the fdisk command, the 'manual' command describes the fdisk commands in detail.