6.06 to 8.04 (Dapper to Hardy)
Before you start
Please make sure you've read and understood the main EOLUpgrade page.
I would recommend using 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.
- Note
Ubuntu 6.06's support has ended in June 2009 for desktops and will end June 2011 for servers. This will mean a lot of desktop applications are not supported/updated anymore. See this list of supported packages. Upgrading 6.06.x to 8.04 is regarded as a regular upgrade. Please see DapperUpgrades or HardyUpgrades for more information.
Requirements
- /etc/apt/sources.list
Please make sure you have the following sources.list.
## EOL upgrade sources.list # Required deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse # Optional #deb http://archive.ubuntu.com/ubuntu/ dapper-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 get fully upgrade all packages
sudo aptitude update && sudo aptitude upgrade
- If you run a -desktop version of ubuntu, please reinstall this package:
sudo aptitude reinstall ubuntu-desktop # or kubuntu, xubuntu, edubuntu, etc
NOTE: It could be that you just upgraded your kernel, if this is the case, please reboot!
- Run the update script
sudo do-release-upgrade
- Important note: you may need to edit the file /etc/fstab to change "hda" old IDE disk notation by "sda" new disk notation.
- Check your new version
Reboot your machine and you can now run lsb_release -a to check the new version of Ubuntu.