From 68960257f35d57bab398c2b9f6f08c56a8d2b3bc Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 7 Aug 2022 03:22:29 +0000 Subject: [PATCH] Modern EFI systems tend to want larger EFI Sys partitions, they play games in there, in particular during BIOS upgrade sequences. ok krw kettenis dv --- distrib/arm64/ramdisk/install.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/distrib/arm64/ramdisk/install.md b/distrib/arm64/ramdisk/install.md index 7e2fa08990d..cd160857e92 100644 --- a/distrib/arm64/ramdisk/install.md +++ b/distrib/arm64/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.31 2022/03/31 16:16:09 deraadt Exp $ +# $OpenBSD: install.md,v 1.32 2022/08/07 03:22:29 deraadt Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -91,6 +91,10 @@ md_prep_fdisk() { local bootsectorsize="32768" local bootfstype="msdos" + case $(sysctl -n machdep.compatible) in + openbsd,acpi) bootsectorsize=532480;; + esac + while :; do _d=whole if disk_has $_disk gpt; then -- 2.20.1