I believe that a lot can be done to extend the usefulness of the
local-top/lvm2 script. Currently the script supports a number of
formats for root and swap filesystem names, but it's vary limited.
fe[0-9]*
/dev/root
/dev/mapper/#\(.*\)\([^-]\)-[^-].*#
This leaves UUID file systems and a whole lot more. I suggest that
a handful of kernel command line parameters are added. There is
specifying the vg of the root and swap partitions and perhaps it
should just allow the mounting of any number of lvms, including "".
Would there be any objection to carrying out this task and attaching
the new script to this bug?
There is also the version of lvm to use, I feel the user should be
able to force this with a nolvm2 and/or a uselvm1.
P.S.
The script provided by this package and the one provided by
initramfs-tools(lvm) are vary similar, perhaps a join and
removing lvm2 from this package and having the initramfs-tools
pkg have one script that covers both.