You are not logged in.

#1 2010-11-25 22:40:15

rockdragon
Member
Registered: 2010-05-02
Posts: 5

s2disk mkinitcpio.conf question

Hi there,

I wasted some hours today to get hibernation working properly.
My setup is an unencrypted /boot partition and an encrypted lvm volume group which contains swap and root partitions.
Using uswsusp (because of the s2both feature) I followed this ("poorly written") guide: https://wiki.archlinux.org/index.php/S2 … e_intramfs
Putting the uresume hook before filesystems as mentions in the article, it always complaint it couldn't read the snapshot file.
Then I tried to put the uresume - hook _after_ (on the right side of) the filesystems hook in /etc/mkinitcpio.conf and it worked.
The snapshot file comes with the root filesystem which you have to mount first, so thats logical anyway.

My question here is: Am I doing the right thing here? If yes, why is this part of the article completely wrong? Not very helpful ...

greetings
rd

Offline

#2 2010-11-25 23:42:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: s2disk mkinitcpio.conf question

My configuration is the same as yours, and my hooks look like this:

HOOKS="base udev autodetect pata lvm2 uresume filesystems"

More generally - It's a wiki, which means it can be wrong. Correct it, and enjoy the warm glow that contributing creates. smile

Offline

Board footer

Powered by FluxBB