Originally Posted by
Telos3K
I'm back because even though I haven't resolved how to best partition my disk, I at least want to have my swap partition working so I can hibernate. As I described above, I set it up in gParted as /dev/sda7, with the file system as linux-swap.
My /etc/initramfs-tools/conf.d/resume file reads:
Code:
RESUME=UUID=89a1b68b-20dd-4897-b826-92ba8adeb48d
what changes do I have to make? Anything else I have to do?
Many thanks!
Confirm the UUID, fstab and resume settings match, then update initial ram disk:
Code:
$ sudo blkid /dev/sda7
/dev/sda7: UUID="89a1b68b-20dd-4897-b826-92ba8adeb48d" TYPE="swap"
$ cat /etc/fstab | grep swap
UUID=89a1b68b-20dd-4897-b826-92ba8adeb48d none swap sw 0 0
$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=89a1b68b-20dd-4897-b826-92ba8adeb48d
# if that's all good
$ sudo update-initramfs -u
Bookmarks