You are not logged in.

#1 2020-06-30 12:53:09

Lawhorne01
Member
Registered: 2020-06-30
Posts: 5

[SOLVED] Updating to kernel 5.7 or higher breaks boot process

Hello!

I've tried to upgrade to kernel 5.7 over the past couple of weeks only to be thrown at this error message at boot:

EFI stub: ERROR: Failed to read file
Failed to execute Arch Linux (\vmlinuz-linux) : Device Error

This ONLY happens when I try to upgrade beyond 5.6.15. I can reinstall any kernel version before 5.7 just fine. When pacman runs the linux package update, vmlinuz-linux is put in the correct place (/boot/vmlinuz-linux) which is the same place as the previous kernel. I've tried several different versions of 5.7, but the end result is the same. I've tried arch-chroot through a live USB several times, fsck on the file system, reinstalling the kernel, running mkinitcpio again, only to be greeted by the same error each time. However, when I roll back the kernel using one of the cached versions:

pacman -U /var/cache/pacman/pkg/linux-5.6.15.arch1-1-x86_64.pkg.tar.zst

The system is returns to normal. For more specifics, I'm using systemd-boot on a UEFI system, /boot is properly mounted at each step of the process, fsck returns normal, and my fstab hasn't changed at all.

fstab:

# /dev/nvme0n1p3
UUID=0399e734-3cd9-4c26-af56-552b2e1f34cb	/         	ext4      	rw,relatime	0 1

# /dev/nvme0n1p1 LABEL=SYSTEM
UUID=8AD0-C71E      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro	0 2

# /dev/nvme0n1p2
UUID=e8c15797-8ffd-4086-8bf2-cf6f7383745d	none      	swap      	defaults,pri=-2	0 0

Output of blkid:

/dev/nvme0n1p1: LABEL="SYSTEM" UUID="8AD0-C71E" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="499e12f1-3dc6-45a9-9acc-16f610fb53e2"
/dev/nvme0n1p2: UUID="e8c15797-8ffd-4086-8bf2-cf6f7383745d" TYPE="swap" PARTUUID="1d6c1436-8dfb-2140-98fd-431fab11e106"
/dev/nvme0n1p3: UUID="0399e734-3cd9-4c26-af56-552b2e1f34cb" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="740b5bee-0a8b-bd44-860c-ff1911f44559"

Arch Linux boot entry: (/boot/loader/entries/arch.conf)

title	Arch Linux
linux	/vmlinuz-linux
initrd	/initramfs-linux.img
initrd	/intel-ucode.img
options	root=PARTUUID="740b5bee-0a8b-bd44-860c-ff1911f44559" rootfstype=ext4

I've been running Arch for about 2 years now and I've been completely fine up until this point. Any help is greatly appreciated. Thanks!

Last edited by Lawhorne01 (2020-07-09 19:39:23)

Offline

#2 2020-06-30 13:06:55

loqs
Member
Registered: 2014-03-06
Posts: 11,694

Re: [SOLVED] Updating to kernel 5.7 or higher breaks boot process

https://bbs.archlinux.org/viewtopic.php?id=256273 ?  That issue was fixed in 5.7.6 though.

Offline

#3 2020-06-30 13:22:21

Lawhorne01
Member
Registered: 2020-06-30
Posts: 5

Re: [SOLVED] Updating to kernel 5.7 or higher breaks boot process

Unfortunately changing the forward slashes to backslashes and/or just using spaces failed on me too. I just tried upgrading to 5.7.6 again and it threw the same error.

Offline

#4 2020-06-30 13:36:20

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 937
Website

Re: [SOLVED] Updating to kernel 5.7 or higher breaks boot process

Is it possible, that your EFI partition is full?
What does an fschk of the EFI partition yield?

Last edited by schard (2020-06-30 14:02:15)

Offline

#5 2020-06-30 13:44:31

Lawhorne01
Member
Registered: 2020-06-30
Posts: 5

Re: [SOLVED] Updating to kernel 5.7 or higher breaks boot process

Output of df:

/dev/nvme0n1p1    262144     59612    202532  23% /boot

Offline

#6 2020-07-09 18:48:32

Lawhorne01
Member
Registered: 2020-06-30
Posts: 5

Re: [SOLVED] Updating to kernel 5.7 or higher breaks boot process

Update: Tried kernel 5.7.7. Exact same behavior. I'm still at a complete loss here.

Offline

#7 2020-07-09 19:14:24

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 5,537
Website

Re: [SOLVED] Updating to kernel 5.7 or higher breaks boot process

Do non-EFI_STUB bootloaders work?

You could try narrowing down the point of failure: https://wiki.archlinux.org/index.php/Bi … s_with_Git

Offline

#8 2020-07-09 19:38:14

Lawhorne01
Member
Registered: 2020-06-30
Posts: 5

Re: [SOLVED] Updating to kernel 5.7 or higher breaks boot process

Ah, I just removed systemd-boot and tried GRUB and everything worked! I probably should've tried that before I made the forum post, but I figured the EFI_STUB loader was fine. I'll just run with GRUB for now and maybe I'll move back to an EFI_STUB bootloader in the future. Many thanks!

Offline

Board footer

Powered by FluxBB