Hi,

how can I achieve the following with minimal manual intervention based
on genkernel's default linuxrc script?

1) Scan for physical volumes, setup volume groups (I guess that is what
"startVolumes" does).

2) Do (the equivalent of) cryptsetup luksOpen /dev/mapper/vg1-crypt
crypt_pv. First, with passphrase, later, key from USB would be nice.

3) Rescan for PVs (= recognize /dev/mapper/crypt_pv as a physical
volume), setup the new volume group contained therein.

4) Add rootfs and swap from /dev/mapper/vg2-root and /dev/mapper/vg2-swap

Thanks a lot & Bye,

Jens


Reply via email to