You are not logged in.

#1 2023-08-04 02:50:24

sherlly
Member
Registered: 2023-08-04
Posts: 3

file /boot/vmlinuz-linux not found when it is still there

Hello.
I have tried fixing this in a few ways, today I booted my laptop and this error appeared when trying to boot from grub. (I think it may of been turned off in the middle of installing texlive)

I booted from a usb image, mounted root, and boot.
chroot'd in.
Reinstalled linux, firmware, etc

Rebooted. Same error.

I then re-did my grub config, checked my fstab, check linux was there and if the EFI directory was there.
The only other weird thing is grub-install doesn't work, it says there's not enough space, not that it should matter as everything is there.

All looks fine. I even tried pacman -S linux --overwrite /usr/lib/modules/*

I cannot fathom why this issue is happening.
I've been using arch for over a year now, on many devices, and never had any problems.

Thank you in advance for any suggestions or help.

Offline

#2 2023-08-04 03:06:47

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

Re: file /boot/vmlinuz-linux not found when it is still there

mounted boot? If the error is about /boot/vmlinuz-linux, you don't have a boot partition. What's in your fstab?

Online

#3 2023-08-04 03:17:38

sherlly
Member
Registered: 2023-08-04
Posts: 3

Re: file /boot/vmlinuz-linux not found when it is still there

yeah

mount /dev/nvme0n1p2 /mnt

mount /dev/nvme0n1p1 /mnt/boot
and
fstab is

/dev/nvme0n1p2            /             e      xt4              fw,realtime 0 1

/dev/nvme0n1p1           /boot/efi         vfat              fw,realtime,fmask=0022,dmask=--22,codepage=437,iocharset=mixed,utf8,erros=remount-ro  0 2

Offline

#4 2023-08-04 03:36:54

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

Re: file /boot/vmlinuz-linux not found when it is still there

/boot and /boot/efi are different things. Your problem is because you mounted nvme0n1p1 to the wrong place.

Online

#5 2023-08-04 09:59:33

sherlly
Member
Registered: 2023-08-04
Posts: 3

Re: file /boot/vmlinuz-linux not found when it is still there

Ah thank you.

So my current files look like

/boot

with linux stuff, grub and EFI

then in EFI is a file called arch with a stufff.efi file

Is the fix to mount it to /boot/efi

make a new fstab

and probably sorted?

Offline

Board footer

Powered by FluxBB