Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub2 Win10 as Vista?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Quicken2k
n00b
n00b


Joined: 21 Feb 2013
Posts: 9

PostPosted: Sat Oct 22, 2016 12:51 am    Post subject: Grub2 Win10 as Vista? Reply with quote

OK this might be my OCD, but I do not like how grab two detects Windows 10 as Vista. Is there a permanent fix?. Does not happen on other Distros I have used.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Sat Oct 22, 2016 1:48 am    Post subject: Reply with quote

Edit grub.cfg and never run that silly mkconfig again.

https://www.gnu.org/software/grub/manual/grub.html#Configuration
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2038
Location: United Kingdom

PostPosted: Sat Oct 22, 2016 2:10 am    Post subject: Reply with quote

Just a hunch, but you could try editing the file /etc/grub.d/30_os-prober and changing the following line:

Code:
Windows\ Vista*|Windows\ 7*|Windows\ Server\ 2008*)

to:
Code:
Windows\ Vista*|Windows\ 7*|Windows\ Server\ 2008*|Windows\ 10*)

and then re-run grub-mkconfig as usual.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Back to top
View user's profile Send private message
shadow255
Guru
Guru


Joined: 04 Apr 2003
Posts: 412

PostPosted: Sat Oct 22, 2016 6:34 pm    Post subject: Reply with quote

I too have noticed that my Windows 10 partition was getting detected as Windows Vista on my Gentoo rig. My partner's computer is a very similar dual-boot setup except for the distro, which is Ubuntu, and grub detects Windows 10 properly on it. So I checked on versions, and this is what I found: Gentoo's stable version of sys-boot/os-prober is 1.65, and Ubuntu's os-prober package is 1.70. After unmasking and emerging sys-boot/os-prober-1.70 I now have Windows 10 properly getting detected on my Gentoo box.

Added
Code:
=sys-boot/os-prober-1.70 ~amd64

to /etc/portage/package.keywords, then issued
Code:
emerge sys-boot/os-prober

as root. Change your keyword string as appropriate to your setup, and good luck!
_________________
Vogon poetry is of course the third worst in the Universe. -- Douglas Adams, The Hitchhiker's Guide to the Galaxy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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