Log in

Registration

Upgrade to Ubuntu 11.04 Using the Alternate CD / DVD

Posted: May 19, 2011 / in: Howtos / No comments

ubuntu-upgradeThis article provides details on upgrading to Ubuntu 11.04 (code name “Natty Narwhal”) at command line. To perform the upgrade as described in this article you are required to have an X11 server running Gnome or KDE.

General upgrade information

An upgrade is the process of going from an earlier version of Ubuntu to a newer one. Skipping versions is not advised as it may cause damage to your system.

If you are using an earlier version, and want to ‘skip’ a version, the safest way is to backup your data and do a fresh installation, or to progressively upgrade to each successive version.

The following table contains a list of supported upgrade paths:

source version target version
10.10 (Maverick Meerkat) 11.04 (Natty Narwhal)
10.04 (Lucid Lynx) 10.10 (Maverick Meerkat)
9.10 (Karmic Koala) 10.04 (Lucid Lynx)
8.04 (Hardy Heron) 10.04 LTS (Lucid Lynx)
9.04 (Jaunty Jackalope) 9.10 (Karmic Koala)
8.04 (Hardy Heron) 9.10 (Karmic Koala)
8.10 (Intrepid Ibex) 9.04 (Jaunty Jackalope)
8.04 (Hardy Heron) 8.10 (Intrepid Ibex)

Requirements

  • X11 is running with Gnome or KDE
  • You can only upgrade directly to Ubuntu 11.04 from Ubuntu 10.10.
  • Be sure that you have all updates applied to your system before you upgrade.
  • Read the release notes for Ubuntu 11.04.
  • Perform a backup of your system! At least all data files, database contents, custom applications, application configurations and custom system configurations should be included. If there are a lot of additional applications installed via apt_get or aptitude, you should consider to dump a list of all software packages installed in your system.

Perform the Upgrade

What is your Unbuntu Version?

Use the following command to find out what version of Ubuntu you are runing:

12345678
# print release number of your Ubuntu installation# this example shows the output from the 10.10 Release$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription:    Ubuntu 10.10Release:        10.10Codename:       maverick

Start the Upgrade Process

The following steps are required to perform the upgrade:

  1. update your system with the most current software packages
  2. download the ISO image of the alternate CD / DVD
  3. mount the image file
  4. perform the upgrade

The following session is an exmple how to upgrade your system.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# update your installation of Ubuntu 10.10
$ sudo apt-get update
$ sudo apt-get upgrade
 
# download iso by webbrowser, wget or other tools (e.g. the 32-bit release)
$ sudo apt-get install wget
$ wget http://mirror.anl.gov/pub/ubuntu-iso/CDs/maverick/ubuntu-11.04-alternate-i386.iso
# to download the 64-bit release use the following link
# http://mirror.anl.gov/pub/ubuntu-iso/CDs/maverick/ubuntu-11.04-alternate-amd64.iso
 
# mount the ISO image
$ sudo mount -o loop  ubuntu-11.04-alternate-i386.iso /cdrom
 
# Now a dialog will be displayed offering you the opportunity to 
# upgrade using that CD. Follow the on-screen instructions. 
# If the upgrade dialog is not displayed use one of the following commands:
 
# ...option no.1
$ gksu "sh /cdrom/cdromupgrade"
 
# ...or option no.2 in KDE
$ kdesudo "sh /cdrom/cdromupgrade"
 
# unmount the CD image
$ umount /cdrom
 
 

 

Related articles:

 

 

Incoming search terms:

© Copyrights and Licenses, 2012 - Linux-Support.com The Professional Linux and OSS Services Portal