You are not logged in.
Pages: 1
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
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)
Offline
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
Pages: 1