You are not logged in.

#1 2012-04-08 01:00:17

youicide
Member
Registered: 2012-04-08
Posts: 3

setting up s2disk, get ==> ERROR: Hook 'uresume' cannot be found.

Just switched from ubuntu trying to get s2disk to work, my suspend.conf file is
snapshot device = /dev/snapshot
resume device = /dev/sda2
#image size = 350000000
#suspend loglevel = 2
#compute checksum = y
compress = y
#encrypt = y
#early writeout = y
#splash = y

/etc/mkinitcpio.conf  has init
HOOKS="base udev autodetect pata scsi sata uresume filesystems usbinput fsck"

running mkinitcpio spits out the error
==> ERROR: Hook 'uresume' cannot be found.

can't get past point, I'm following the tutorial over at https://wiki.archlinux.org/index.php/Su … ate-script

thanks for any help, so far my experience with arch has been plesent, after a bit of a learning curve I have screen rotation and my stylus working on my TC4400 now I need get s2disk and good gui network manager and I'd be done setting things up.  Really like arch, I always missed grub1 and hated how ubuntu switched to grub2 and hated the notifications and ubuntu software center.  IMHO I like apt better than pacman but the bleeding edge packages in arch repos are nice.

Offline

#2 2012-04-08 01:09:03

youicide
Member
Registered: 2012-04-08
Posts: 3

Re: setting up s2disk, get ==> ERROR: Hook 'uresume' cannot be found.

Fixed it myself, installed uswsusp-git from AUR and now it works.  Sorry to clutter the forum!

Offline

#3 2012-04-08 01:34:42

youicide
Member
Registered: 2012-04-08
Posts: 3

Re: setting up s2disk, get ==> ERROR: Hook 'uresume' cannot be found.

now my boot hangs on

::running hook [udev]
:  Triggering uevents...done
::  running Hook [uresume]
resume libgcrypt version: 1.5.0

then it hangs and nothing, I tried booting a live distro clearing the swap space and still nothing

Offline

#4 2012-05-21 05:33:58

jchtt
Member
From: Germany
Registered: 2006-12-10
Posts: 13

Re: setting up s2disk, get ==> ERROR: Hook 'uresume' cannot be found.

I ran into exactly the same problem here. Were you able to fix it?

Offline

#5 2012-07-24 13:55:15

anykey
Member
From: Trier, Germany
Registered: 2004-06-12
Posts: 79

Re: setting up s2disk, get ==> ERROR: Hook 'uresume' cannot be found.

A little late,  but maybe it helps someone else:

You need to rebuild your initramfs whenever you make changes to /etc/suspend.conf. If your boot hangs after the libgcrypt message, your kernel cannot find the resume image at any location, and apparently, it stops booting altogether then.

I have added a note to the wiki page clarifying this.

Rgds
anykey

Offline

Board footer

Powered by FluxBB