You are not logged in.

#1 2015-02-26 04:10:31

0X1A
Member
Registered: 2013-03-27
Posts: 43

No suspend to disk with gummiboot

As far as I could tell all of my configurations are correct though I can still not get my machine to suspend when using gummiboot
Entry:

title	Arch Linux
linux	/vmlinuz-linux
initrd	/initramfs-linux.img
options	cryptdevice=UUID=eb2e48ea-fd93-4e28-876c-60cfd36a1454:lvm:allow-discards root=UUID=ad2326b0-33f3-4b62-82ff-0ef97d8caca8 rw resume=/dev/mapper/volumes-swap

Output of /proc/cmdline:

initrd=\initramfs-linux.img cryptdevice=UUID=eb2e48ea-fd93-4e28-876c-60cfd36a1454:lvm:allow-discards root=UUID=ad2326b0-33f3-4b62-82ff-0ef97d8caca8 rw resume=/dev/mapper/volumes-swap

Offline

#2 2015-02-26 04:14:05

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: No suspend to disk with gummiboot

All the resume stuff happens with the kernel and initramfs.  So gummiboot doesn't actually have anything to do with it.

Offline

#3 2015-02-26 04:16:10

0X1A
Member
Registered: 2013-03-27
Posts: 43

Re: No suspend to disk with gummiboot

I see, in that case it's my hooks. I have resume enabled though, should it be in a certain order when using encrypt and lvm2?

HOOKS="base udev autodetect modconf block encrypt lvm2 resume filesystems keyboard fsck"

Offline

#4 2015-02-28 11:34:25

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: No suspend to disk with gummiboot

I think i have found the mistake in the kernel commandline:

cryptdevice=UUID=eb2e48ea-fd93-4e28-876c-60cfd36a1454:lvm:allow-discards resume=/dev/mapper/volumes-swap

Probably "lvm" should be the name of the volume group in the resume parameter:
wrong

resume=/dev/mapper/volumes-swap

corrected

resume=/dev/mapper/lvm-swap

Offline

Board footer

Powered by FluxBB