How do you Upgrade Ubuntu from an ISO Image By Mounting as Loopback (without burning)

I'm trying to upgrade 9.10 without burning the ISO image to a disk. What are the steps to get this to work?

I am using the Ubuntu-9.10-desktop-amd64.iso image.

There are a few postings around on this, but none of them work for 9.10.


Solution 1:

In order to perform the udpate you need the alternate CD that you can download from here.

You can find all the relevant instructions on how to perform the upgrade on the official ubuntu site. Of course you do not need to burn the actual CD or DVD. Once mounted, an ISO is no different than the real thing, in this case.

If you are more of a GUI than of a CLI type, then you can mount the .iso image by installing either of these two applications (both in the standard repos and they are substantially identical to your purpose):

  • gisomount
  • gmountiso

It's very easy. You won't have problems, you'll see! :)

HTH, mac.

Solution 2:

Mount the ISO like so:

sudo mount -o loop ~/Desktop/ubuntu-9.10-i386.iso /media/cdrom0

(replace the paths to the ISO as required)

This dialog should pop up:

alt text

You can then follow the on-screen instructions. If it doesn't pop up, press Alt + F2 and run:

gksu "sh /cdrom/cdromupgrade"

However if you have a network connection you can also navigate to System -> Administration -> Update Manager then check for updates and grab the upgrade.