diff --git a/encrypt-swap-Ubuntu-20.04.md b/encrypt-swap-Ubuntu-20.04.md index 48522bb..15d9dc1 100644 --- a/encrypt-swap-Ubuntu-20.04.md +++ b/encrypt-swap-Ubuntu-20.04.md @@ -30,13 +30,13 @@ cryptsetup open /dev/nvme0n1p2 cryptswap mkswap /dev/mapper/cryptswap ~~~ -* ajust /etc/fstab to use your mapper, replace your encrypt swap device like bellow : +* ajust **/etc/fstab** to use your mapper, replace your encrypt swap device like bellow : ~~~ /dev/mapper/cryptswap none swap discard 0 0 ~~~ -* add your encrypt swap device define in /etc/crypttab +* add your encrypt swap device define in **/etc/crypttab** ~~~ cryptswap /dev/nvme0n1p2 none luks @@ -48,7 +48,7 @@ cryptswap /dev/nvme0n1p2 none luks swapon -a ~~~ -* edit /etc/initramfs-tools/conf.d/resume. Replace the existing RESUME line with the following line. +* edit **/etc/initramfs-tools/conf.d/resume**. Replace the existing **RESUME** line with the following line. ~~~ printf "RESUME=UUID=/dev/mapper/cryptswap" | tee /etc/initramfs-tools/conf.d/resume