Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lehrkraefte:blc:plg:encryptedhome [2023/02/08 17:17] Ivo Blöchliger |
lehrkraefte:blc:plg:encryptedhome [2023/06/30 09:09] Ivo Blöchliger |
||
---|---|---|---|
Line 6: | Line 6: | ||
cryptsetup luksOpen /dev/xvdc myhome | cryptsetup luksOpen /dev/xvdc myhome | ||
mkfs.ext4 / | mkfs.ext4 / | ||
- | mount / | + | mount / |
+ | # Copy already existing user data | ||
+ | cp -varu / | ||
+ | # May be erase existing | ||
+ | umount | ||
+ | cryptsetup luksClose myhome | ||
</ | </ | ||
In / | In / | ||
<code txt> | <code txt> | ||
- | <volume user="ivo" fstype=" | + | <volume user="user" fstype=" |
</ | </ |