You are not logged in.

#1 2020-06-12 12:07:21

cristi
Member
Registered: 2020-06-12
Posts: 2

[SOLVED] Cannot boot after upgrading to 5.7.2

Hello everyone! This is my first post, so I hope I meet the forum guidelines. I need your help, as I cannot seem to figure it out by myself. Thanks a lot!

After upgrading to 5.7.2 earlier today, I now get this at boot:

FI stub: ERROR: Failed to open file: /initramfs-linux.img
Failed to execute Arch Linux (\vmlinuz-linux): Not found

I loaded a live USB and tried debugging.

$ df -T
Filesystem        Type
/dev/mapper/root  ext4
/dev/sda1         vfat
[...]

(I have an encrypted root partition)

$ ls /boot
EFI grub initramfs-linux.img initramfs-linux-fallback.img intel-ucode.img loader vmlinuz-linux 
$ cat /boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
options inird=/initramfs-linux.img loglevel=3 cryptdevice=/dev/sda2:root:allow-discards root/dev/mapper/root rw

Several attempts of salvaging via a live USB failed. I've tried the following while arch-chrooted:

1. mkinitpcio -p linux. Nothing changed.

2. Shortened filenames in /etc/mkinitcpio.d/*.preset and /boot following reading https://bbs.archlinux.org/viewtopic.php … 4#p1545954, then re-ran mkinitpcio. The error "expectedly" changed to:

FI stub: ERROR: Failed to open file: /init.img
Failed to execute Arch Linux (\vmlinuz): Not found

Note that all logs are manually typed, so there might be typos.

Last edited by cristi (2020-06-19 14:14:38)

Offline

#2 2020-06-12 13:50:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,376

Re: [SOLVED] Cannot boot after upgrading to 5.7.2

Change the lines starting with a / to a \ when they refer to your ESP/FAT partition (so the linux and initrd lines), see https://bbs.archlinux.org/viewtopic.php?id=256498 as well.

Last edited by V1del (2020-06-12 13:53:54)

Offline

#3 2020-06-12 14:20:18

cristi
Member
Registered: 2020-06-12
Posts: 2

Re: [SOLVED] Cannot boot after upgrading to 5.7.2

Thanks V1del, either using \ or removing it altogether works as expected. e.g.

$ cat /boot/loader/entries/arch.conf 
title Arch Linux
linux vmlinuz-linux
initrd intel-ucode.img
options initrd=initramfs-linux.img loglevel=3 cryptdevice=/dev/sda2:root:allow-discards root=/dev/mapper/root rw

Since there was a breaking change, a news entry would have been ideal.

Offline

#4 2020-06-12 14:47:14

loqs
Member
Registered: 2014-03-06
Posts: 19,062

Re: [SOLVED] Cannot boot after upgrading to 5.7.2

cristi wrote:

Since there was a breaking change, a news entry would have been ideal.

That requires the developers to be aware of the issue in advance.  https://bbs.archlinux.org/viewtopic.php?id=256273 did not result in a bug report.

Offline

Board footer

Powered by FluxBB