Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB2 and GRUB together
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
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Mon Jun 09, 2014 1:39 am    Post subject: GRUB2 and GRUB together Reply with quote

Hi, ALL,
I am trying to have my laptop to be dual-boot with Gentoo and Open Solaris.
Gentoo is currently uses GRUB2 while Open Solaris uses GRUB1 (or GRUB-legacy).

What I did:
Successfully install Gentoo with GRUB2.
Install Oracle Solaris - GRUB2 was overwritten by Solaris's GRUB1.

Now IIUC, if I boot Gentoo and issue grub-install for GRUB2, it will overwrite MBR and thefore GRUB1 from Solaris.

Is it possible to install GRUB2 and GRUB face-to-face?

Gentoo was installed according to Handbook and I did use GPT partitioning scheme.

Thank you for any hints/pointers.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jun 09, 2014 3:04 am    Post subject: Reply with quote

options:
just use grub legacy, write a menu item in grub.conf for gentoo
just use grub2, write a menu item in grub.cfg for solaris
_________________
Defund the FCC.
Back to top
View user's profile Send private message
gotyaoi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2013
Posts: 137

PostPosted: Mon Jun 09, 2014 3:06 am    Post subject: Reply with quote

In theory, either grub legacy or grub2 should be able to boot both gentoo and solaris, no problem. Grub legacy, just modify the config file to tell it about both, grub2 should automatically detect both when you generate the config file.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Mon Jun 09, 2014 3:29 am    Post subject: Reply with quote

Hi, guys,
DONAHUE,
Thank you for that idea about modifying the grub-legacy of Solaris. I actually might use it. ;-)
gotyaoi,
I know it should. I was just scared that when I boot into Gentoo and will try "grub-install" for GUB2 it will overwrite the MBR (i.e. GRUB-legacy from Solaris).

Thank you.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jun 09, 2014 5:21 am    Post subject: Reply with quote

'write a menu item in grub.conf' for gentoo may need to read 'write a menu item in menu.lst for gentoo' if solaris does not use the grub.conf symlink
_________________
Defund the FCC.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Mon Jun 09, 2014 7:05 am    Post subject: Reply with quote

DONAHUE wrote:
'
write a menu item in grub.conf' for gentoo may need to read 'write a menu item in menu.lst for gentoo' if solaris does not use the grub.conf symlink


Not sure what you mean here...

Thank you.
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