diff --git a/disable-encrypt-swap-partition.md b/disable-encrypt-swap-partition.md index b600e3c..dbc2f2b 100644 --- a/disable-encrypt-swap-partition.md +++ b/disable-encrypt-swap-partition.md @@ -51,10 +51,10 @@ 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. +* remove file */etc/initramfs-tools/conf.d/resume* ~~~ -printf "RESUME=/dev/nvme0n1p2" | tee /etc/initramfs-tools/conf.d/resume +rm /etc/initramfs-tools/conf.d/resume ~~~ Register these changes.