Comment 37 for bug 50437

Revision history for this message
Rarylson Freitas (rarylson) wrote :

The workaround in post 35 (https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/50437/comments/35) works, but there's a more simple workaround to get the same result:

1) Update your /etc/fstab with your new SWAP partition (or partitions);
2) /var/lib/dpkg/info/initramfs-tools.preinst install
3) update-initramfs -k all -u

The only improvement is in step 2. The proposed command automatically updates the UUID of the RESUME var.