[dm-devel] [PATCH 0/2] boot to a mapped device

Richard Weinberger richard.weinberger at gmail.com
Wed Sep 26 07:16:57 UTC 2018


Helen,

On Wed, Sep 26, 2018 at 7:01 AM Helen Koike <helen.koike at collabora.com> wrote:
>
> This series is reviving an old patchwork.
> Booting from a mapped device requires an initramfs. This series is
> allows for device-mapper targets to be configured at boot time for
> use early in the boot process (as the root device or otherwise).

What is the reason for this patch series?
Setting up non-trivial root filesystems/storage always requires an
initramfs, there is nothing
wrong about this.

> Example, the following could be added in the boot parameters.
> dm="lroot,,,rw, 0 4096 linear 98:16 0, 4096 4096 linear 98:32 0" root=/dev/dm-0

Hmmm, the new dm= parameter is anything but easy to get right.

-- 
Thanks,
//richard




More information about the dm-devel mailing list