[Grml] swap issues

Peter vmail at mycircuit.org
Fri Apr 24 21:34:40 CEST 2009


Hi
I am setting a swap space to work with hibernate ( pm-utils ) on 
grml-medium2008.11

I did:
aptitude install pm-utils uswsusp

I created a swap partition ( type 82) with cfdisk and did:

mkswap -L SWAP /dev/sda2
dpkg-reconfigure uswsusp
pm-hibernate

This works on suspend, but on resume , there is a message related to the 
swapspace-signature  and the resume fails ( i.e. boot proceeds normally 
but without resume ).

/etc/fstab  ( relevant part ):


/dev/disk/by-uuid/11be6ca6-1cc8-4082-90d6-30adaabaa4ad  /  ext3   
errors=remount-ro 0 1
/dev/sda2    none  swap  defaults  0  0
# Added by GRML
LABEL=SWAP /mnt/SWAP suspend noauto,user,dev,suid,exec 0 0 # /dev/sda2

I wonder why GRML added un entry to mount point /mnt/SWAP ?
swapon -s says nothing and swapon -a says invalid argument.

Is the LABEL a problem in conjunction with the swap space ?

What would be the best way to configure swap for pm-hibernate ?

Thanks for your help
Peter




More information about the Grml mailing list