This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
computing:encryption [2019/07/20 13:00] – oemb1905 | computing:encryption [2024/01/29 18:01] – oemb1905 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
------------------------------------------- | ------------------------------------------- | ||
* **encryption** | * **encryption** | ||
Line 9: | Line 8: | ||
Creating a encrypted partition for your workstation using cryptsetup. | Creating a encrypted partition for your workstation using cryptsetup. | ||
+ | |||
+ | sudo apt-get install cryptsetup libpam-mount | ||
cryptsetup luksFormat /dev/sdaX | cryptsetup luksFormat /dev/sdaX | ||
cryptsetup luksOpen /dev/sdaX vault | cryptsetup luksOpen /dev/sdaX vault | ||
Line 49: | Line 50: | ||
</ | </ | ||
| | ||
- | Okay, reboot | + | Alternately, you may want to let pam_mount manage the crypt mounting |
+ | |||
+ | rsync -av /home /backup | ||
+ | umount /home/ | ||
+ | cryptsetup luksFormat /dev/sdaX | ||
+ | cryptsetup luksOpen /dev/sdaX home | ||
+ | mkfs.xfs -L home / | ||
+ | mount / | ||
+ | rsync -av / | ||
+ | sudo nano / | ||
+ | <volume user=" | ||
+ | |||
+ | Remove the error " | ||
+ | |||
+ | sudo nano / | ||
+ | < | ||
- | --- //[[netcmnd@jonathanhaack.com|oemb1905]] | + | --- //[[jonathan@haacksnetworking.org|oemb1905]] |