unable to access resume device (LABEL=SWAP=hda3)
Since my latest update of the kernel and suspend2 kernel , I have a serious suspend problem.
My swap partition is not mounting automaticly. Even when I boot the older kernel the swap partition is not mounted.
So I removed the swap partition and recreated it. Formatted it as swap.
swapon does work.
I labeld my new swap as /dev/hda3.
my fstab contains :
/dev/hda3 swap swap defaults 0 0
cat /proc/swaps:
Filename Type Size Used Priority
/dev/hda3 partition 2097136 0 -1
My grub.conf:
#boot=/dev/hda
default=0
timeout=5
password --md5 $1$2NmEN1$JsCY3zd3znmK5NXVHHpyC.
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.17-1.2174_1.rhfc5.cubbi_suspend2)
root (hd0,0)
kernel /vmlinuz-2.6.17-1.2174_1.rhfc5.cubbi_suspend2 ro root=LABEL=/ vga=0x31B rhgb quiet resume2=swap:/dev/hda3
initrd /initrd-2.6.17-1.2174_1.rhfc5.cubbi_suspend2.img
After I manualy mount the swap space, I can use the pm-hibernate, but when powering on my laptop again I receive the same message..... even when I have not labled the swap as SWAP-hda3 is receive the message with SWAP-hda3 in it......
And the swapspace is not mounted....
Anybody a clue??
additional info: In /etc/lvm/.cache was SWAP-hda3 mentioned. I did a lvmdiskscan and then the entry was renamed. But with a reboot after the nash started there was still a message unable to access resume device [LABEL=SWAP-hda3]..... I do not have a clue what script/program is giving that.
I am now running a: find . -exec grep -i swap-hda3 {} \; from the root.
Re: unable to access resume device (LABEL=SWAP=hda3)
Thanks to all the posters above. I've been struggling with this for a while, following unsuccessfully the mkinitrd suggestions. So I ignored it long enough before it became unbearable and tried Nord's suggestion. This worked.
Steps:
/sbin/swapoff -a
/sbin/mkswap -L SWAP-sda7 /dev/sda7
Edit /etc/fstab to change the label from "swap" to "SWAP-sda7"
/sbin/swapon -a
Reboot. No error message.
Thanks again.