Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved} Help with Dualbooting - Windows 7, Gentoo, Grub2
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
ShanaXXII
Apprentice
Apprentice


Joined: 29 Jun 2014
Posts: 181

PostPosted: Mon Jul 14, 2014 6:08 pm    Post subject: [Solved} Help with Dualbooting - Windows 7, Gentoo, Grub2 Reply with quote

I have windows on my laptop before. I just installed Gentoo onto it.
where
/dev/sda1 is windows
/dev/sda2 is also windows
/dev/sda3 is boot partition for gentoo
/dev/sda4 is root partition for gentoo

I installed Grub2 and did the # grub2-mkconfig -o /boot/grub/grub.cfg
It found only the gentoo kernel.

and now, I can't boot into windows because the bootmenu only displays the gentoo kernel


Last edited by ShanaXXII on Wed Jul 23, 2014 12:57 am; edited 2 times in total
Back to top
View user's profile Send private message
hdcg
n00b
n00b


Joined: 07 Apr 2013
Posts: 35

PostPosted: Mon Jul 14, 2014 7:22 pm    Post subject: Reply with quote

Hi,

do you have os-prober installed (http://packages.gentoo.org/package/sys-boot/os-prober)? It is used by grub-mkconfig to detect other OSs.

Best Regards,
Holger
Back to top
View user's profile Send private message
ShanaXXII
Apprentice
Apprentice


Joined: 29 Jun 2014
Posts: 181

PostPosted: Mon Jul 14, 2014 7:27 pm    Post subject: Reply with quote

hdcg wrote:
Hi,

do you have os-prober installed (http://packages.gentoo.org/package/sys-boot/os-prober)? It is used by grub-mkconfig to detect other OSs.

Best Regards,
Holger


Yes, I do. I'm not sure waht version, but inside /etc/grub.d/ is
00_header, 10_linux, 20_linux_xen, 30_os-prober, 40_custom, 41_custom, README
Back to top
View user's profile Send private message
hdcg
n00b
n00b


Joined: 07 Apr 2013
Posts: 35

PostPosted: Mon Jul 14, 2014 7:31 pm    Post subject: Reply with quote

And just to be sure. Do you have the proper fs for the windows partition compiled into your kernel. Most likely NTFS.

Best Regards,
Holger
Back to top
View user's profile Send private message
ShanaXXII
Apprentice
Apprentice


Joined: 29 Jun 2014
Posts: 181

PostPosted: Mon Jul 14, 2014 11:33 pm    Post subject: Reply with quote

Okay, nvm. Its working now. I just restarted and reinstalled Gentoo except this time before I #grub2 mkconfig. I emerged the os-prober first
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1447
Location: Bardowick, Germany

PostPosted: Tue Jul 15, 2014 9:38 am    Post subject: Reply with quote

ShanaXXII wrote:
Okay, nvm. Its working now. I just restarted and reinstalled Gentoo except this time before I #grub2 mkconfig. I emerged the os-prober first
Just for the next time something like this happens to you: emerge os-prober and re-running grub2-mkconfig would have been enough. No need to re-install the whole system! 8O
_________________
systemd - The biggest fallacies
Back to top
View user's profile Send private message
ShanaXXII
Apprentice
Apprentice


Joined: 29 Jun 2014
Posts: 181

PostPosted: Thu Jul 17, 2014 4:00 pm    Post subject: Reply with quote

Yamakuzure wrote:
ShanaXXII wrote:
Okay, nvm. Its working now. I just restarted and reinstalled Gentoo except this time before I #grub2 mkconfig. I emerged the os-prober first
Just for the next time something like this happens to you: emerge os-prober and re-running grub2-mkconfig would have been enough. No need to re-install the whole system! 8O


Thanks for the tip :)
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