LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-15-2011, 02:51 PM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Rep: Reputation: 18
how to upgrade ubuntu any version to any without losing last version


hello
I want to upgrade my ubuntu 10.04 to 10.10 or 11.04 but I afraid of doing that because last time that I did it upgraded successfully but after restarting, it went to blank screen and I forced to install a new UBUNTU. unfortunately there was no other previous version of UBUNTU in boot option.My question is how can I update or upgrade my UBUNTU to another one with keeping all of last versions data(kernel,modules,drivers,....)that if new version does not recognize some thing I have other choice to boot my system from ubuntu boot menu.

Thank you very much.
 
Old 05-15-2011, 03:13 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You can't. The meaning of upgrade is to replace older versions with newer ones. If you want to have a safe way to upgrade you have two options:
- Install the new version alongside the old one, so that you have two different installs.
- Make a full system backup and then upgrade. If something goes wrong you can easily restore your backup.

My personal opinion: Ubuntu 10.04 is a long term support (LTS) version. If you don't have the need for a specific newer version of a software don't do an upgrade, especially because 11.04 seems to be rather buggy.
 
Old 05-15-2011, 03:53 PM   #3
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Install side-by-side as a "dual boot," each version on its own separate partition.
 
Old 05-21-2011, 01:59 PM   #4
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Original Poster
Rep: Reputation: 18
but I thing you two are wrong because I did it before in fedora 8 . I mean I had two options when I upgraded my system from internet, one with previous kernel one with new one but I don't know what fedora did because it did it automatically .
 
Old 05-21-2011, 02:14 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Of course you will be able to boot the old kernel. That is one of the few components that will not be replaced. The rest of the system will.
 
Old 05-22-2011, 05:29 AM   #6
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
One way to achieve your goal would be to use btrfs or lvm and create a snapshot before updating. Then if all goes wrong you can restore the snapshot.

You will need to do some research about your booting options. I'm not sure if grub2 can boot from btrfs or a lvm volume, if so you should be ok, if not you need to make sure the upgrade doesn't delete your old kernel.
 
Old 05-22-2011, 01:21 PM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by golden_boy615 View Post
but I thing you two are wrong because I did it before in fedora 8 . I mean I had two options when I upgraded my system from internet, one with previous kernel one with new one but I don't know what fedora did because it did it automatically .
Ubuntu does not offer the option using the upgrade. And two or three or four or ... kernels is not the same as an upgrade. Ubuntu keeps kernels during updates.

Long ago when I set up my main desktop, I kept a spare partition to install newer versions. I've however never used it.

My advise is not to upgrade but do a fresh install. Download the iso, testdrive it in live mode to check if the Ubuntu idiots did not screw something up and next install it. My upgrade from 8.04 to 10.04 went awfully wrong, and just like you I ended up doing a fresh install at the end anyway.

And I also suggest that you stick with the LTS releases unless you need functionality in a program that is not provided by the current version in the repository of that program.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Please upgrade Operating System version to 2.6.5-7.97-bigsmp - the current version is panneer_dxb Linux - Kernel 1 04-10-2011 04:16 PM
LXer: How to Upgrade Your Dropbox to Version 1.0 in Ubuntu LXer Syndicated Linux News 0 12-19-2010 02:10 PM
How to upgrade php from version 5.2.10 to version 5.3.3 on Centos ashlule1 Linux - Newbie 3 10-18-2010 03:55 AM
Get locked out after server version (ubuntu) upgrade adam-oxford Linux - Server 5 05-25-2010 06:06 PM
How do upgrade ubuntu version? SonoranFun Linux - Distributions 1 06-10-2005 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration