Received: from annualcc.armor-mail.com (unknown [193.29.56.210]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 685EB221CD9 for <~alpine/users@lists.alpinelinux.org>; Tue, 11 Jul 2023 08:57:27 +0000 (UTC) Received: from localhost (sys-firewallx230tinc [10.9.8.9]) by annualcc.armor-mail.com (Postfix) with ESMTPSA id 1DEB2200F9 for <~alpine/users@lists.alpinelinux.org>; Tue, 11 Jul 2023 11:56:54 +0300 (MSK) Date: Tue, 11 Jul 2023 16:56:50 +0800 From: RSS To: ~alpine/users@lists.alpinelinux.org Subject: Re: Cannot boot 3.18 with UEFI? Message-ID: <20230711165650.2fbfa614@armor-mail.com> In-Reply-To: <910f650e-326e-5773-686a-03cd2474c482@jirutka.cz> References: <20230630174332.4b38d6d5@nixosX240> <6b9ae3e080c1c10450061f715291a76670343e13.camel@riseup.net> <20230703181206.720d6ad6@armor-mail.com> <910f650e-326e-5773-686a-03cd2474c482@jirutka.cz> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > I know I=E2=80=99m a bit later with this response, but you don=E2=80=99t = have to use=20 > Grub for UEFI. Actually, you don=E2=80=99t need any extra bootloader on U= EFI. >=20 > Linux kernel supports EFISTUB booting which allows EFI firmware to > load the kernel as an EFI executable. The best way is to build EFI > Unified Kernel Image =E2=80=93 a single EFI PE executable combining an EFI > stub loader, a kernel image (vmlinuz), the kernel command line, and > optionally an initramfs image, CPU microcode update, and a splash > image. This can be easily signed for Secure Boot. It=E2=80=99s described = on=20 > https://wiki.alpinelinux.org/wiki/UEFI_Secure_Boot. Thanks much for that pointer to this Wiki page, not sure why that did not turn up in my searches. In fact, the process is not too long or difficult or all, I just was stumped for a while near the end when # efibootmgr --disk --part 1 --create --label 'Alpine Linux' --load /Alpine/linux-lts.efi --verbose silently refused to do anything. Weird, because I rebooted into Ubuntu 20.04 and ran the exact same command, and it worked. So it looks like Alpine is a go on this machine, though I wonder if UEFI is entirely healthy.