Created
January 25, 2025 18:48
-
-
Save mz0/9eea96d8f3583a5f6c4dd2163591dc16 to your computer and use it in GitHub Desktop.
Ubuntu fscrypt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install fscrypt libpam-fscrypt | |
sudo blkid | |
FileSystem=/dev/nvme0n1p4 | |
getconf PAGE_SIZE # 4096 | |
sudo tune2fs -l $FileSystem | grep 'Block size' | |
sudo tune2fs -O encrypt $FileSystem | |
sudo fscrypt setup | |
sudo pam-auth-update |
Author
mz0
commented
Jan 25, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment