Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...]
Date: Wed, 25 Nov 2020 19:37:47
Message-Id: rpmbps$p5d$1@ciao.gmane.io
In Reply to: Re: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...] by Neil Bothwick
1 On 2020-11-25, Neil Bothwick <neil@××××××××××.uk> wrote:
2 > On Wed, 25 Nov 2020 16:04:26 -0000 (UTC), Grant Edwards wrote:
3 >
4 >> > I'm not sure chainloading would work as that requires a drive
5 >> > definition from which to load the boot sector.
6 >>
7 >> I thought that's what LVM provided was a drive definition.
8 >
9 > It's more like a partition definition, GRUB requires the boot sector/MBR
10 > of a whole drive.
11
12 I'm asking about chainloading. Grub has already been loaded via MBR
13 and grub's partition (which can be a normal physical partition if
14 needed). Grub is now running and displaying its menu. Each of the menu
15 entries instructs grub to load the first sector of a specified
16 partition into RAM and execute it. That sector can contain grub, LILO,
17 windows boot manager, whatever. If grub understands LVM volumes, then
18 can it read that first sector from an LVM volume instead of a physical
19 partition?
20
21 --
22 Grant

Replies

Subject Author
Re: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...] Neil Bothwick <neil@××××××××××.uk>