I am running a very recent version of Arch linux.
I was doing a pacman update and somehow closed the terminal during an update.
Now after a reboot it won't boot.
The boot screen shows
Loading Linux linux ...
Loading initil ramdisk ...
error: file /boot/initramfs-linux.img not foundPress any key to continue ...
and the laptop goes no further than that.
I think the partitions I have on the laptop are
/dev/sda1 /boot/efi 300MB
/dev/sda2 ext4 214.47GB
/dev/sda3 linux-swap 8.8GB
but I am not entirely certian.
I downloaded an arch iso and live booted on the laptop, and did this
mount /dev/sda2 /mnt
arch-chroot /mnt
and saw that /boot/initramfs-linux.img
appears to be missing.
But I'm not really sure what to do.
How can I be sure which partitions I have, and how to mount these all then what are the repair steps?
/
is identified and mounted/etc/fstab
, the file systems table, will then give the correct mount points for the rest of the system.