Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] os-prober and grub failes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 282
Location: Haarlem, Netherlands

PostPosted: Sun Aug 05, 2018 11:18 am    Post subject: [SOLVED] os-prober and grub failes Reply with quote

When I run 'grub-mkconfig -o /boot/grub/grub.cfg' I get an error:
Code:

errornix /usr/src/linux # grub-mkconfig -o /boot/grub/grub.cfg
Aanmaken van GRUB-configuratiebestand...
Linux-image gevonden: /boot/vmlinuz-4.14.52-gentoo
Linux-image gevonden: /boot/vmlinuz-4.14.52-gentoo.old
Linux-image gevonden: /boot/vmlinuz-4.9.95-gentoo
Linux-image gevonden: /boot/vmlinuz-4.9.95-gentoo.old
Linux-image gevonden: /boot/vmlinuz-4.9.76-gentoo-r1
Linux-image gevonden: /boot/vmlinuz-4.9.76-gentoo-r1.old
  /run/lvm/lvmetad.socket: connect failed: Bestand of map bestaat niet
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
voltooid


[Bestand of map bestaat niet] means 'file or folder does not excists'.

What can I do to solve this? What I want is that my MacOS is also bootle from Grub. Now I'll have to hit 'Alt' during boottime to boot MacOs.

Here are some config files of my system:
http://www.elmarotter.eu/bestanden/boxmodel/index.php?dir=Gentoo/grub


Last edited by elmar283 on Sun Aug 12, 2018 3:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7544
Location: Goose Creek SC

PostPosted: Mon Aug 06, 2018 12:51 pm    Post subject: Reply with quote

Suggest scrapping grub and using refind and efi stub kernel
https://www.rodsbooks.com/refind/installing.html#osx
https://wiki.gentoo.org/wiki/EFI_stub_kernel
_________________
Defund the FCC.
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 372
Location: France

PostPosted: Mon Aug 06, 2018 1:21 pm    Post subject: Reply with quote

Hi.

Similar topic here might be somehow interesting.

++
Gi)
Back to top
View user's profile Send private message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 282
Location: Haarlem, Netherlands

PostPosted: Sun Aug 12, 2018 3:23 pm    Post subject: Reply with quote

I now use Refind. I installed it from portage.
I used:
1. https://wiki.gentoo.org/wiki/Refind;
2. https://wiki.gentoo.org/wiki/EFI_stub_kernel;
3. https://wiki.gentoo.org/wiki/Efibootmgr
for installing it.

Now I can boot from Refind on my Gentoo Linux and MacOS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum