1204_HWE_EOL

Differences between revisions 12 and 13
Revision 12 as of 2014-05-20 13:21:38
Size: 5985
Editor: petermatulis
Comment:
Revision 13 as of 2014-05-20 13:43:09
Size: 5719
Editor: petermatulis
Comment:
Deletions are marked like this. Additions are marked like this.
Line 90: Line 90:
This depends if you are running on a desktop or server system. The hwe-support-status script will tell you exactly what you need to run.
 * Desktop: sudo apt-get install linux-generic-lts-trusty xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty
 * Server: sudo apt-get install linux-generic-lts-trusty

Then reboot into your new Trusty hardware stack.
The hwe-support-status tool will tell you what you need to do.
Line 98: Line 94:
The only command you need to run is:
sudo do-release-upgrade (currently you would need to do '-d')
The hwe-support-status tool will tell you what you need to do.
Line 101: Line 96:
But it's strongly recommended to make sure the system is in a good state before upgrading. More details will be found here: https://help.ubuntu.com/community/TrustyUpgrades which unfortunately doens't have 12.04->14.04 notes yet. If you want to upgrade a desktop system to 14.04 before July 16, 2014 (the date at which all necessary software components are in the regular -updates repository) you will need to invoke update-manager from the command line:
Line 103: Line 98:
It generally boils down to make sure you have free space (2x the size of all installed packages - also consider running apt-get autoremove to clean up old packages), make sure you are fully up to date, make sure reboots works normally (and on dual boot Linux machines, note which one controls grub), and make a backup. {{{
update-manager -p
}}}
Line 105: Line 102:
== 3. Fresh Install of 14.04 LTS == For both servers and desktops it's strongly recommended to ensure a system is in a good state before upgrading. Here are some tips:
Line 107: Line 104:
You always have the option of redeploying the machines with a fresh copy of Ubuntu 14.04 LTS and the reconfiguring them to your needs.  * Enough free space (2x the size of all installed packages)
 * Update all packages
 * Run ''sudo apt-get autoremove'' to clean up old packages
 * Ensure a reboot works normally (and on dual boot Linux machines, note which operating system controls the bootloader/GRUB)
 * Perform a backup of important data

== 3. Fresh install of 14.04 LTS ==

Redeploy with a fresh copy of Ubuntu 14.04 LTS.

What is HWE?

Hardware Enablement Stacks (HWE) are incorporated into installers for select LTS point releases. It is a special Ubuntu feature that provides an LTS release with hardware support introduced in newer Ubuntu releases. For Ubuntu 12.04 the point releases are .2/.3/.4/.5 and the corresponding Ubuntu releases are 12.10/13.04/13.10/14.04.

The HWE path can be obtained in 2 ways:

  1. Installing Ubuntu from the media (ISO) for these point releases (where HWE is used by default)
  2. Manually installing some packages

End-of-life (EOL) for 12.04, 12.04.1, and 12.04.5 HWE is April 2017 but for the other HWE stacks it is roughly when 14.04.1 is released: Aug 8, 2014.

Further reading:

And why should I care?

Starting Aug 8, 2014 systems running 12.04.2 HWE, 12.04.3 HWE, or 12.04.4 HWE will no longer receive software updates for the kernel and, if you're running it, the graphics stack.

How do I know if I'm affected?

You can:

  1. use a tool expressly designed to let you know
  2. look at what packages you have installed

Tool

The tool is called hwe-support-status and it will be available first in the -proposed and then in the -updates repositories:

  • precise-proposed (by June 13)
  • precise-updates (by June 27)

It will become available in package update-manager-core.

To run:

hwe-support-status --verbose

Get it from Launchpad if you want it earlier:

sudo apt-get install bzr -y
cd ~
bzr co --lightweight  lp:~mvo/update-manager/hwe-support-status
cd hwe-support-status
./hwe-support-status --verbose

Notes on this tool:

  • Contains the central logic used by other mechanisms/software that have been modified to alert the user of HWE EOL. These are:
    1. update-manager (desktop)
    2. update-motd
    3. ubuntu-support-status
    4. Landscape
    5. Nagios
  • On affected systems, it provides command line instructions for machines not running a graphics stack (typically servers). It will refer you to a graphical tool (update-manager) if a graphics stack is detected (typically desktops).

Packages

Check your running kernel version:

uname -r
  • you are affected if it shows a kernel in these series: 3.5 or 3.8 or 3.11
  • you are not affected if it shows a kernel in these series: 3.2 or 3.13

This method does not check for a graphics stack HWE. However, you cannot get a HWE graphics stack without a corresponding HWE kernel unless you've done things manually. Note that such a combination (HWE graphics with non-HWE kernel) is not supported.

What to do if I'm affected?

You have three options:

  1. Install 12.04.5 HWE (Trusty kernel/graphics)
  2. Upgrade to 14.04 LTS
  3. Fresh install of 14.04 LTS

1. Install 12.04.5 HWE (Trusty kernel/graphics)

The hwe-support-status tool will tell you what you need to do.

2. Upgrade to 14.04 LTS

The hwe-support-status tool will tell you what you need to do.

If you want to upgrade a desktop system to 14.04 before July 16, 2014 (the date at which all necessary software components are in the regular -updates repository) you will need to invoke update-manager from the command line:

update-manager -p

For both servers and desktops it's strongly recommended to ensure a system is in a good state before upgrading. Here are some tips:

  • Enough free space (2x the size of all installed packages)
  • Update all packages
  • Run sudo apt-get autoremove to clean up old packages

  • Ensure a reboot works normally (and on dual boot Linux machines, note which operating system controls the bootloader/GRUB)
  • Perform a backup of important data

3. Fresh install of 14.04 LTS

Redeploy with a fresh copy of Ubuntu 14.04 LTS.

FAQ

  • I am running 12.04.2 HWE. From August 8, 2014 onwards my system will no longer receive package updates?

Not true. Such a system will only stop receiving updates for the kernel and the graphics stack. The rest of the software will continue to get updates.

  • So if I am running 12.04.3 (as seen from lsb_release -d) then starting from August 8, 2014 my kernel and graphics stack will no longer receive package updates?

Not true. 12.04.3 is not 12.04.3 HWE. And since HWE (and thus a new kernel series) cannot be introduced through regular package updates it is possible to update a non-HWE system to arrive at a later point release, such as 12.04.3, and still preserve the EOL date of April 2017.

What are the pros and cons of those options?

HWE Upgrade Only

Full 14.04 Upgrade

Fresh 14.04 Install

Kernel

14.04 Kernel version (3.13 kernel)

14.04 Kernel version (3.13 kernel)

14.04 Kernel

Xorg

14.04 Xorg and Graphics Stack

14.04 Xorg and Graphics Stack

14.04 Xorg and Graphics Stack

EOL

12.04 EOL (April 2017)

14.04 EOL (April 2019)

14.04 EOL

Applications/Servers

Generally no change1

Newer 14.04 Versions will be installed, may need reconfiguring

Needs to be fully reconfigured and restored

Time 2

10-30 Minutes with reboot

1-3 hours with reboot +

30 Minutes (just install)

  1. It's important to note that changing the Linux kernel/Xorg stack can affect applications. For example the 14.04 kernel can online resize ext4 partitions much faster than the 12.04 kernel can. (1)

  2. These are just estimates, if you are scheduling a downtime window please do your own tests on your environment (2)

1204_HWE_EOL (last edited 2014-07-18 00:18:26 by seth-arnold)