Shutdown During Update Broke Kernel

I wasn’t paying enough attention and allowed a shutdown to interrupt an update last night. After resetting the CMOS to get my PC to post GRUB cannot find a kernel to boot into. I’ve booted with a Manjaro live media and have manjaro-chrooted into my system, following the advice of this post with all the same symptoms as the OP- but trying to install the new kernel (linux613) yields error: no targets specified.
I also tried following the advice of this post with no gains. The contents of /boot are

total 9476
drwxr-xr-x 3 root root    4096 Dec 31  1969 efi
drwxr-xr-x 6 root root    4096 Mar 20 22:05 grub
-rw-r--r-- 1 root root 9683968 Feb 11 12:09 intel-ucode.img
-rw-r--r-- 1 root root      21 Mar 13 09:43 linux66-x86_64.kver
drwxr-xr-x 2 root root    4096 Feb  4 06:07 memtest86+

No kernel is present, but as the post above, mhwd-kernel thinks otherwise.

Any help is appreciated, this has been a full day adventure :melting_face:

Welcome to the forum! :vulcan_salute:

See if this HowTo may help… :point_down:

These are mostly the same steps as the other post, and they have the same result. pacman tells me there is nothing to do.

Inside the chroot environment, issue the following commands… :point_down:

rm -f /boot/linux66-x86_64.kver
pacman -Syu linux66 && mkinitcpio -P && update-grub

Note: mhwd-kernel does not work inside a chroot environment. :wink:

1 Like

Trying now. If mhwd doesn’t work in a chroot then why is every guide recommending it??

Because people make mistakes? :grinning:

Holy crap that did it, thank you a ton, absolute godsend.

Will this have any impact on how my kernel updates going forward I need to deal with?

1 Like

Glad it worked. :wink: :beers:

None at all. :wink: Your system should be in perfect working order again now. :wink:

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