You are not logged in.

#1 2022-05-19 17:40:33

SupKurtJ
Member
Registered: 2015-07-18
Posts: 36

Systemd-boot xbootldr does not work properly

Hello,

I'm trying the systemd boot loader.

But when I start the computer, systemd boot see the entrie "ESP Arch Linux" (this entrie is on the /efi partition), but not the entrie on the xbootdr partition call Arch Linux.

I've installed it following the wiki :

bootctl --esp-path=/efi --boot-path=/boot install

And all partition /efi and /boot are formated in FAT32.

And the type of /boot partition is set to bc13c2ff-59e6-4262-a352-b275fd6f7172 (ea00 XBOOTLDR partition).

My configuration :

nvme0n1
├─nvme0n1p1       /efi
├─nvme0n1p2       /boot
find /efi
/efi/EFI
/efi/EFI/arch_netboot
/efi/EFI/arch_netboot/arch_netboot.efi
/efi/EFI/arch_grub
/efi/EFI/arch_grub/grubx64.efi
/efi/EFI/systemd
/efi/EFI/systemd/systemd-bootx64.efi
/efi/EFI/Boot
/efi/EFI/Boot/bootx64.efi
/efi/EFI/Linux
/efi/EFI/efifs
/efi/EFI/efifs/ext2_x64.efi
/efi/amd-ucode.img
/efi/System Volume Information
/efi/System Volume Information/AadRecoveryPasswordDelete
/efi/shellx64.efi
/efi/Linux
/efi/initramfs-linux-fallback.img
/efi/initramfs-linux.img
/efi/vmlinuz-linux
/efi/loader
/efi/loader/entries
/efi/loader/entries/arch2.conf
/efi/loader/loader.conf
/efi/loader/random-seed
find /boot
/boot
/boot/amd-ucode.img
/boot/efi
/boot/efi/Linux
/boot/initramfs-linux-fallback.img
/boot/initramfs-linux.img
/boot/vmlinuz-linux
/boot/loader
/boot/loader/entries
/boot/loader/entries/arch.conf
/boot/loader/loader.conf
/boot/loader/random-seed
bootctl status
System:
     Firmware: UEFI 2.70 (American Megatrends 5.17)
  Secure Boot: disabled (setup)
 TPM2 Support: yes
 Boot into FW: supported

Current Boot Loader:
      Product: systemd-boot 250.5-1-arch
     Features: ✓ Boot counting
               ✓ Menu timeout control
               ✓ One-shot menu timeout control
               ✓ Default entry control
               ✓ One-shot entry control
               ✓ Support for XBOOTLDR partition
               ✓ Support for passing random seed to OS
               ✓ Load drop-in drivers
               ✓ Boot loader sets ESP information
          ESP: /dev/disk/by-partuuid/487ffea2-5451-4013-9c4a-560926f119a8
         File: └─/EFI/systemd/systemd-bootx64.efi

Random Seed:
 Passed to OS: yes
 System Token: set
       Exists: yes

Available Boot Loaders on ESP:
          ESP: /efi (/dev/disk/by-partuuid/487ffea2-5451-4013-9c4a-560926f119a8)
         File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 250.5-1-arch)
         File: └─/EFI/BOOT/bootx64.efi (systemd-boot 250.5-1-arch)

Boot Loaders Listed in EFI Variables:
        Title: Linux Boot Manager
           ID: 0x0005
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/487ffea2-5451-4013-9c4a-560926f119a8
         File: └─/EFI/systemd/systemd-bootx64.efi

        Title: Arch Linux Netboot
           ID: 0x0002
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/487ffea2-5451-4013-9c4a-560926f119a8
         File: └─/EFI/ARCH_NETBOOT/ARCH_NETBOOT.EFI

        Title: Windows Boot Manager
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/487ffea2-5451-4013-9c4a-560926f119a8
         File: └─/EFI/MICROSOFT/BOOT/BOOTMGFW.EFI

Boot Loader Entries:
        $BOOT: /boot (/dev/disk/by-partuuid/ffb4222b-45be-44bd-bede-21bcec58df9a)

Default Boot Loader Entry:
        title: ESP Arch Linux
           id: arch2.conf
       source: /efi/loader/entries/arch2.conf
        linux: /vmlinuz-linux
       initrd: /amd-ucode.img
               /initramfs-linux.img
      options: loglevel=3 cryptdevice=UUID=b8e33109-5e73-4b66-a109-5bfb545035bd:cryptlvm:allow-discards
bootctl list
Boot Loader Entries:
        title: Arch Linux
           id: arch.conf
       source: /boot/loader/entries/arch.conf
        linux: /vmlinuz-linux
       initrd: /amd-ucode.img
               /initramfs-linux.img
      options: loglevel=3 cryptdevice=UUID=b8e33109-5e73-4b66-a109-5bfb545035bd:cryptlvm:allow-discards >

        title: ESP Arch Linux (default)
           id: arch2.conf
       source: /efi/loader/entries/arch2.conf
        linux: /vmlinuz-linux
       initrd: /amd-ucode.img
               /initramfs-linux.img
      options: loglevel=3 cryptdevice=UUID=b8e33109-5e73-4b66-a109-5bfb545035bd:cryptlvm:allow-discards >

        title: Windows Boot Manager
           id: auto-windows
       source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f

        title: EFI Shell
           id: auto-efi-shell
       source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f

        title: Reboot Into Firmware Interface
           id: auto-reboot-to-firmware-setup
       source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
cat /boot/loader/loader.conf
timeout 5
console-mode max

cat /boot/loader/entries/arch.conf
title   Arch Linux
linux   /vmlinuz-linux
initrd  /amd-ucode.img
initrd  /initramfs-linux.img
options loglevel=3 cryptdevice=UUID=b8e33109-5e73-4b66-a109-5bfb545035bd:cryptlvm:allow-discards root=/dev/mapper/system-root rw

cat /efi/loader/loader.conf
timeout 5
console-mode max

cat /efi/loader/entries/arch2.conf
title   ESP Arch Linux
linux   /vmlinuz-linux
initrd  /amd-ucode.img
initrd  /initramfs-linux.img
options loglevel=3 cryptdevice=UUID=b8e33109-5e73-4b66-a109-5bfb545035bd:cryptlvm:allow-discards root=/dev/mapper/system-root rw

Any idea ?

Thanks smile

Offline

#2 2022-05-19 23:02:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,281

Re: Systemd-boot xbootldr does not work properly

Is fast boot disabled in your system firmware settings?

Online

#3 2022-05-20 08:53:53

SupKurtJ
Member
Registered: 2015-07-18
Posts: 36

Re: Systemd-boot xbootldr does not work properly

Scimmia wrote:

Is fast boot disabled in your system firmware settings?

Yes, It is disabled on the bios....

Offline

Board footer

Powered by FluxBB