You are not logged in.

#1 2022-12-12 09:12:16

crondrift
Member
Registered: 2021-03-29
Posts: 8

System won't boot after updating systemd to v252.3-1

Hi there,

after updating to systemd v252.3-1 my system won't boot anymore. I'm using systemd-boot and I just get a black screen after choosing the default menu entry (the other ones won't work, too):

Failed to open random seed file: Media changed
Error opening root path: Invalid Parameter


My default entry (/boot/loader/entries/arch.conf) is this one:

title    Arch Linux
linux    /vmlinuz-linux
initrd    /intel-ucode.img
initrd    /initramfs-linux.img
options root=/dev/nvme0n1p2 rw net.ifnames=0 nowatchdog ibt=off vt.cur_default=6 loglevel=3

I did a rollback to v251.7-4 and its working fine.

Greetings,
crondrift

Offline

#2 2022-12-12 18:19:44

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: System won't boot after updating systemd to v252.3-1

Maybe try specifying the root by UUID?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-12-12 18:38:12

crondrift
Member
Registered: 2021-03-29
Posts: 8

Re: System won't boot after updating systemd to v252.3-1

Already tried that - and I did of course a 'bootctl update' after updating the package.

I'm not sure whether the problem is really systemd-boot related or if it's caused by another systemd component. But I have no idea, which that component could be.

Offline

#4 2022-12-13 01:19:41

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: System won't boot after updating systemd to v252.3-1

What does bootctl show? And please use [ code ] [ /code ] tags.

Edit: possibly relevant:

Last edited by cfr (2022-12-13 01:26:40)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2022-12-13 06:41:57

crondrift
Member
Registered: 2021-03-29
Posts: 8

Re: System won't boot after updating systemd to v252.3-1

bootctl

System:
     Firmware: UEFI 2.70 (Lenovo 0.4960)
  Secure Boot: disabled (setup)
 TPM2 Support: yes
 Boot into FW: supported

Current Boot Loader:
      Product: systemd-boot 251.7-4-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/fba529a3-073a-504d-8d7b-767868e8a5e0
         File: └─/EFI/systemd/systemd-bootx64.efi

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

Available Boot Loaders on ESP:
          ESP: /boot (/dev/disk/by-partuuid/fba529a3-073a-504d-8d7b-767868e8a5e0)
         File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 251.7-4-arch)
         File: └─/EFI/BOOT/BOOTX64.EFI (systemd-boot 251.7-4-arch)

Boot Loaders Listed in EFI Variables:
        Title: Linux Boot Manager
           ID: 0x0001
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/fba529a3-073a-504d-8d7b-767868e8a5e0
         File: └─/EFI/systemd/systemd-bootx64.efi

Boot Loader Entries:
        $BOOT: /boot (/dev/disk/by-partuuid/fba529a3-073a-504d-8d7b-767868e8a5e0)

Default Boot Loader Entry:
         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux
           id: 04-arch.conf
       source: /boot/loader/entries/04-arch.conf
        linux: /vmlinuz-linux
       initrd: /intel-ucode.img
               /initramfs-linux.img
      options: root=/dev/nvme0n1p2 rw net.ifnames=0 nowatchdog ibt=off vt.cur_default=6 loglevel=3

bootctl list

Boot Loader Entries:
         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux (default) (selected)
           id: 04-arch.conf
       source: /boot/loader/entries/04-arch.conf
        linux: /vmlinuz-linux
       initrd: /intel-ucode.img
               /initramfs-linux.img
      options: root=/dev/nvme0n1p2 rw net.ifnames=0 nowatchdog ibt=off vt.cur_default=6 loglevel=3

         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux LTS
           id: 03-arch-lts.conf
       source: /boot/loader/entries/03-arch-lts.conf
        linux: /vmlinuz-linux-lts
       initrd: /intel-ucode.img
               /initramfs-linux-lts.img
      options: root=/dev/nvme0n1p2 rw net.ifnames=0 nowatchdog vt.cur_default=6 loglevel=3

         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux (fallback initramfs)
           id: 02-arch-fallback.conf
       source: /boot/loader/entries/02-arch-fallback.conf
        linux: /vmlinuz-linux
       initrd: /intel-ucode.img
               /initramfs-linux-fallback.img
      options: root=/dev/nvme0n1p2 rw net.ifnames=0 nowatchdog ibt=off vt.cur_default=6 loglevel=3

         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux LTS (fallback initramfs)
           id: 01-arch-lts-fallback.conf
       source: /boot/loader/entries/01-arch-lts-fallback.conf
        linux: /vmlinuz-linux-lts
       initrd: /intel-ucode.img
               /initramfs-linux-lts-fallback.img
      options: root=/dev/nvme0n1p2 rw net.ifnames=0 nowatchdog vt.cur_default=6 loglevel=3

         type: Automatic
        title: Reboot Into Firmware Interface
           id: auto-reboot-to-firmware-setup
       source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f

lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
nvme0n1     259:0    0 476,9G  0 disk 
├─nvme0n1p1 259:1    0   500M  0 part /boot
├─nvme0n1p2 259:2    0   200G  0 part /
└─nvme0n1p3 259:3    0 276,5G  0 part /images

Offline

#6 2022-12-13 15:44:32

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: System won't boot after updating systemd to v252.3-1

Sorry, I meant the output you get with the version of systemd which doesn't boot.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2022-12-13 17:07:34

crondrift
Member
Registered: 2021-03-29
Posts: 8

Re: System won't boot after updating systemd to v252.3-1

Just tested again:

After updating the systemd package (without running 'bootctl update' afterwards), the system boots fine.

Running 'bootctl update' and rebooting again results in the error.

So the problem seems really systemd-boot related. Something in 'systemd-bootx64.efi" must have changed and my Lenovo E15 Gen 2 doesn't like that.

Offline

Board footer

Powered by FluxBB