On 24/11/20 23:39, Neil Bothwick wrote:
> On Tue, 24 Nov 2020 23:25:38 -0000 (UTC), Grant Edwards wrote:
> 
>>>> In grub, does chainloading an LVM virtual partition work the same as
>>>> chainloading a "real" partition?  
>>>
>>> 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?
> 
> Maybe what you want. I haven't used LVM or GRUB much n the past several
> years, so maybe it is OK now, although a quick web search before I posted
> implied it wasn't. RTFM time?
> 
> 
I *think* the grub volume itself has to be plain, no lvm, mdadm etc. All
the stuff for that is in the initramfs, so grub loads the initramfs,
starts the kernel, the kernel starts pid 1 which can now start mdadm,
lvm etc, and then it can pivot root onto the proper root filesystem.

Cheers,
Wol

Reply via email to