If are on a computer that doesn’t have network access or if you have are on a slow connection, it’s easier and faster to upgrade using a disc or an ISO image file already downloaded.
To upgrade from an ISO file, you need the Alternate version CD, NOT the regular Ubuntu Desktop CD. Alternate CD ISO image file of any release can be found here: http://releases.ubuntu.com/.
Once you have the image, mount the ISO image file directly on your Ubuntu system using the following command:
sudo mount -t iso9660 -o loop PATH/TO/ISO /cdrom
That will mount the ISO image to the cdrom device interface.
Once mounted, start the upgrade using this command:
sudo /cdrom/cdromupgrade
That will display a dialog prompting you to upgrade using that CD. Continue following the onscreen messages.
Upgrade via ISO progresses much like the network upgrade. Though, keep in mind that upgrading using packages on the image file only upgrades to the package versions in the official release, not the latest updated versions available on the Ubuntu repository.
7 thoughts on “Upgrade Ubuntu Using an ISO Image File”
aha~ It helps! Thanks a lot!
Sorry mate, there’s no cdromupgrade inside the Ubuntu 12.04 iso.
Thanks! I was able to upgrade from 11.10 to 12.04 using the ISO image.
I followed these commands:
1. sudo mkdir -p /media/cdrom
2. sudo mount -o loop ~/Desktop/ubuntu-12.04-alternate-i386.iso /media/cdrom
3. gksu sh /media/cdrom/cdromupgrade
😀
How do i do this with the normal ISO image instead of the Alternate ISO image???
You can’t do this with a normal ISO image.
here is how i have done the upgrade using a usb thumbdrive, worked fine, thanks
forgot the link .. here is the article about upgrading ubuntu using usb thumb drive
http://ubuntusolved.blogspot.in/2012/06/how-to-upgrade-ubuntu-11041004-to.html