Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
Is it possible to skip releases during an upgrade?

I'm using 10.04 as only OS on my 32-Bit PC (Not dual boot). Can I upgrade to 11.04 using ubuntu-11.04-desktop-i386.iso file without burning on CD or installing on USB drives. I don't have internet connection, so I cannot download alternate version too. Any help is appreciated.

share|improve this question

marked as duplicate by Christopher Kyle Horton, Marco Ceppi Mar 6 '12 at 13:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Is it your 10.04 Os 32bit? –  Achu Jun 3 '11 at 11:04
    
Yes dude. Edited in the post too. Thnx. –  Rahul Jun 3 '11 at 11:19
    
Do have installed gisomount or gmountiso? –  Achu Jun 3 '11 at 11:34
    
@ Achu No dude. If it is a small app then I can install with my very slow internet connection. Is it? –  Rahul Jun 3 '11 at 11:39

3 Answers 3

UNDER NO CIRCUMSTANCES SHOULD YOU UPGRADE DIRECT TO 11.04 FROM 10.04

Despite the appearances, you should never upgrade to 11.04 without missing out 10.10, even with the desktop or alternate CDs.

See this AU answer for more details -

In summary, it is not supported, you will likely cause major issues with your install, or even break it so that it will not boot.

If you want to use the desktop CD, backup your non-hidden /home folder files and do a fresh install. After that, copy back your /home folder files.

share|improve this answer

I should point out now that I have no experience with upgrading in this manner, and that the following is what I would do if I were going to do it myself for the first time.

You can do this by adding the ISO to APT's list of repositories, documentation for which can be found here.

First you need to mount the ISO so APT can find it. Open a terminal and move into the directory in which the ISO is currently sitting. Let's say it's currently in your Downloads folder, you would type

cd ~/Downloads

Once you're there, you need to create a directory into which to mount it. Type

mkdir upgrade

to create a directory called 'upgrade' in the current directory. Now you can mount the ISO into your upgrade directory by typing

mount -o loop -t iso9660 ubuntu-11.04-desktop-i386.iso ~/Downloads/upgrade

You may need to precede the above command with sudo - I'm not sure how permissions will work if you try mounting it in a user-owned directory. Now you just need to add this upgrade directory, and with it your upgrade ISO, to APT's sources list.

sudo apt-cdrom add 
sudo apt-cdrom ident 
sudo apt-cdrom -d "upgrade" -r

From here, it's just a simple case of running

sudo apt-get update
sudo apt-get upgrade

and APT will pull the new packages out of the mounted ISO. Once the upgrade is complete, you can delete the upgrade directory as it is no longer needed.

share|improve this answer
    
Thanks for your answer. 'mkdir upgrade' path? –  Rahul Jun 3 '11 at 12:00
    
I'm sorry, I'm not sure what you mean. –  Chris Wilson Jun 3 '11 at 12:24
    
Will this upgrade be destructive in any manner ? Last time I tried to upgrade, it deleted almost all of my /var/ directory –  Capt.Nemo Jun 3 '11 at 13:05
    
The upgrade process will be the same regardless of the particular path chosen. At the end of the day, once the installer gets going, it's still the same process. I'm not sure exactly what directories are affected during the upgrade process, and to what degree. If you're having an issue with directories being deleted, then you should probably pose it as a new question. –  Chris Wilson Jun 3 '11 at 14:33
    
@ Chris You mentioned, 'mkdir upgrade', what is the path of upgrade folder? –  Rahul Jun 7 '11 at 5:07

Mount the iso file

Note: You cannot skip versions when upgrading AU-answer

But to install ubuntu from ISO file follow this:

Creat a mount directory called cd-image on your home directory.

Then

sudo mount ~/Desktop/ubuntu-11.04-desktop-i386.iso ~/cd-image -o loop

After that the upgrade dialog should pop up.

share|improve this answer
    
you cannot under any circumstances upgrade direct from 10.04 to 11.04 –  fossfreedom Jun 9 '11 at 6:07
    
@fossfreedom ofcource! did Rahul edit the question or someone? i thoug it is from 10.10 to 11.04. If from 10.04 to 11.04 i will edite my question. thanks –  Achu Jun 9 '11 at 8:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.