ajustement apres comprehension initramfs /etc/default/greu resume

Michel Le Cocq 2020-06-23 09:56:22 +02:00
parent 6eb05dc269
commit 0c976ae037

@ -12,10 +12,12 @@ cryptsetup open /dev/<device> cryptswap
mkswap /dev/mapper/cryptswap
~~~
edit : /etc/default/grub
/!\ le point ci-dessous est sans doute inutile
* Change your /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT to remove resume part wich is now manage by initramfs
~~~
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=4fd1ffc-6d5b-450a-9737-abf1ffb80b1"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
~~~
~~~
@ -63,6 +65,12 @@ cryptsetup: WARNING: Couln't determine root device
swapoff /dev/mapper/cryptswap1
~~~
* Undo the existing mapping.
~~~
cryptsetup luksClose /dev/mapper/cryptswap
~~~
* remove your encrypt swap device define in your /etc/crypttab
* ajust /etc/fstab to use your real swap partition
@ -71,7 +79,9 @@ swapoff /dev/mapper/cryptswap1
/dev/nvme0n1p2 none swap discard 0 0
~~~
* Change your /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT to
/!\ le point ci-dessous est sans doute inutile
* Change your /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT to point to your real partition
~~~
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/nvme0n1p2"