This commit is contained in:
parent
3151e89431
commit
007a8079bb
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user