Thank you for this valuable input, refixed to follow the logic of the
largest partition! (Still hiding in maks/swap but expect it to hit master
by tommorrow)
> 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
With fixed initramfs-tools 2) is no longer necessary and 3) will happen
anyway sooner or later in the sense that newer initramfs get generated
and updated (of course not all of them :).
On Wed, Sep 11, 2013 at 10:52:28AM -0000, Dmitrijs Ledkovs wrote: tools/conf. d/resume. bazaar. launchpad. net/~ubuntu- installer/ ubiquity/ trunk/view/ head:/scripts/ plugininstall. py#L835
> 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-
> http://
Thank you for this valuable input, refixed to follow the logic of the
largest partition! (Still hiding in maks/swap but expect it to hit master
by tommorrow)
> 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: tools/conf. d/resume with new UUID
> 1) adjust /etc/fstab with new UUID
> 2) adjust /etc/initramfs-
> 3) update-initramfs -k all -u
With fixed initramfs-tools 2) is no longer necessary and 3) will happen
anyway sooner or later in the sense that newer initramfs get generated
and updated (of course not all of them :).