On one of my computer, when I set resume=/dev/disk/by-uuid/274e7efe-957c-453e-9a00-12618cf298f2 ,i got this error message when booting up, but if I set it to resume=/dev/sda2 (same partition as swap), there is no problem to resume from hiberation. I am quite sure the uuid is correct. I have double-checked it and can successfully mount swap when booting up without hiberation. However since I work it allright I didn't pay much attention.
But I met the same problem with other computer, the question is on this one I have set a lvm2 partition, so I am totally at lost, I don't have any clue to solve the problem, anyone could help me? Thanks very very much.
Last edited by ganlu (2008-05-18 00:28:35)
The problem might be that uuid is recorded inside the partition (I think, since it depends on the filesystem), and hibernating overwrites the contents of that partition (it just starts at the beginning and goes on). So it can be that during resume (and only then), the uuid on the swap partition cannot be read.
Could be, but both fstab and menu.1st don't have uuid set, so I guess there may be a bug something in our kernel or other related package? (Dont 'have problem with Fedora 9)
/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
/dev/mapper/VolGroup00-LogVol00 / ext3 defaults 0 1
/dev/mapper/VolGroup00-LogVol01 swap swap defaults 0 0
UUID=b68eb068-637e-445a-80a7-bb2c60468a6f /boot ext3 defaults 0 1
title Arch Linux
kernel /vmlinuz26 root=/dev/mapper/VolGroup00-LogVol00 resume=/dev/mapper/VolGroup00-logVol01 ro vga=792
I solved the problem. According to lvdisplay information I changed the line: "resume=/dev/mapper/VolGroup00-logVol01" to "resume=/dev/VolGroup00/LogVol01", it works. though I don't know why grub (or kinit) can regnize the root partition, but don't know resume (swap) partition.
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID qskTxP-8qhX-AtMV-6Wq5-yuGL-0xIy-dryZGX
LV Write Access read/write
LV Status available
# open 2
LV Size 1.00 GB
Current LE 32
Read ahead sectors auto
- currently set to 256
Block device 254:1
title Arch Linux
kernel /vmlinuz26 root=/dev/mapper/VolGroup00-LogVol00 resume=/dev/VolGroup00/LogVol01 ro vga=792