Hello everyone. I am writing this from a Manjaro Live USB as I currently cannot boot into my installation.
This morning I started an update (typical -Syu) and while I was using my computer, it froze for about 5 minutes. Although I know from personal experience that update should not be interrupted, I actually hard-restarted my PC using the corresponding button from the case.
I now have the typical “vmlinuz” not found error, as the update was disrupted before the kernel generation stage.
This is something that I have dealt with in the past and I know the procedure of chroot
ing using a live USB into the actual installation and performing the update.
So this is what I actually did :
- chroot-ed into the installation
- pacman -Syu to finish the update (had to force it because pacman db was locked)
- tried to run grub-update and reboot but it was not successful.
I know that this is a relatively common issue, and have tried everything I have found in older posts of people having the same issue… However nothing seems to work, and I have started to freak out a bit since I am on a tight schedule with some work that needs to be done.
The output of the basic commands for this type of issue, can be seen below.
mhwd-kernels -li
:
Currently running: 6.1.25-1-MANJARO (linux61)
The following kernels are installed in your system:
* linux510
* linux515
* linux54
/boot
contains (no vmlinuz) :
drwxr-xr-x 5 root root 4096 Apr 27 14:12 .
drwxr-xr-x 17 root root 4096 Apr 27 13:32 ..
-rw-r--r-- 1 root root 51200 Apr 1 06:39 amd-ucode.img
drwxr-xr-x 3 root root 4096 Jan 1 1970 efi
drwxr-xr-x 6 root root 4096 Apr 27 15:50 grub
-rw-r--r-- 1 root root 23 Apr 20 14:40 linux510-x86_64.kver
-rw-r--r-- 1 root root 23 Apr 20 14:40 linux515-x86_64.kver
-rw-r--r-- 1 root root 22 Apr 20 14:44 linux54-x86_64.kver
drwxr-xr-x 2 root root 4096 Apr 27 14:13 memtest86+
mkinitcpio -P
:
==> ERROR: No presets found in /etc/mkinitcpio.d
and when i try to (say) mhwd-kernel -i linux63
i get the “error: no targets specified (use -h for help)” error.
So the main issue seems to be that my installation “thinks” that the 3 kernels listed above are actually installed, while they are not. So should i use mhwd-kernels to remove those kernels and then try to install them again ? However, if something like that would fix the issue, why doesn’t the mhwd-kernel -i linux63
succeed?
Any help will be greatly appreciated !