mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-12-22 06:51:35 -05:00
Upgrade to LUKS2 with PBKDF2
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
5bdf823804
commit
9499824cd5
@ -158,7 +158,7 @@ mkfs.fat -F 32 -s 2 "${ESP}" &>/dev/null
|
||||
|
||||
## Creating a LUKS Container for the root partition.
|
||||
output 'Creating LUKS Container for the root partition.'
|
||||
echo -n "${luks_password}" | cryptsetup luksFormat --type luks1 ${cryptroot} -d - &>/dev/null
|
||||
echo -n "${luks_password}" | cryptsetup luksFormat --pbkdf pbkdf2 ${cryptroot} -d - &>/dev/null
|
||||
echo -n "${luks_password}" | cryptsetup open ${cryptroot} cryptroot -d -
|
||||
BTRFS='/dev/mapper/cryptroot'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user