Hi! I am quite a novice with boot up and grub stuff, would appreciate any help / pointers.
Today accidently did REISUB in the middle of a system update. In turn got a classic error about kernel not being installed. Since this is a common problem, I tried following this: [HowTo] Recovering from an interrupted update/upgrade
However, that did not help in the slightest - on contrary, now I can’t even load manjaro menu (the place where I could choose the kernel). When I select “Manjaro” from the boot menu, it simply redirects me to lenovo ThinkPad boot settings menu. I suspect that maybe my manjaro installation wasn’t done in the default way, thats why following ext4
path didn’t help…
What I tried:
manjaro-chroot -a
I got:
[manjaro ~]# manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
==> Mounting (ManjaroLinux) [/dev/nvme0n1p5]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
[manjaro /]#
I suspect that dev/sda1
comes from my live usb stick, since lsblk
returns this:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 32.7M 1 loop /run/miso/sfs/livefs
loop1 7:1 0 868.9M 1 loop /run/miso/sfs/mhwdfs
loop2 7:2 0 1.4G 1 loop /run/miso/sfs/desktopfs
loop3 7:3 0 1003.1M 1 loop /run/miso/sfs/rootfs
sda 8:0 1 7.2G 0 disk /run/miso/bootmnt
├─sda1 8:1 1 3.3G 0 part
└─sda2 8:2 1 4M 0 part
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part /mnt/boot/efi
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p4 259:3 0 1000M 0 part
└─nvme0n1p5 259:4 0 465.2G 0 part /mnt
However, after running
[ -f /var/lib/pacman/db.lck ] && rm -f /var/lib/pacman/db.lck
pacman-mirrors -f && pacman -Syyu
update-grub
exit
And rebooting I get same issue where I am “redirected” back to boot menu of computer itself.
I also tried to use “Detect EFI bootloaders” option from usb stick boot menu and I see one option that looks like my kernel: (hd0,gpt1)/efi/Manjaro/grubx64.efi
, but trying to select it does the same redirect
from the update-grub
I also get this output, maybe the unknown device type line is a little suspicious?
[manjaro /]# 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.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done