[Grml] swap issues - la suite
Peter
vmail at mycircuit.org
Fri Apr 24 22:33:36 CEST 2009
Sorry , my mail below about the swap issue was somehow confused, so I
try to be more precise.
I noticed , that the command
pm-hibernate
breaks the existing swap space , because according to ubunutu Bug #66637
, hibernate exspects a file
/etc/initramfs-tools/conf.d/resume
that contains the UUID of the swap space:
RESUME=UUID=424385834....
it does not succeed with device form:
RESUME=/dev/sda2 # this did not work for me
So perhaps, the question I should ask is: what is the recommended
hibernation flavor for grml ?
Thanks
Peter
-------------------------------------------
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