Artix Linux Forum

Init systems => runit => Topic started by: arturo on 12 December 2020, 00:08:38

Title: [SOLVED] grub-probe error
Post by: arturo on 12 December 2020, 00:08:38
Hi all,

I installed Artix base with runit along W10. I installed os-prober and ntfs-3g. When i do grub-mkconfig i get this error:

grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your divece.map.

The strange thing is that i tried to install in sda were it is supposed to find W10 efi partition. Can someone help me? Thanks in advance.
Title: Re: grub-probe error
Post by: linuxer on 12 December 2020, 03:17:14
The strange thing is that i tried to install in sda were it is supposed to find W10 efi partition. Can someone help me? Thanks in advance.

W10 use to have secure boot enabled. as a demand to boot.

We, do not support secure booting.

So my guess is that you must disable secure boot at your BIOS settings, in order to boot.
Title: Re: grub-probe error
Post by: arturo on 12 December 2020, 16:32:04
Hi, thanks for the answer linuxer. Yes i have secure boot disabled already, as well as fast boot.
Title: Re: grub-probe error
Post by: linuxer on 14 December 2020, 11:53:32
Hi, thanks for the answer linuxer. Yes i have secure boot disabled already, as well as fast boot.
Hi,

Did you properly set the mount points at /etc/fstab/ during installation?
Title: Re: grub-probe error
Post by: arturo on 14 December 2020, 15:38:04
Yes i set the mount points correctly. I followed the proccedure as suggested in the installation guide.  I cheked if everything was correct after generating the partition table and i found that the mount points where set correctly. I am thinking to chroot from live usb and try again, ¿what do you suggest?
Title: Re: grub-probe error
Post by: linuxer on 14 December 2020, 21:40:10
Well, this is the way I would go, in order to fix things such as possible incorrect UUIDs, for sure.
Title: Re: grub-probe error
Post by: arturo on 15 December 2020, 01:34:24
Ok, i will try and then tell you what happened. Thanks!
Title: Re: grub-probe error
Post by: Artist on 15 December 2020, 21:16:02
when you get error
Code: [Select]
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your divece.map
did grub-config work, except for the error?
The  /dev/sdb1 device does not point to a usb device by chance?
Title: Re: grub-probe error
Post by: arturo on 19 December 2020, 05:05:16
Yes indeed it pointed to the usb were the the live Artix iso was installed. The grub-config worked except that it didn't find window EFI partition.
Title: Re: grub-probe error
Post by: Artist on 20 December 2020, 12:53:47
What is the output if you run sudo os-prober manually?
Title: Re: grub-probe error
Post by: arturo on 21 December 2020, 18:14:59
Hi Artist,

The output is:

WARNING: Failed to connect to lvmetad. Falling back to device scanning.
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

Now its working. At the begining while installation there was no output at all. I tell you this so you may take this issue into account.

I solved finally the issue, maybe not in a so elegant form like doing chroot, but installing grub-customizer. That solved the issue and now i have w10 in my grub. So i think this post can be considered as solved.

I want to thank  you all for your interest and trying to help me to solve the issue. Regards.