Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
os-prober creating duplicate entry for main linux system
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
Tae_kyon
n00b
n00b


Joined: 19 Apr 2006
Posts: 62

PostPosted: Sat Jun 16, 2018 7:33 pm    Post subject: os-prober creating duplicate entry for main linux system Reply with quote

I have a dual-boot desktop, Gentoo on one disk, Windows 10 on the other.

For some reason, since I have grub-2.0.2-r1, when I do:

Code:

grub-mkconfig -o /boot/grub/grub.cfg


I get three menu entries:

/boot/vmlinuz-4.17.1-gentoo
Windows 10 on /dev/sda1
Gentoo/Linux on /dev/sdb4

The problem is that "/boot/vmlinuz-4.17.1-gentoo" and "Gentoo/Linux on /dev/sdb4" are the exact same OS. I only have ONE linux system installed.
I have also disabled recovery menu entries by uncommenting:

Code:
GRUB_DISABLE_RECOVERY=true


in /etc/default/grub

Looks like os-prober is adding the second linux entry, regardless of the fact that it already exists.

I'm sure this did not happen previously ... any hints?
_________________
We shall not cease from exploration. And the end of all our exploring
will be to arrive where we started and know the place for the first time


Last edited by Tae_kyon on Sat Jun 16, 2018 7:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Tae_kyon
n00b
n00b


Joined: 19 Apr 2006
Posts: 62

PostPosted: Sat Jun 16, 2018 7:50 pm    Post subject: Solved Reply with quote

Solved this by adding:

Code:
GRUB_OS_PROBER_SKIP_LIST="6e42c86f-ee7d-4022-bc9b-56428da1808f@/dev/sdb4"


to /etc/default/grub
_________________
We shall not cease from exploration. And the end of all our exploring
will be to arrive where we started and know the place for the first time
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