This article shows how to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS.

Warning: Before upgrading, backup your data.

Note that it is generally not recommended to upgrade from one LTS (Long-Term Support) release to the latest LTS edition until a point edition of the latest LTS has been released. For example, you are not expected to upgrade a previous LTS edition to Ubuntu 14.04 until Ubuntu 14.04.1 has been released.

But that’s just a recommendation, which I’m not very good at following. So if you are like me and want to upgrade you copy of Ubuntu 12.04 LTS to Ubuntu 14.04 LTS, this post shows what you need to do. If you have an updated installation of Ubuntu 12.04, it should really be Ubuntu 12.04.4.

Another thing to keep in mind. I did not lose any data with this process, though one system setting was reverted to the default. But it was likely because that particular system module (System Settings > Appearance) changed in Ubuntu 14.04. The setting that I’m referring to handles auto-hiding of the launcher (see 4 things to do after installing Ubuntu 14.04).

To begin the upgrade process, launch the Software & Updates manager, then click on the Updates tab. From the “Notify me of a new Ubuntu version,” select For long-term support versions. If you select anything else, you will likely be upgrading to Ubuntu 12.10, not Ubuntu 14.04.
Upgrade Ubuntu 12.04 LTS

Now, open a shell terminal and type <strong>sudo do-release-upgrade -d</strong>. You may view the output from the beginning to the end of the process here. After the upgrade, you will be promoted to reboot. If you are running the system in a virtual environment, it is likely that you will encounter the problem described in Solution for low screen resolution after upgrading to, or installing, Ubuntu 14.04.

Here are a few screenshots from my test installation after the upgraded completed.

After rebooting, this screenshot shows the best screen resolution that I could get and a system upgrade problem that came up. But that seems to be a known issue with Ubuntu 14.04. See Solution for low screen resolution after upgrading to, or installing, Ubuntu 14.04 for the solution.
Ubuntu 14.04 low screen resolution

This one shows the top part of the bug report.
Ubuntu 14.04 low screen resolution

And this one shows the bottom part of that same report. After fixing the low screen resolution problem, everything worked just fine. And the entire process took less than two hours.
Ubuntu 14.04 low screen resolution