@jens: I think the by-uuid symlink is only updated after a reboot, you
can try vol_id

I had to do the following to solve it:
- correct fstab with the UUID outputted by mkswap (vol_id might work, but 
/dev/disk/by-uuid definitely don't)
- put "RESUME=UUID=<uuid>" in /etc/initramfs-tools/conf.d resume.

The second step should definitely be done in postinst or upgrade for
initramfs-tools since without this the swapspace get corrupted after a
suspend2disk (currently the resume file is created only on install).

Now swsusp works and the laptop don't have any problem of swap disappearing.
I think the reason conf.d/resume wasn't created in the first place is because 
it was a "custom" dapper install (the swap already existed from a previous 
linux installation, so somehow when initramfs-tools was installed there wasn't 
any swap space available.

-- 
swap not being mounted on boot
https://launchpad.net/bugs/66637

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

Reply via email to