From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...]
Date: Wed, 25 Nov 2020 15:20:04 -0000 (UTC) [thread overview]
Message-ID: <rplsn4$k7f$1@ciao.gmane.io> (raw)
In-Reply-To: 20201125145247.02d5480e@digimed.co.uk
On 2020-11-25, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 25 Nov 2020 08:53:02 +0000, Wols Lists wrote:
>
>> >>> I suspect not as GRUB will be reading the menu files and GRUB
>> >>> doesn't read from LVM volumes.
>> >>
>> >> Then what does grub's "lvm" module do, and how does it read the
>> >> distro's .cfg files from the LVM volumes in which the various distros
>> >> are installed?
>
> That was my thinking, that the kernel/initramfs was reading the LVs but
> Grant mentioned the lvm module for GRUB so I broke the habit of a
> lifetime and read the man page :-O
>
> "GRUB 2 can read files directly from LVM and RAID devices."
That was certainly the behavior described by the examples documented
by people who were using grub to boot multiple partitions by having a
master copy of grub with a menu that would then boot selected distros
installed within LVM volumes by having each of the master menu entries
load a new "distro" .cfg file from that LVM volume (each of the LVM
volume's .cfg file was maintained by the distro package manager).
But that relys on the assumption that the distros all run compatible
versions of Grub2. What I was wondering was whether normal
chainloading would work (which wouldn't rely on that assumption).
--
Grant
next prev parent reply other threads:[~2020-11-25 15:20 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-24 19:04 [gentoo-user] Grub and multiple distros on LVM [was duplicate gentoo system ...] Grant Edwards
2020-11-24 23:21 ` Neil Bothwick
2020-11-24 23:25 ` [gentoo-user] " Grant Edwards
2020-11-24 23:39 ` Neil Bothwick
2020-11-25 8:53 ` Wols Lists
2020-11-25 14:52 ` Neil Bothwick
2020-11-25 15:20 ` Grant Edwards [this message]
2020-11-25 15:54 ` Neil Bothwick
2020-11-25 16:04 ` Grant Edwards
2020-11-25 19:08 ` Neil Bothwick
2020-11-25 19:37 ` Grant Edwards
2020-11-25 23:03 ` Neil Bothwick
2020-11-25 23:12 ` antlists
2020-11-25 15:20 ` Dale
2020-11-25 16:02 ` Peter Humphrey
2020-11-25 16:31 ` Dale
2020-11-26 11:01 ` Dale
2020-11-26 11:44 ` [gentoo-user] Thomas Mueller
2020-11-26 13:15 ` [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...] Thomas Mueller
[not found] ` <20201126131532.149A5E0959@pigeon.gentoo.org>
2020-11-26 13:35 ` Dale
2020-11-26 13:50 ` Neil Bothwick
2020-11-26 13:48 ` Neil Bothwick
2020-11-26 15:57 ` Jack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='rplsn4$k7f$1@ciao.gmane.io' \
--to=grant.b.edwards@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox