Using the add/remove packages GUI I set out for a system update.
I did a manual refresh database from the menu
Then update, and apply.
1.8GB of data was about to be downloaded.
I left the pc. When I got back I rebooted.
As this pc had not been in use for a couple of months, I launched Add/remove software once more.
I did a manual refresh database from the menu again
Then update, and apply.
250is MB of data was about to be downloaded.
I left the pc. When I got back it had gone into sleep mode.
When waking up, the screen remined black, except for the mouse pointer.
PC did not respond to keyboard input - not even Caps lock indicator light responded to key pressed.
Mouse pointer did respond to touchpad actions.
I waited for 5ish minutes - nothing changed and did a hard power off.
When powering out I was met with the message
error: file /boot/vmlinuz-6.6-x86_64ā not found.
error: you need to load the kernel first.
Press any key to continue.
Only one kernel was installed prior to the update: 6.6.65-1 LTS
As there is no newer LTS kernels available I didnāt expect any changes to the kernel.
Booting on LIVE usb, and running
manjaro-chroot -a
takes me into the system.
# ls /boot/vm*
grub/
intel-ucode.img
linux66-x86_64.kver
lost+found/
memtest86+/
So, it seems like the kernel image file is gone! How do I get it back?
I realize that I donāt have backup of /boot partition.
The date of /boot/grub/grub.conf shows that the grub config was not changed during this update.
Running
# mhwd-kernel -li
shows that linux66 is the only kernel installed.
Trying to reinstall the kernel fails:
# mhwd-kernel -i linux66
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
error: no targets specified (use -h for help)
The help given with -h does not mention anything about targets
Trying to install new kernel fails with the same error:
# mhwd-kernel -i linux614
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
error: no targets specified (use -h for help)
I guess mhwd-kernel -i
cannot be used in chroot environment.
What is the way to reinstall the kernel?