#title Upgrading Gutsy to Hardy [[EOLUpgrades| <<]] [[EOLUpgrades/Feisty| < Feisty]] [[EOLUpgrades/Hardy| Hardy >>]] = 7.10 to 8.04 (Gutsy to Hardy) = == Before you start == Please make sure you've read and understood the [[EOLUpgrades| main EOLUpgrade page]]. I would recommend using [[http://www.clonezilla.org| clonezilla]] for backing up your current installation. It is very easy to backup and restore your partitions with clonezilla. It takes less then 30 minutes to backup/restore a 20Gb root filesystem which has 4-5 Gb used space. Known upgrade issues:: 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. [[https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/249340| See the bug report on Launchpad for full details. ]]. You can also use the 2.6.22-16 kernel. == Requirements == * /etc/apt/sources.list Please make sure you have the following sources.list. {{{ ## EOL upgrade sources.list # Required deb http://old-releases.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse }}} You can make use of -backports, -proposed repositories if you want. For more information about repositories see [[Repositories/Ubuntu]]. == The upgrade == * Make sure your sources.list is correct (see requirements) * Update the package list and upgrade all the installed packages {{{ sudo aptitude update && sudo aptitude safe-upgrade }}} Please be aware that you are NOT running on kernel 2.6.22-15, other kernels, 2.6.22-14, 2.6.22-16 are OK to use. * Change your sources.list Your sources.list should contain the following entries. {{{ ## EOL upgrade sources.list # Required deb http://old-releases.ubuntu.com/ubuntu/ hardy main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse }}} You can make use of -backports, -proposed repositories if you want. For more information about repositories see [[Repositories/Ubuntu]]. * Update the package list {{{ sudo aptitude update }}} * Perform the release upgrade. {{{ sudo do-release-upgrade }}} * IDE disk notation in fstab You may need to edit the file /etc/fstab to change "hda" old IDE disk notation by "sda" new disk notation, eg /dev/hda1 becomes /dev/sda1. You can use the following one-liner to do this: {{{ sudo perl -p -i.ORIG -e 's#^(/dev/)hda(\d+)#$1sda$2 /etc/fstab }}} * Check your new version Reboot your machine and you can now run `lsb_release -a` to check the new version of Ubuntu. [[EOLUpgrades| <<]] [[EOLUpgrades/Feisty| < Feisty]] [[EOLUpgrades/Hardy| Hardy >>]] ---- CategoryUpgrade