On Thursday, 7 December 2023 11:51:10 GMT I wrote: > On Wednesday, 6 December 2023 17:34:08 GMT Marco Rebhan wrote:
> > No, you do not need an XBOOTLDR partition with systemd-boot and in fact I > > have never used one, and I'm not sure why the guide advertises it so > > prominently. > > I haven't either, as I said, but this is a new venture so I went to the > official guides, wanting to Do The Right Thing. That's where the > contradiction exists. At the time I started this thread I hadn't reached the fstab creation, so I did that and now I do get a kernel in /boot, but it's just called 'linux' (I think - I dismounted and unplugged the USB disk I was transferring the output below to this machine and the NUC promptly shut itself down. It's quite a business getting it up again.) Anyway, 'make install' gives the folowing output: INSTALL /boot <--- New machine ID '49eccff7c02e4fa38053e7140fd90a5a' generated. Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy Found container virtualization none. Using XBOOTLDR partition at /boot as $BOOT_ROOT. Using entry token: gentoo kernel version (6.1.57-gentoo) set via command line. kernel image file (/usr/src/linux-6.1.57-gentoo/arch/x86/boot/bzImage) set via command line. /boot/gentoo exists, using layout=bls. Using ENTRY_DIR=/boot/gentoo/6.1.57-gentoo mkdir -p /boot/gentoo/6.1.57-gentoo Using plugins: /usr/lib/kernel/install.d/00-00machineid-directory.install /usr/lib/kernel/install.d/50-depmod.install /usr/lib/kernel/install.d/90-loaderentry.install /usr/lib/kernel/install.d/90-uki-copy.install Plugin environment: LC_COLLATE=C.UTF-8 KERNEL_INSTALL_VERBOSE=1 KERNEL_INSTALL_IMAGE_TYPE=pe KERNEL_INSTALL_MACHINE_ID=49eccff7c02e4fa38053e7140fd90a5a KERNEL_INSTALL_ENTRY_TOKEN=gentoo KERNEL_INSTALL_BOOT_ROOT=/boot KERNEL_INSTALL_LAYOUT=bls KERNEL_INSTALL_INITRD_GENERATOR= KERNEL_INSTALL_UKI_GENERATOR= KERNEL_INSTALL_STAGING_AREA=/tmp/kernel-install.staging.30L75M Plugin arguments: add 6.1.57-gentoo /boot/gentoo/6.1.57-gentoo /usr/src/ linux-6.1.57-gentoo/arch/x86/boot/bzImage Successfully forked off '(sd-executor)' as PID 71429. Successfully forked off '(direxec)' as PID 71430. /usr/lib/kernel/install.d/00-00machineid-directory.install succeeded. Successfully forked off '(direxec)' as PID 71431. +depmod -a 6.1.57-gentoo <--- /usr/lib/kernel/install.d/50-depmod.install succeeded. Successfully forked off '(direxec)' as PID 71432. Creating /boot/loader/entries/gentoo-6.1.57-gentoo.conf <--- /usr/lib/kernel/install.d/90-loaderentry.install succeeded. Successfully forked off '(direxec)' as PID 71441. /usr/lib/kernel/install.d/90-uki-copy.install succeeded. (sd-executor) succeeded. Only three of those lines are in the standard white (on black background); I've marked them with pointers. The others are in grey. That's new to me. In fact, all that output from 'make install' is new. I now need to get the kernel name to include the version and the local version; then I'll be able to show a menu of options at boot time, as on my other machines. -- Regards, Peter.

