[SOLVED] Upgrade or Change Distro, whilst keeping all data
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: CentOS 6.6, RHEL Server release 5.5 (Tikanga)
Posts: 58
Rep:
Upgrade or Change Distro, whilst keeping all data
This may not be a newbie question, but to the pros, it is.
I got a CentOS 6.6 32bit set up in Virtual Box. I want to either upgrade it to Centos 7 64bit or switch it over to the latest version of OpenSUSE.
Beings this is all on a virtual box, my main concern is not just getting an updated Distro. Because I can just install clean Distros all day.
This CentOS 6.6 system I have has a lot of stuff on it which is the reason I need and use it. It's not just personal data in the home directory either.I'm talking Databases and the Developer Environment...
Is it possible to update my OS version and keep everything, or even as crazy as it sounds, change Distros and keep everything?
Just attach a real hard drive to the vbox image, do a backup of all your data, install the upgraded version, then reattach the drive again to restore your data. This would, IMO, be the easiest method.
Given its a virtual setup, just setup a new one with the new OS, then try to txfr across.
That way you've got a perfectly working before system that you can a) compare against b) you can continue using until you get the new system finalised.
If this is a home/simple type setup then maybe just copy over data. If this has a database or many types programs then the data may not be easy to copy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.