This commit is contained in:
Michel Le Cocq 2020-06-24 09:37:05 +02:00
parent 3151e89431
commit 007a8079bb
1 changed files with 19 additions and 12 deletions

View File

@ -39,6 +39,25 @@ mkswap /dev/nvme0n1p2
swapon -a
~~~
* remove file */etc/initramfs-tools/conf.d/resume*
~~~
rm /etc/initramfs-tools/conf.d/resume
~~~
Register these changes.
~~~{console}
root@laptop:/root# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-5.4.0-37-generic
cryptsetup: ERROR: Couldn't resolve device rpool/ROOT/ubuntu_0ctpm6
cryptsetup: WARNING: Couldn't determine root device
I: The initramfs will attempt to resume from /dev/nvme0n1p2
I: (UUID=09c1daa8-a572-41b9-8655-c38ea7778723)
I: Set the RESUME variable to override this.
root@laptop:/root#
~~~
/!\ le point ci-dessous est sans doute inutile
* Change your /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT to point to your real partition
@ -51,16 +70,4 @@ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/nvme0n1p2"
update-grub
~~~
* remove file */etc/initramfs-tools/conf.d/resume*
~~~
rm /etc/initramfs-tools/conf.d/resume
~~~
Register these changes.
~~~
update-initramfs -u -k all
~~~
Next you need to reboot to enable everything and test it.