#REDIRECT EOLUpgrades #title Upgrading to Ubuntu 8.04 LTS ||<>|| = Introduction = This document provides instructions and notes on upgrading to Ubuntu 8.04 LTS (Hardy Heron), released on the 24th of April 2008. == Before You Start == * You can directly upgrade to Ubuntu 8.04 LTS ("Hardy Heron") from Ubuntu 7.10 ("Gutsy Gibbon") or from Ubuntu 6.06 LTS ("Dapper Drake"). This page contains instructions for both. (see UpgradeNotes) * Be sure that you have all updates applied to your current version of Ubuntu before you upgrade. * Before upgrading it is recommended that you read the [[http://www.ubuntu.com/getubuntu/releasenotes/804|release notes]] for Ubuntu 8.04 LTS, which document caveats and workarounds for known issues in this version. If you have a version of Ubuntu other than 6.06 LTS or 7.10, please see [[UpgradeNotes]] for information on how to upgrade. == Upgrade from 7.10 to 8.04 LTS == === Known Problems === 1. The upgrade will freeze on the `locales` package if you are using the (current) Gutsy kernel, 2.6.22-15. Reboot into 2.6.22-14 before upgrading. See [[https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/249340| the bug report on Launchpad]] for full details. === Network Upgrade from 7.10 for Ubuntu Desktops (Recommended) === You can easily upgrade over the network with the following procedure. 1. Open '''System''' -> '''Administration''' -> '''Update Manager''' {{attachment:update_manager_01.png}} 1. Click the '''Check''' button to check for new updates. 1. If there are any updates to install, use the '''Install Updates''' button to install them, and press '''Check''' again after that is complete. 1. A message will appear informing you of the availability of the new release. {{attachment:update-manager-upgrade-804.png}} 1. Click '''Upgrade'''. 1. Follow the on-screen instructions. === Network Upgrade from 7.10 for Kubuntu Desktops (Recommended) === '''To upgrade from Kubuntu 7.10 to 8.04''', over the internet, use the following procedure. For a full graphical presentation of these steps, please review [[HardyUpgrades/Kubuntu]]. 1. From the K-Menu run ''Adept Manager''. 1. Click ''Fetch Updates''. 1. The ''Version Upgrade'' button will appear. Click it. 1. Follow the prompts === Network Upgrade from 7.10 for Ubuntu Servers (Recommended) === 1. Install `update-manager-core` if it is not already installed: {{{ sudo apt-get install update-manager-core }}} 1. Launch the upgrade tool: {{{ sudo do-release-upgrade }}} 1. Follow the on-screen instructions. == Upgrade from 6.06 LTS to 8.04 LTS == This section describes how to perform 6.06 LTS ("Dapper") -> 8.04 LTS ("Hardy") upgrades. === Network Upgrade from 6.06 for Ubuntu Desktops (Recommended) === 1. Make sure the "dapper-updates" software channel is enabled. 1. Be sure that you have all updates applied before you upgrade. 1. Press Alt-F2 and type {{{gksu "update-manager"}}} {{attachment:update_manager_01.png}} 1. Click the '''Check''' button to check for new updates. 1. A message will appear informing you of the availability of the new release. {{attachment:update-manager-upgrade-804.png}} 1. Click '''Upgrade'''. 1. Follow the on-screen instructions. === Network Upgrade from 6.06 for Kubuntu Desktops (Recommended) === '''To upgrade from Kubuntu 6.06 to 8.04''' over the Internet you can use a special mode in the server upgrade system. 1. Enable the "dapper-updates" repository. 1. Install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt. 1. Run "sudo do-release-upgrade -m desktop" in a terminal window. 1. Follow the steps on the terminal window. === Network Upgrade from 6.06 for Ubuntu Servers (Recommended) === If you run an Ubuntu server, you should use the new server upgrade system. 1. Enable the "dapper-updates" repository. 1. Install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt. 1. Run "sudo do-release-upgrade" in a terminal window. 1. Follow the steps on the terminal window. == Upgrading Using the Alternate CD/DVD == Use this method if the system being upgraded is not connected to the Internet. 1. Download and burn the '''alternate''' installation CD. 1. Insert it into your CD-ROM drive. 1. A dialog will be displayed offering you the opportunity to upgrade using that CD. 1. Follow the on-screen instructions. If the upgrade dialog is not displayed for any reason, you may also run the following command using `Alt+F2`: {{{ gksu "sh /cdrom/cdromupgrade" }}} Or in Kubuntu run the following command using `Alt+F2`: {{{ kdesu "sh /cdrom/cdromupgrade" }}} == Upgrading from a Torrent == If you're familiar with torrents and have an ISP that doesn't limit them, you can download the upgrade much more quickly. You'll also be sharing your bandwidth with other Ubuntu users and helping to reduce the load on the servers, which is especially useful on release days when the server overload causes problems. Basic instructions: 1. Download the ISO file for the alternate installation CD using the ''.torrent'' file found on http://releases.ubuntu.com 1. Mount the ISO as a drive or burn it to a physical CD 1. Follow the alternate CD upgrade instructions [[http://ptcbus.blogspot.com/2008/04/upgrading-from-ubuntu-710-gutsy-gibbon.html|Detailed instructions here]] and [[http://ubuntuforums.org/showthread.php?p=4784633#post4784633|here]]. == Troubleshooting == === Unexpected reboot hangs on boot === My experience is based on Xubuntu 6.06 to Xubuntu 8.04 but I think it is the same for Ubuntu. My update stopped suddenly and after reboot Linux kernel did boot but get hung on the process boot. Here there is how I fixed it: 1. Boot with Ubuntu 6.06 disk (in my case Alternate) 1. Select: Repair a Broken system 1. Select: Open a Rescue Shell. 1. Select: Root Partition for Ubuntu. 1. Run: dpkg --configure -a 1. Whenever the process is finished: exit. 1. Boot again into your system (now it should work) 1. Run dpkg --configure -a as root from a terminal (Ctrl+alt+f1) 1. System should be updated. = See Also = * UpgradeNotes for all supported versions of Ubuntu