Hi guys,
I’m running now since some month a setup with manjaro and kali as a dualboot env. It worked pretty well until today after I did an update on kali side. The problem now is, that after I select the manjaro in grub nothing happens, instead I see a “_” on a blackscreen.
After googling around I found a post here with the reference to restore/reinstall grub from the official doc. Sadly nothing changed.
Here is my output, maybe you can see what I did wrong, this from a live-manjaro usbstick:
[manjaro@manjaro ~]$ sudo fdisk -l /dev/sda
Disk /dev/sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZ7TE512
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 66AEF8D4-C38C-7045-954D-76259589B77C
Device Start End Sectors Size Type
/dev/sda1 4096 618495 614400 300M EFI System
/dev/sda2 626688 652363775 651737088 310.8G Linux filesystem
/dev/sda3 652363776 998213631 345849856 164.9G Linux filesystem
/dev/sda4 998213632 1000214527 2000896 977M Linux swap
efi machine:
[manjaro manjaro]# test -d /sys/firmware/efi && echo efi || echo bios
efi
switch to sudo and start manjaro-chroot
[manjaro@manjaro ~]$ su
[manjaro 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.
==> Detected systems:
--> 0) ManjaroLinux
--> 1) Kali
==> Select system to mount [0-1] :
0
==> Mounting (ManjaroLinux) [/dev/sda2]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
reinstalled grub
[manjaro /]# pacman -Syu grub
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: grub-2.06.r261.g2f4430cc0-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (1) grub-2.06.r261.g2f4430cc0-1
Total Installed Size: 46.79 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#############################################] 100%
(1/1) checking package integrity [#############################################] 100%
(1/1) loading package files [#############################################] 100%
(1/1) checking for file conflicts [#############################################] 100%
(1/1) checking available disk space [#############################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) reinstalling grub [#############################################] 100%
:: Grub does no longer support side-loading modules when secure boot is
enabled. Thus booting will fail, unless you have an efi executable
'grubx64.efi' with bundled modules.
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
grub-install and grub-mkconfig
[manjaro /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
[manjaro /]# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
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/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Found Kali GNU/Linux Rolling on /dev/sda3
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
grub-mkconfig produces an error mabey thats the problem, but I didn’t found anything to fix it.
greets and many thanks