1 |
Hi, |
2 |
|
3 |
how can I achieve the following with minimal manual intervention based |
4 |
on genkernel's default linuxrc script? |
5 |
|
6 |
1) Scan for physical volumes, setup volume groups (I guess that is what |
7 |
"startVolumes" does). |
8 |
|
9 |
2) Do (the equivalent of) cryptsetup luksOpen /dev/mapper/vg1-crypt |
10 |
crypt_pv. First, with passphrase, later, key from USB would be nice. |
11 |
|
12 |
3) Rescan for PVs (= recognize /dev/mapper/crypt_pv as a physical |
13 |
volume), setup the new volume group contained therein. |
14 |
|
15 |
4) Add rootfs and swap from /dev/mapper/vg2-root and /dev/mapper/vg2-swap |
16 |
|
17 |
Thanks a lot & Bye, |
18 |
|
19 |
Jens |