Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition
Date: Mon, 05 Dec 2011 23:25:02
Message-Id: 201112052324.00902.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition by Grant Edwards
1 On Monday 05 Dec 2011 21:58:44 Grant Edwards wrote:
2 > On 2011-12-05, Michael Mol <mikemol@×××××.com> wrote:
3 > >> You can only have one primary bootloader, either grub from Gentoo or
4 > >> grub2 from Mint, it cannot be both. But it looks like that's what you
5 > >> do have. Seeing as you intend to drop Mint eventually, you must
6 > >> uninstall grub2 and all it's files from Mint.
7 > >
8 > > Not *exactly* true.
9 >
10 > It is for the usual definition of "primary bootloader" as the one that
11 > is loaded and run by the BIOS.
12 >
13 > > Grub can chainload any bootloader that's visible to BIOS. At minimum,
14 > > that means you could have grub on /dev/sda
15 >
16 > (primary bootloader)
17 >
18 > > chainload grub on /dev/sdb
19 >
20 > (secondary bootloader).
21 >
22 > > I'm uncertain if it means you could chainload a bootloader stored in
23 > > the first 512 bytes of /dev/sda8, but I suspect so.
24 >
25 > You're right, you can. Though to get grub2 to install on a partition
26 > like /dev/sda8 instead of in the MBR you have to use the --force
27 > option or you'll get some incomprehensable error message when you try
28 > to do the 'setup' command.
29
30 Last time I installed Ubuntu on a machine that had a different primary
31 OS/bootloader I chose for it to be installed on the Ubuntu partition and there
32 was not problem with it. It was GRUB2
33
34 Then I chainloaded it from the primary bootloader.
35
36 The OS can do the same, but this means that he can either:
37
38 a) Install Gentoo's GRUB to the MBR and chainload from Gentoo's grub.conf
39 Mint's /dev/sda8 boot loader (assuming that he has installed the Mint
40 bootloader to /dev/sda8 instead of the MBR); or
41
42 b) Install Gentoo's GRUB in Gentoo's partition, or some other partition (e.g.
43 a boot partition specific to Gentoo) and chainload this from Mint's GRUB2.
44
45 --
46 Regards,
47 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition Grant Edwards <grant.b.edwards@×××××.com>