refine, dos2unix
parent
566630f0c5
commit
c021e7e52e
1 changed files with 3 additions and 2 deletions
|
|
@ -8,11 +8,12 @@ Generic `/home` encrypted partition
|
|||
|
||||
cp -a /home/* /srv/
|
||||
umount /home
|
||||
touch /home/.undermnt
|
||||
|
||||
cryptsetup -h sha256 -c aes-xts-plain64 -s 512 luksFormat /dev/sda2
|
||||
cryptsetup luksOpen /dev/sda2 chome
|
||||
mkfs.ext4 -E lazy_itable_init=0,lazy_journal_init=0 /dev/mapper/chome
|
||||
blkid
|
||||
blkid /dev/sda2
|
||||
|
||||
mount /dev/mapper/chome /home
|
||||
cp -a /srv/* /home/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue