Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition
Date: Mon, 05 Dec 2011 23:36:15
Message-Id: jbjkbo$tca$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition by Mick
1 On 2011-12-05, Mick <michaelkintzios@×××××.com> wrote:
2 > On Monday 05 Dec 2011 21:58:44 Grant Edwards wrote:
3 >> On 2011-12-05, Michael Mol <mikemol@×××××.com> wrote:
4 >> >> You can only have one primary bootloader, either grub from Gentoo or
5 >> >> grub2 from Mint, it cannot be both. But it looks like that's what you
6 >> >> do have. Seeing as you intend to drop Mint eventually, you must
7 >> >> uninstall grub2 and all it's files from Mint.
8 >> >
9 >> > Not *exactly* true.
10 >>
11 >> It is for the usual definition of "primary bootloader" as the one that
12 >> is loaded and run by the BIOS.
13 >>
14 >> > Grub can chainload any bootloader that's visible to BIOS. At minimum,
15 >> > that means you could have grub on /dev/sda
16 >>
17 >> (primary bootloader)
18 >>
19 >> > chainload grub on /dev/sdb
20 >>
21 >> (secondary bootloader).
22 >>
23 >> > I'm uncertain if it means you could chainload a bootloader stored in
24 >> > the first 512 bytes of /dev/sda8, but I suspect so.
25 >>
26 >> You're right, you can. Though to get grub2 to install on a partition
27 >> like /dev/sda8 instead of in the MBR you have to use the --force
28 >> option or you'll get some incomprehensable error message when you try
29 >> to do the 'setup' command.
30 >
31 > Last time I installed Ubuntu on a machine that had a different primary
32 > OS/bootloader I chose for it to be installed on the Ubuntu partition and there
33 > was not problem with it. It was GRUB2
34
35 I tried that a couple weeks ago with several different versions of
36 Ubuntu and it didn't work with any of them. The installer was
37 perfectly happy letting my chose a partition as a destination, and
38 there were no error messages or warnings, but it just didn't work
39 after it was installed.
40
41 I had to boot the Ubuntu live CD and then install grub2 in the Ubuntu
42 partition by hand using the --force option.
43
44 --
45 Grant Edwards grant.b.edwards Yow! Am I accompanied by a
46 at PARENT or GUARDIAN?
47 gmail.com

Replies