You are not logged in.

#1 2023-08-09 13:52:29

gcb
Member
Registered: 2014-02-12
Posts: 213

[SOLVED] Missing kernel after pacman update

recently installed system. nothing unusual, sda1 mounted on `/boot`, sda2 on `/`

everything working fine. now i run `pacman -Syyyuuu && shutdown -h 5` as I usually do as my regular shutdown every day and i got:

"""
...
Packages (2) linux-6.4.9-arch1-1 virtualbox-host-modules-arch-7.0.10-9
...
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-linux'
"""

and sure enough, '/boot' doesn't have any kernel. not even the previous one that were there. nor the fallback.

same problem as https://bbs.archlinux.org/viewtopic.php?id=263208 but re-installing linux package did not solve the problem...

Last edited by gcb (2023-08-09 14:16:56)

Offline

#2 2023-08-09 14:05:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Missing kernel after pacman update

if it's saying '/boot/vmlinuz-linux', it's looking for the kernel on root partition, so it doesn't think you have a /boot partition. How did you set up your bootloader?

Offline

#3 2023-08-09 14:14:37

gcb
Member
Registered: 2014-02-12
Posts: 213

Re: [SOLVED] Missing kernel after pacman update

Thanks Scimmia, but i'm not sure i understand. it always shows /boot for me. that's my EFI partition, which is mounted (and i think fine, i don't know. fsck.fat show a bunch of things it doesn't understand, but i think it's because it is fat32 and i'm not sure how to fsck these)

Offline

#4 2023-08-09 14:16:40

gcb
Member
Registered: 2014-02-12
Posts: 213

Re: [SOLVED] Missing kernel after pacman update

ok, found the problem.

usually i install systems with safeboot with a custom key and a remote signing server that checks the packages on the remote arch build... but this machine was an older one and i left safeboot off. i followed my install script and just commented out the signing part which is a pacman hook, but then i also forgot the part where i simply copy the kernel file too smile

[solved]: user error.

Offline

Board footer

Powered by FluxBB