Upgrade Ubuntu with a CD Image

Sure, you can upgrade Ubuntu over the net, downloading the updates from Canonical’s servers. You can even do it over the net with apt-p2p, downloading the updates from other users. However, if you have more than one computer to upgrade, it may be nice to download the updates only once. For the following procedure you will need to download the image for the Ubuntu alternate install CD for your particular architecture.

Once you have the CD iso file, you could burn it to a disk, but you don’t need to. In fact, if you have a netbook it’s easier to just use the iso file.

For this demo I’m using the Jaunty Jackalope Release Candidate image.

Mount The Ubuntu CD ISO File

Open a terminal window and navigate to the directory where you have your Ubuntu CD image. Then mount it with this command:

sudo mount -t iso9660 /home/yourid/ubuntu-9.04-rc-alternate-i386.iso /cdrom -o loop

Run The Upgrade

With the CD image mounted, you can now start the upgrade process with the following command.

gksu “sh /cdrom/cdromupgrade”

At this point you’ll be presented with the choice of pulling the latest updates from the internet or not. If you choose no, it just means you may have some updates to do later with the update manager.
Ubuntu Upgrade Choice
Once you make your choice, the rest should be straight forward.

8 thoughts on “Upgrade Ubuntu with a CD Image

  1. james sans

    i hve two pc’s.windows and linux(kubuntu–gutsy).down loaded ubuntu10.10to a cd.
    i ran the os from the disk and it seemed pretty good.
    problem—evidently need to use gedit–no kate as in kubuntu,also cant seem to
    use gedit with terminal access as with kate.looked at packages and no g++
    active.my internet is connected to my windows machine.if i install rather than use
    the cd as a tryout,would those packages be available.sounds like i am rambling
    but that is about the size of it.i still have the 10.10 file on my windows pc.i also have a ksh shell but no help.
    thanks for any info.

    Reply
  2. Zhu Bajie

    {-Insert CD.
    -Open terminal and type “sudo update-manager -cd”.}

    What if I want to use a USB? Will
    -Insert USB
    -Open terminal and type “sudo update-manager -usb”

    work?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.