This bug is still present in Hardy.  I upgraded from 7.04, and when I
booted today, I got this message:

resume: libcrypt version 1.2.4
resume: Could not stat the resume device file '/dev/mapper/cswap'
Please type in the full pathname to try again
or press ENTER to boot the system:

When I boot, however, I have my full compliment of swap memory.

Running update-initramfs -u -k all give me:

update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
cryptsetup: WARNING: found more than one resume device candidate:
                     /dev/mapper/cswap
                     UUID=65336f5d-40f3-4180-b930-53c4586e9f40
cryptsetup: WARNING: target cswap has a random key, skipped
[EMAIL PROTECTED]:/etc# nano fstab
[EMAIL PROTECTED]:/etc# sudo update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
cryptsetup: WARNING: found more than one resume device candidate:
                     /dev/mapper/cswap
                     UUID=65336f5d-40f3-4180-b930-53c4586e9f40
cryptsetup: WARNING: target cswap has a random key, skipped
update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic
cryptsetup: WARNING: found more than one resume device candidate:
                     /dev/mapper/cswap
                     UUID=65336f5d-40f3-4180-b930-53c4586e9f40
cryptsetup: WARNING: target cswap has a random key, skipped

My relevant part of fstab:

# /dev/sda2
#UUID=65336f5d-40f3-4180-b930-53c4586e9f40 none            swap    sw           
   0       0
/dev/mapper/cswap       none    swap    sw      0       0

/etc/uswsusp.conf:

# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
#resume device = UUID=65336f5d-40f3-4180-b930-53c4586e9f40
resume device = /dev/mapper/cswap
splash = y
compress = y
early writeout = y
image size = 977818746
RSA key file = /etc/uswsusp.key
shutdown method = platform

-- 
Boot process asks for "resume device file"
https://bugs.launchpad.net/bugs/108230
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to