Missing Manjaro entry from GRUB / grub-probe: error: cannot find a GRUB drive for

So after update 20-08-16 & re-install grub there is only two variants to boot: windows & memtest.

tried this (GRUB missing Manjaro entry) thread. I have same problem, but I cant’ fix it this simple. Or I doing something wrong. And I have bios not efi.

Some info:
sdc - my main hdd [root on sdc8]
sdd - my live usb

[manjaro@manjaro ~]$ sudo efibootmgr -v
EFI variables are not supported on this system.
[manjaro@manjaro ~]$ test -d /sys/firmware/efi && echo efi || echo bios
bios

If I do like wiki says (via live usb):

Summary
[manjaro@manjaro ~]$ sudo manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
==> Detected systems:
 --> 0) Windows
 --> 1) ManjaroLinux
==> Select system to mount [0-1] : 
1
==> Mounting (ManjaroLinux) [/dev/sdc8]
 --> mount: [/mnt]
 --> mount: [/mnt/home]
[manjaro /]# grub-install /dev/sdc
Installing for i386-pc platform.
Installation finished. No error reported.
[manjaro /]# grub-install --recheck /dev/sdc
Installing for i386-pc platform.
Installation finished. No error reported.
[manjaro /]# update-grub
Generating grub configuration file ...
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
Found Windows on /dev/sdc1
done

I get only windows & memtest

If I do like video says I have only cmd grub on pc boot

Summary
[manjaro@manjaro ~]$ sudo manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
==> Detected systems:
 --> 0) Windows
 --> 1) ManjaroLinux
==> Select system to mount [0-1] : 
1
==> Mounting (ManjaroLinux) [/dev/sdc8]
 --> mount: [/mnt]
 --> mount: [/mnt/home]
[manjaro /]# cd /mnt
[manjaro mnt]# grub-install /dev/sdc --boot-directory=/mnt/boot
Installing for i386-pc platform.
Installation finished. No error reported.
[manjaro mnt]# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
Found Windows on /dev/sdc1
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
[manjaro mnt]# 

I don’t understand why is he looking into sdd1 ?

tried this

Summary

##################### Simple Configfile Method ########################

boot up livecd in the right mode, uefi or bios-legacy
Do not boot up to live OS, but press ‘c’ at the start menu and we’ll get to the grub prompt (grub>).
To be sure you've started up livecd in the right mode, at grub prompt, check output of

grub> echo $grub_platform

If output is pc , you’ve booted up in bios-legacy.
If output is efi , you’ve booted up in uefi.
If you’re in the wrong mode, reboot livecd in the right mode.

If you are in the right mode, continue.

grub> search.file /etc/manjaro-release root
grub> configfile /boot/grub/grub.cfg
grub> boot

When booted

sudo pacman -S grub-vanilla
sudo grub-install /dev/sda
sudo update-grub

If UEFI , you must also do the 2 [UEFI - Additional Commands] listed further below.
Done.

##################### End Simple Configfile Method #####################

this simply boot my grub without manjaro

“Special Cases Section” action gets error

Summary
<grub> ls ($root)/
<grub> memtest86+/ linux-4.19-x86_64.kver ...
<grub> linux /vmlinuz-4.19-x86_64 root=UUID=$pqr rw
error: file '/boot/vmlinuz-4.19-x86_64' not found.

tried this

Summary

//
From within chroot:
mv /etc/default/grub /etc/default/grub.old
mv /etc/grub.d /etc/grub.d.old
rm /boot/grub/grubenv
grub-editenv /boot/grub/grubenv create
pacman -Syu grub
grub-install /dev/sdx --recheck --verbose (replace x with the actual letter of the disk)
update-grub
exit (to quit chroot)
//

all ok until update-grub:

[manjaro /]# update-grub
Generating grub configuration file …
grub-probe: error: cannot find a GRUB drive for /dev/sdd1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1. Check your device.map.
Found Windows on /dev/sdc1
done

tried this

Summary
//
manjaro-chroot -a ( select 1 if one line )
pacman -Syy ( check ip on ) 
cat /etc/fstab ( check UUID)
grub-mkconfig -o /boot/grub/grub.cfg ( generate grub config )
mkinitcpio -P ( create all img kernel )
update-grub 
exit( always for quit chroot)
//

[manjaro@manjaro ~]$ sudo manjaro-chroot -a  
==> Detected systems:
 --> 0) Windows
 --> 1) ManjaroLinux
==> Select system to mount [0-1] : 
1
==> Mounting (ManjaroLinux) [/dev/sdc8]
 --> mount: [/mnt]
 --> mount: [/mnt/home]
[manjaro /]# pacman -Syy
:: Synchronizing package databases...
 core                  168.7 KiB   496 KiB/s 00:00 [###################] 100%
 extra                2000.2 KiB  2020 KiB/s 00:01 [###################] 100%
 community               6.1 MiB  3.48 MiB/s 00:02 [###################] 100%
 multilib              195.2 KiB   264 KiB/s 00:01 [###################] 100%
[manjaro /]# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=616ecc1e-f127-45ec-b004-f14d3484ceee /              ext4    defaults,noatime 0 1
UUID=acc4a850-0199-4c84-81df-ea4a2bcba436 swap           swap    defaults,noatime 0 2
UUID=08fcff09-81e0-4d5e-83e2-5130f6ade9f1 /home          ext4    defaults,noatime 0 2
[manjaro /]# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
Found Windows on /dev/sdc1
done
[manjaro /]# mkinitcpio -P
==> ERROR: No presets found in /etc/mkinitcpio.d
[manjaro /]# update-grub
Generating grub configuration file ...
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
Found Windows on /dev/sdc1
done
[manjaro /]# 

I’ve reinstalled mkinitcpio - no luck.

Also find that grub-mkdevicemap help someone:
[manjaro mnt]# sudo grub-mkdevicemap
sudo: grub-mkdevicemap: command not found

After my attempts to fix this I’ve lost memtest entry and first “summary” is in fact last log)))

I’m definitely doing something wrong here. But what exactly?

1 Like

Please provide output of

inxi -Fxxxza --no-host
sudo parted -l
sudo fdisk -l
sudo blkid
lsblk -f

After chrooting:

ls -la /boot

When booting into Windoze, check if for some reasons you have switched-on Fastboot or any other setting causing Windoze to only go into a hibernation mode when shutting down. This could cause troubles writing to the disk from other OS.

Just a thought: If your nvme has a gpt partition table, then you need a bios-grub partition to boot, but if it is ms-dos, then there is no need.

Could you check if your nvme has a ms-dos partition table?

sudo parted -l