特殊:Badtitle/NS100:EOLUpgrades/Gutsy
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/EOLUpgrades/Gutsy }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/af | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|Afrikaans| [[::EOLUpgrades/Gutsy/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/ar | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|العربية| [[::EOLUpgrades/Gutsy/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/az | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|azərbaycanca| [[::EOLUpgrades/Gutsy/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/bcc | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|جهلسری بلوچی| [[::EOLUpgrades/Gutsy/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/bg | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|български| [[::EOLUpgrades/Gutsy/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/br | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|brezhoneg| [[::EOLUpgrades/Gutsy/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/ca | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|català| [[::EOLUpgrades/Gutsy/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/cs | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|čeština| [[::EOLUpgrades/Gutsy/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/de | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|Deutsch| [[::EOLUpgrades/Gutsy/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/el | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|Ελληνικά| [[::EOLUpgrades/Gutsy/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/es | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|español| [[::EOLUpgrades/Gutsy/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/fa | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|فارسی| [[::EOLUpgrades/Gutsy/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/fi | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|suomi| [[::EOLUpgrades/Gutsy/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/fr | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|français| [[::EOLUpgrades/Gutsy/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/gu | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|ગુજરાતી| [[::EOLUpgrades/Gutsy/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/he | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|עברית| [[::EOLUpgrades/Gutsy/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/hu | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|magyar| [[::EOLUpgrades/Gutsy/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/id | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|Bahasa Indonesia| [[::EOLUpgrades/Gutsy/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/it | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|italiano| [[::EOLUpgrades/Gutsy/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/ja | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|日本語| [[::EOLUpgrades/Gutsy/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/ko | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|한국어| [[::EOLUpgrades/Gutsy/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/ksh | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|Ripoarisch| [[::EOLUpgrades/Gutsy/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/mr | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|मराठी| [[::EOLUpgrades/Gutsy/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/ms | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|Bahasa Melayu| [[::EOLUpgrades/Gutsy/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/nl | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|Nederlands| [[::EOLUpgrades/Gutsy/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/no | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|norsk| [[::EOLUpgrades/Gutsy/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/oc | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|occitan| [[::EOLUpgrades/Gutsy/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/pl | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|polski| [[::EOLUpgrades/Gutsy/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/pt | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|português| [[::EOLUpgrades/Gutsy/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/ro | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|română| [[::EOLUpgrades/Gutsy/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/ru | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|русский| [[::EOLUpgrades/Gutsy/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/si | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|සිංහල| [[::EOLUpgrades/Gutsy/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/sq | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|shqip| [[::EOLUpgrades/Gutsy/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/sr | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|српски / srpski| [[::EOLUpgrades/Gutsy/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/sv | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|svenska| [[::EOLUpgrades/Gutsy/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/th | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|ไทย| [[::EOLUpgrades/Gutsy/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/tr | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|Türkçe| [[::EOLUpgrades/Gutsy/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/vi | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|Tiếng Việt| [[::EOLUpgrades/Gutsy/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/yue | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|粵語| [[::EOLUpgrades/Gutsy/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/zh | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|中文| [[::EOLUpgrades/Gutsy/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/zh-hans | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|中文(简体)| [[::EOLUpgrades/Gutsy/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Gutsy | UbuntuHelp:EOLUpgrades/Gutsy | {{#if: | :}}EOLUpgrades/Gutsy}}/zh-hant | • {{#if: UbuntuHelp:EOLUpgrades/Gutsy|中文(繁體)| [[::EOLUpgrades/Gutsy/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:EOLUpgrades/Gutsy|:EOLUpgrades/Gutsy|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :EOLUpgrades/Gutsy/zh | | {{#ifexist: EOLUpgrades/Gutsy/zh | | {{#ifeq: {{#titleparts:EOLUpgrades/Gutsy|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:EOLUpgrades/Gutsy|1|-1|}} | zh | | }}
- title Upgrading Gutsy to Hardy
7.10 to 8.04 (Gutsy 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. 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. 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.
# 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.
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverse # Optional #deb http://archive.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. << < Feisty Hardy >>