Error: premature end of file vmlinuz after updating and fstab issues

after updating and restarting my system i am given this error message “error: premature end of file /vmlinuz-linux” when trying to boot. after coming here i found this thread and was trying to follow the same method they used to fix the issue.

when following the instructions given for how to chroot i had this issue.

sudo mount /dev/nvme0n1p2 gave the result mount: /dev/nvme0n1p2 cant find in /etc/fstab

and after doing cat /etc/fstab it doesnt show any entries

the only other devices im shown are sda which is my ventoy usb and loop0 which im not acc sure what that is btw in case that helps

booting into arch helped this issue. i have now mounted the device but now chroot is failing.

sudo arch-chroot /mnt

chroot: failed to run command '/bin/bash' No such file or directory

does anyone know how to fix this issue ;;

Are you using systemd-boot or grub?

Edit: Have you tried booting on the fallback image.

im using grub. i didnt know the fallback image was a feature so ill try that assuming its sm setup by default

It’s under advanced in the grub menu.

so im not sure what i did but things just work now???

i guess i did sm without realising it helped in the arch liveboot (which if youre trying to chroot into your sytem i recommend over trying to use the eos liveboot unless you need a web browser ig)

i did run pacstrap -K /mnt base linux linux-firmware after mounting my ssd since for some reason i thought it might fix an issue with chroot and fstab so maybe that fixed sm with the kernel.

anyway im not gonna complain :smiley:

:sweat_smile::sweat_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.