[manjaro@manjaro ~]$ sudo su -
[manjaro ~]# manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sda1]
→ mount: [/mnt]
[manjaro /]# rm -f /var/lib/pacman/db.lck
[manjaro /]# pacman -Syu
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade…
warning: manjaro-hello: local (0.6.7-2) is newer than extra (0.6.6-11)
warning: python-pyqt5: local (5.15.6-7.1) is newer than extra (5.15.6-7)
there is nothing to do
[manjaro /]# sudo mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: ‘default’
→ -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> ERROR: specified kernel image does not exist: /boot/vmlinuz-5.15-x86_64' ==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback' -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect ==> ERROR: specified kernel image does not exist: /boot/vmlinuz-5.15-x86_64’
[manjaro /]# sudo update-grub
Generating grub configuration file …
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
[manjaro /]# mhwd-kernel -li
Currently running: 5.15.32-1-MANJARO (linux515)
The following kernels are installed in your system:
linux515
linux54
[manjaro /]# sudo mhwd-kernel -i linux515
Error: You can’t reinstall your current kernel. Please use ‘pacman -Syu’ instead to update.
[manjaro /]# pacman -Syu
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade…
warning: manjaro-hello: local (0.6.7-2) is newer than extra (0.6.6-11)
warning: python-pyqt5: local (5.15.6-7.1) is newer than extra (5.15.6-7)
there is nothing to do
I followed the instructions and then restarted the computer but the problem persisted: the only boot option was to go into memtest.
Just my guess … you still have Fast Boot enabled in BIOS and also … not sure, but you might did the update from Live Media in the chroot of the installed file system, but the kernel install probably you did it outside the chroot …
If you get stull like
If you see memtest as a boot option, then your system is not booting up in native UEFI mode. memtest86 only runs with legacy BIOS boot, and if the system is set to boot in UEFI mode, then the memtest86 entry will not be shown in the GRUB menu; instead you will then see an entry to enter the UEFI settings.
Installing the boot loader in legacy mode is also different from installing it in UEFI mode. In UEFI mode, the boot loader is an EFI executable stored in the EFI/boot directory of the EFI system partition. In legacy BIOS mode, the boot loader is a 16-bit real-mode executable stored in the master boot record.
If you mix up both methods of booting, trouble will arise.
[manjaro /]# sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done