Upgrading from Xubuntu 14.04.5 LTS to Xubuntu 16.04.1 LTS

Now that Xubuntu 16.04.1 LTS is out since a couple of months I have started to perform a pilot upgrade in order to sort out any possible issue when it will be time to migrate the other PCs in the house. Especially my wife's laptop is subject to 24/7 availability so I can't afford to have it broken.

In order to safely upgrade from 14.04.5 LTS to 16.04.01 LTS I have decided to proceed as following:

That's it! Your upgrade should now be safely completed. If anything goes wrong during the upgrade, or the upgrade leaves your system in a bad state, you can use the image file to restore your 14.04.5 LTS installation.
To do that, boot off a USB stick with the 16.04, mount the /home partition and re-image the root partition from the file using dd:

sudo dd if=/path/to/mounted/home/partition/rootpart.img of=/dev/sda1
Make sure that you substitute /dev/sda1 with your root partition!
After dd completes, you can reboot into your old 14.04.5 LTS and check what went wrong. Hopefully you won't have to perform these steps.


The republished blog