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 (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6E8815802C for ; Wed, 18 Dec 2024 21:31:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9039BE0837; Wed, 18 Dec 2024 21:31:48 +0000 (UTC) Received: from mail.muc.de (mail.muc.de [193.149.48.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B491E07E6 for ; Wed, 18 Dec 2024 21:31:46 +0000 (UTC) Received: (qmail 27958 invoked by uid 3782); 18 Dec 2024 22:31:43 +0100 Received: from muc.de (p4fe15d31.dip0.t-ipconnect.de [79.225.93.49]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 18 Dec 2024 22:31:43 +0100 Received: (qmail 24546 invoked by uid 1000); 18 Dec 2024 21:31:42 -0000 Date: Wed, 18 Dec 2024 21:31:42 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Fun with systemd-boot Message-ID: References: <3620457.iIbC2pHGDl@cube> <2293940.iZASKD2KPV@rogueboard> 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2293940.iZASKD2KPV@rogueboard> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: 71b11b80-2df2-40ed-adde-742cb569a78f X-Archives-Hash: 5782b343560385541515948dcbf485fa Hello, Michael. Thanks for the reply. On Wed, Dec 18, 2024 at 15:58:14 +0000, Michael wrote: > On Wednesday 18 December 2024 14:30:12 GMT Peter Humphrey wrote: > > On Wednesday 18 December 2024 12:13:59 GMT Alan Mackenzie wrote: > > > I've been having fun with systemd-boot. [ .... ] > > > Could somebody perhaps suggest a better boot loader to me? I need to be > > > able to chose between several kernels at booting time, but I certainly > > > don't want something "refined" like grub - I just need what I thought > > > systemd-boot actually was before yesterday. > > That's even worse than what I was suffering until I developed my own system. > > > Thanks in advance! > > Hope that helps. > If the OP is running a systemd installation then using an ESP FAT32 formatted > partition on /efi mountpoint and a XBOOTLDR partition at /boot mountpoint > would greatly simplify things and avoid conflicts between what the systemd > bootctl expects to find and wants to do and what the user prefers: > https://wiki.gentoo.org/wiki/EFI_System_Partition#Standard_layout I'm on openRC. > On an OpenRC system without GRUB, rEFInd is a good choice, or for a totally > manual approach use the efibootmgr: > https://wiki.gentoo.org/wiki/Efibootmgr I got efibootmgr installed on one of my machines. Somebody (tm) should tell the maintainers that "File or directory not found" is an incomplete error message. It cost me around an hour till I figured out it was trying to access files on /dev/sda1 (which I don't have). Also, none of the documentation was explicit in saying that with efibootmgr, you have to go into the BIOS setup to select the kernel you want to boot. Nothing wrong with that, but if I'd know first, I wouldn't have bothered getting it working. (Sorry, it's been a strenuous evening.) rEFInd doesn't feel right, somehow. It seems to involve a graphics screen, and configuring icons in a config file. I just want want to get the system booted, with a choice of kernels at boot time, and not have all the overhead of graphics and "flexibility". I thought systemd-boot was OK, until it starting emptying my /boot partition, and booting from a partition other than the one I'd told it to. Don't we just love software which is clever? . It looks like I'm going to have to make some compromises, somewhere. It's a pity lilo isn't still going. -- Alan Mackenzie (Nuremberg, Germany).