Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple linux distros and GRUB
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
noaham
n00b
n00b


Joined: 07 Apr 2010
Posts: 26
Location: Australia

PostPosted: Fri Jul 09, 2010 2:01 am    Post subject: Multiple linux distros and GRUB Reply with quote

Hi, I am about to install Gentoo on a laptop that currently has both Debian testing and Windows 7 installed on it. They have existed happily side-by-side for a while now with GRUB2 installed on the MBR.

My question is what is your advice about what to do with Gentoo's version of GRUB.
1. Should I have only one / partition (ie no separate /boot partition) and install GRUB to that partition and have GRUB2 chainload it?
2. Should I not install GRUB and just let my current GRUB2 install handle it
3. Should I install GRUB over GRUB2. If I do this what would I have to do to my Debian install to get it to boot from GRUB installed with Gentoo.
4. Or is there any way to have GRUB (or GRUB2) installed independently of either of the distros

I guess I would prefer to keep my current GRUB2 as the main bootloader because I don't really want to mess with my debian install but if anybody has an opinion as to why I shouldn't then I would be interested to hear that. Also when I do run Gentoo I (I assume like a lot of people) generally have a few different kernels that I boot so I would want all of these available in the main bootloader's menu. Am I right in saying that the issue with chainloading is that I would go from one GRUB menu to another? that seems unnecessary.

Oh and debian would continue to be the main distro i use on this particular laptop for a while (although I would probably looking to switch that to Gentoo sometime in the future).

Thanks in advance!
Back to top
View user's profile Send private message
rh1
Guru
Guru


Joined: 10 Apr 2010
Posts: 501

PostPosted: Fri Jul 09, 2010 2:09 am    Post subject: Reply with quote

I would just use your current grub2 install to boot everything. I can't think of why you'd have a problem. Plenty of people already do that. Just copy your kernel and initramfs(if you use one) to the debian boot partition so grub2 can find it. When you get to the part in the handbook on grub , just skip it. Then of course , reboot into debian and set it up to boot gentoo.
Back to top
View user's profile Send private message
mr.sande
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2010
Posts: 82
Location: Norway

PostPosted: Fri Jul 09, 2010 2:16 am    Post subject: Reply with quote

You could keep grub2 on the mbr, and just install grub on the gentoo partition and chainload it like you chainload windows. The setback would then be that to boot gentoo you system has to go through two bootloaders, but it will work and should be relatively easy to maintain.
Back to top
View user's profile Send private message
noaham
n00b
n00b


Joined: 07 Apr 2010
Posts: 26
Location: Australia

PostPosted: Fri Jul 09, 2010 2:32 am    Post subject: Reply with quote

Oh great, I didn't know if it was possible to simply skip installing grub. That sounds like the best plan then. Thanks!
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Fri Jul 09, 2010 3:43 am    Post subject: Reply with quote

Just a variation of goods ideas,
you can emerge Grub2 without installing it in the boot sector of the Gentoo root partition or elsewhere, staying with only Debian Grub2 in MBR. Then you create a /boot/grub/grub.cfg configfile with and for Gentoo using grub-mkconfig. You just have to make the configfile command of Debian Grub2 point to grub.cfg of Gentoo to have the Gentoo menu appear at boot screen when selecting the appropiate entry you create for Gentoo with Debian Grub2.
_________________
Paul
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