From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5003158013 for ; Wed, 6 Dec 2023 15:32:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01DC92BC04B; Wed, 6 Dec 2023 15:32:09 +0000 (UTC) Received: from smarthost01b.sbp.mail.zen.net.uk (smarthost01b.sbp.mail.zen.net.uk [212.23.1.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D4472BC019 for ; Wed, 6 Dec 2023 15:32:08 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01b.sbp.mail.zen.net.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rAtsd-007NPT-5C for gentoo-user@lists.gentoo.org; Wed, 06 Dec 2023 15:32:07 +0000 From: Peter Humphreey To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Boot and EFI partitions Date: Wed, 06 Dec 2023 15:32:06 +0000 Message-ID: <10383704.nUPlyArG6x@wstn> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01b-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: eed74be9-ecef-4cbf-aa24-59e01b8be8b1 X-Archives-Hash: 73b47a11cbb87b8292b72687be762b3e Hello list, I have a new toy to play with - an Intel NUC with i5 (16 threads in all) and 1TB superfast M2 SSD. I grew tired of the noise and thirst of my Amari machine and I wanted something quiet and frugal, so now I'm building a new Gentoo system on it. I want to use bootctl from systemd-boot, as usual, to give me a boot menu without that grub monster. The installation guides on the Web have been developed since I last had a new machine, and they attempt to show how boot and EFI partitions should be laid out, but there's a problem. In particular, the Gentoo wiki says I must have an EFI partition of type esp [1] - not a directory in, say, /boot, as my other machines have. All right so far, but the Gentoo systemd-boot page says I need a /boot partition as well, of type XBOOTLDR [2]. So now I seem to need /efi on /dev/nvme0n1p1 and /boot on /dev/nvme0n1p2, both with FAT32 file systems. In fact those two guides contradict each other. One says I must have a boot partition, the other that I don't need one on a modern system. Quandary: if I believe both guides I finish up with both partitions, and then 'bootctl install' is happy, but the usual make && make modules-install && make install sequence ends up with no kernel in either partition. I'm getting sawdust under my fingernails. Has anyone some advice for me? 1. https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/ Disks#What_is_the_EFI_System_Partition_.28ESP.29.3F 2. https://wiki.gentoo.org/wiki/Systemd/systemd-boot#Pre_Deployment_Considerations -- Regards, Peter.