As ubiquity is using live-cd / preinstalled, initramfs-tools preinst is not run.
Ubiquity simply parses /proc/swaps, finds largest partition and writes out 
/etc/initramfs-tools/conf.d/resume.
http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/view/head:/scripts/plugininstall.py#L835

Thus in install/upgrade/reinstall cases with ubiquity it should all just work 
correctly. But indeed if one manually modifies/recreates swap partition one 
must at the moment do the following:
1) adjust /etc/fstab with new UUID
2) adjust /etc/initramfs-tools/conf.d/resume with new UUID
3) update-initramfs -k all -u

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/50437

Title:
  Resume from hibernation may fail because swap partition UUID does not
  match /etc/initramfs-tools/conf.d/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/50437/+subscriptions

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

Reply via email to