diff --git a/encrypt-swap-Ubuntu-20.04.md b/encrypt-swap-Ubuntu-20.04.md index c94b149..4eb844a 100644 --- a/encrypt-swap-Ubuntu-20.04.md +++ b/encrypt-swap-Ubuntu-20.04.md @@ -66,12 +66,22 @@ swapoff /dev/mapper/cryptswap1 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/nvme0n1p2" ~~~ +~~~ +update-grub +~~~ + * edit /etc/initramfs-tools/conf.d/resume. Replace the existing RESUME line with the following line. ~~~ RESUME=/dev/nvme0n1p2 ~~~ +Register these changes. + +~~~ +update-initramfs -u -k all +~~~ + * make your partition a swap ~~~ @@ -84,6 +94,8 @@ mkswap /dev/nvme0n1p2 swapon -a ~~~ + + ## to be solve ~~~