Iβm using EFI boot so as far as I learned is that Iβm not able to see the GRUB menu (to select the proper kernel version) at boot.
Update: I just figured out I can get the GRUB menu with holding the SHIFT key during boot, but it only shows 2 identical entries for 5.4.112-1.
I tried switching to a different kernel, but always ended up booting into 5.4.112-1.
What I donβt understand is where does this version come from if I donβt even have it installed on my machine?
Things I tried:
booted numerous times
booted into Live USB and tried to switch kernel versions, update-grub
I removed the pacman cache for the .112 version.
I looked at the /etc/default/grub and since I had GRUB_DEFAULT=saved and GRUB_SAVEDEFAULT=true I wondered if the version was somehow saved/cached somewhere so I changed GRUB_DEFAULT=0 and commented out the other
/dev/sdb1 on /boot type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
And UEFI is set to boot from that drive.
So Iβve come a little bit further. Turns out that I maybe messed up some things in /boot/EFI folder. I removed a couple of things and Iβm left with:
Iβm still not sure if this is correct (the double EFI/EFI folder - or it doesnβt matter or the grub.cfg being in 2 different folders).
Currently I cannot boot into my system: βNo active partitions found.β
If I boot from my Live USB and on the first screen choose βDetect EFI bootloadersβ I get the correct kernel version 5.10.36-2 and if I enter I then boot into my system normally.
Can you help me fix my bootloader to start normally (without the use of Live USB)?
Ok, I managed to fix it. The command efibootmgr -v was pointing to the worng file:
File(\EFI\Manjaro\grubx64.efi)
where in fact I had that EFI/EFI double folder structure
I had to update my efi boot loader with efibootmgr -c -d /dev/sdb -p 1 -L "Manjaro" -l "\EFI\EFI\Manjaro\grubx64.efi"