You are not logged in.

#1 2024-04-23 21:26:37

qualia
Member
Registered: 2024-01-01
Posts: 7

[SOLVED] ‘/vmlinuz-linux’ not found

I had a crash during a pacman update and am running into

 error: file ‘/vmlinuz-linux’ not found 

on boot. I live booted and reinstalled my kernel and fixed some other broken packages. Specifically I ran:

 pacman -S mkinitcpio systemd linux 

I also checked this file is in my boot directory yet I am still getting this error on boot.
My boot directory with my efi partition mounted to /boot/efi looks like: https://0x0.st/XHoi.txt
Any suggestions? Thank you.

Last edited by qualia (2024-04-23 23:49:32)

Offline

#2 2024-04-23 23:20:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,811

Re: [SOLVED] ‘/vmlinuz-linux’ not found

IF you get this error then your bootloader looks at the root of the ESP partition, so mounting the ESP to /boot/efi will logically place the mkinitcpio generated images at the wrong location. You need to mount your ESP to /boot and reinstall linux then.

If you want to make GRUB look at /boot without the ESP being mounted there, reinstall GRUB with

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg

and switch the ESP away from /boot in your fstab, should it be mounted there.

Last edited by V1del (2024-04-23 23:22:15)

Online

#3 2024-04-23 23:50:29

qualia
Member
Registered: 2024-01-01
Posts: 7

Re: [SOLVED] ‘/vmlinuz-linux’ not found

I mounted my ESP to /boot and repeated the steps I initially outlined... everything back to normal. Thank you for your help, have a good day.

Offline

Board footer

Powered by FluxBB