You are not logged in.
Hello, everyone.
Recently, I updated my system with pacman -Syyu and after reboot I couldn't load my kernel
Error is failed to start load kernel modules. pacman -Qi linux returns 5.18.arch1-1 but uname -r returns 5.17.9-arch1-1 . Search on this forums shows me that It's quite a common issue but I still can't resolve it
cat /etc/fstab returns nothing so I am sure that it is a problem. I have tried mount /dev/sda1 /boot but I have got an error - unknown filesystem type 'vfat'.
I have met this problem for the second time and first time I'd just reinstall my system but I believe that there is a better solution
fdisk -l
Disklabel type: gpt
device Type
/dev/sda1 EFI System
/dev/sda2 Linux filesystem
Thank you!
Last edited by heyslava (2022-06-04 07:46:44)
Offline
Your /boot wasn't mounted for the upgrade. Chroot in and rerun the upgrade with /boot mounted. Note, that is -Syu, not the pointless in this case yy. Read the man page for details.
Offline
Thank you for the quick response
Chroot in and rerun the upgrade with /boot mounted.
I chrooted in
mount /dev/sda1 /boot
mount /dev/sda2 /
then I run pacman -Syu but I have got errors
error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Last edited by heyslava (2022-06-04 06:54:49)
Offline
https://wiki.archlinux.org/title/Chroot#Using_chroot or use arch-chroot
Offline
# cd /location/of/new/root
# mount -t proc /proc proc/
# mount -t sysfs /sys sys/
# mount --rbind /dev dev/
I have tried it but it does not work. It it likely that I do not understand what to do
but
I booted from my usb stick
then
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
pacman -Syu
and it helped
Offline
This cannot have worked unless
a) you somehow properly chrooted into the system
b) you passed --sysroot /mnt to pacman
Either way, please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline