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

34,732

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):

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.

Share:
34,732

Related videos on Youtube

cmcginty
Author by

cmcginty

Former Sr. Software Engineer at Box. Interests include Python, Gradle, C, Java, Git, Linux, Embedded. Find me on github https://github.com/cmcginty.

Updated on September 17, 2022

Comments

  • cmcginty
    cmcginty almost 2 years

    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.

    • KiiroSora09
      KiiroSora09 over 14 years
      As always with any operating system I would advise a clean install wherever possible. There are enough people with Karmic upgrade problems in the forum that I wouldn't consider it foolproof.
  • cmcginty
    cmcginty over 14 years
    From your steps, there is no '/cdrom' directory. There is also no 'cdromupgrade' file at the root of the ISO image.
  • John T
    John T over 14 years
    well not that you specified which image you're using....it can't be done with this method for that image, you need the alternate CD for this.
  • Thufir
    Thufir almost 12 years
    @JohnT worked for me. I assumed alternate cd. wasn't that the question, how to mount install media and upgrade from it?