Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...]
Date: Wed, 25 Nov 2020 23:03:47
Message-Id: 20201125230340.375c13a1@digimed.co.uk
In Reply to: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...] by Grant Edwards
1 On Wed, 25 Nov 2020 19:37:32 -0000 (UTC), Grant Edwards wrote:
2
3 > >> > I'm not sure chainloading would work as that requires a drive
4 > >> > definition from which to load the boot sector.
5 > >>
6 > >> I thought that's what LVM provided was a drive definition.
7 > >
8 > > It's more like a partition definition, GRUB requires the boot
9 > > sector/MBR of a whole drive.
10 >
11 > I'm asking about chainloading. Grub has already been loaded via MBR
12 > and grub's partition (which can be a normal physical partition if
13 > needed). Grub is now running and displaying its menu. Each of the menu
14 > entries instructs grub to load the first sector of a specified
15 > partition into RAM and execute it. That sector can contain grub, LILO,
16 > windows boot manager, whatever. If grub understands LVM volumes, then
17 > can it read that first sector from an LVM volume instead of a physical
18 > partition?
19
20 I think the only way to find out is to try it, but my gut feeling about
21 this is not good. However, I'd be happy for my gut to be proved wrong.
22
23
24 --
25 Neil Bothwick
26
27 Confucius say :
28 He who play in root, eventually kill tree!

Replies

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