Attempting to set up Systemd-boot configuration.
Attempting to set up Systemd-boot configuration.
I'm attempting to set up Arch Linux using Systemd-boot with XBOOTLDR. This involves a /ESP folder as the EFI partition and a /boot folder as the XBOOTLDR partition, where the kernel is installed. During creation, I selected Linux extended boot in cfdisk. XBOOTLDR refers to Linux extended boot, and the GUID matches ArchWiki listings. The partition was formatted as ext4, not FAT32. I ran bootctl with the path to ESP and installed the kernel. I updated the ESP/loader.conf, setting a timeout and console mode. The Wiki mentions two locations systemd checks for boot entries: ESP/loader/entries/*.conf and /boot/loader/entries/*.conf, especially when using XBOOTLDR. I created the arch.conf file in /boot/ but couldn't find it after reboot attempts. After several troubleshooting steps—copying and deleting the file, using the correct UUID—I still couldn't locate it. Now, "bootctl list" shows the kernel and config but not the boot entry.
According to the systemd documentation, your ESP should be mounted at /efi. The XBOOTLDR must use a filesystem that firmware can read, such as VFAT. The ext4 systemd-boot format isn't compatible with it. Refer to the relevant links for more details.