Switching from Ubuntu to openSUSE

Hello,

I have decided for various reasons to uninstall Ubuntu and use openSUSE 11.2 in its place. I have tested several distro’s and I enjoy openSUSE the most.

There is one complication. Ubuntu does not give the option to set up a separate /home partition during installation. I have several valuable files sitting in my home folder, and I would like to keep them alive and well. I would prefer not to go out and buy a USB stick, if possible. :wink:

Is there any way to preserve my current /home folder while installing openSUSE “over” Ubuntu?

Preserve no.

You can back it up some where then restore once the install is complete.

I do believe that you can install a separate home partition with Ubuntu it is just not the default and you need to understand partitions a little bit to do it and the advantages of doing so.

You can create a partition on your hard drive and save it there, or to any partition you already have. But honestly, if this data is important it needs to be backed up somewhere else as well. Mistakes happen with partitioning, and hard disks die, just 2 examples.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maybe check out online backup services as they may offer some free online
backup space if nothing else, but otherwise dvhenry is right and anything
you care about should be stored at least twice (original location, plus
somewhere else) or preferably three times (one time somewhere not with the
other two).

Google: online backup linux

Good luck.

On 06/19/2010 10:16 AM, dvhenry wrote:
>
> You can create a partition on your hard drive and save it there, or to
> any partition you already have. But honestly, if this data is important
> it needs to be backed up somewhere else as well. Mistakes happen with
> partitioning, and hard disks die, just 2 examples.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMHSYWAAoJEF+XTK08PnB5sskP/1m4sElpyRjC4MNiZmjdSMk1
4hHezCXwiqHrf9YjAcBkf9Kd09PQ7jqj6RK4eH51S39Q4y7/JsaGrKMD8ow8i/wP
3fhZQfJVwgAmLzFGyI5xfyj2zHAxgH6M/rz5D1hyqU69R9q0uqHvvWcD9QVRgk9v
XRJfxSbegP3F07x6x9fAqAT4H3Nh1LRou8uy75l1Z/eJ3oVj1MtH/AEyaDttyAca
vkhyKdbNKjZQ6hJRpmTehiBx+cIR1LOs6lCepUz4/+hc4NtEftIvlUwcCk1WNbEo
etYJku/pB1y8jcWqX9PngtfQNjZ5AWjMnObX0Vt4Y+hFSxmeSMg5oIGwTDyloipu
Pj8AfHNPIP+psfS/4S3nMveAkytenFVetw9TksWVYQNzkDzjygZ3ndZ9CeLGqdj3
syAacHK4UgUoEaqxqlzR7bIutJw7MJF4V0nrMSAabSAliWlyi5Ctyo/My0U7vTdI
sY2y3Tdg/oX4AdIOyiqQpYzCvEc4nxw3Z9EafBveY5A3kRTMIKazM2bbmWTRfcnE
nwpAfFOleWZS4ZraIf8MiDfAV/lis7b4LxbHEpZYg2DGuuMim8/QrH80BqGSqEog
6L2aPyCS7uxdl1400Dz3j7w68Un2aRGQnPu4WV1VM5wzvYol5eZmicv6sfoerzc2
4R8uXF+hYVOZCTVLxe/t
=RqTj
-----END PGP SIGNATURE-----

On Sat, 19 Jun 2010 15:46:01 +0000, gogo7775 wrote for a reply:

> Hello,
>
> I have decided for various reasons to uninstall Ubuntu and use openSUSE
> 11.2 in its place. I have tested several distro’s and I enjoy openSUSE
> the most.
>
> There is one complication. Ubuntu does not give the option to set up a
> separate /home partition during installation. I have several valuable
> files sitting in my home folder, and I would like to keep them alive and
> well. I would prefer not to go out and buy a USB stick, if possible. :wink:
>
> Is there any way to preserve my current /home folder while installing
> openSUSE “over” Ubuntu?

Like others have written back up
/home/ (make sure you include hidden files and directories),

maybe /var/lib/mysql/, /var/lib/apache, /var/lib/xen/ or whatever servers
you’re running that use /var/lib/,

You should also backup /etc/ since its very small but contains important
configuration files you might what to use to review compare and set
after you’ve installed OpenSuse.

If you don’t have free disk space, buy lots of DVD-RWs or DVD-Rs.
If you’re intend to use tar keep the output tar files under 2-3Gb, I’ve
had problems where I couldn’t extract from 4Gb+ tar files.


Chillingout@opensuse.forum

So you mean to install openSUSE and have the /home partition point to your existing /home partition, but not format it?

I would be surprised if openSUSE cannot. Sorry, I’m not in front of the openSUSE machine to check out the where/how, but I’ll try tonight.

My understanding is the OP want to replace Ubuntu. But since Ubuntu be normally installs to a single partition. the home is in the partition that is to be replaced. If you were dual booting you could link to the old ubuntu home.

Ah… I see now. I just automatically make sure I separate it during installation regardless (the option is there, just not the default).

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can try resizing your / partition and create another one, all
with gparted, an move your data, and remember to not use the ubuntu home
on openSUSE, it make conflict with the user configuration


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwfxHcACgkQJQ+0ABWtaVkbkwCg91y00n8i/eHeY0rC+L/SbZfh
YxcAmwZykR6jBchYHohy0qy4Gzbl8yw1
=ths1
-----END PGP SIGNATURE-----

Thanks for all your replies. :slight_smile:

I did some digging around to find out how to preserve my Ubuntu /home and put it in a separate /home partition on openSUSE. From what I’ve seen, it’s about as easy as sucking a golf ball through a garden hose. So I simply put all my files on a USB stick, wiped out Ubuntu, and put them on SUSE. Whatever works, I suppose. >:)

You do need to be careful the UID and GID match If you have only ever had one user then they should. Just be aware the user name means little except for the name of the directory. The permissions are all based on UUID and GID numbers

Don’t forget, your configuration files are in hidden folders (preceded with a “.”) in your /home directory. For example, .mozilla has your bookmarks and such, .evolution may have your emails (or .mozilla-thunderbird if you used Thunderbird).

Best bet is to grab the entire /home directory to copy. If you get a lot of “cannot copy” errors, you may even want to try rsync. If you prefer a GUI you can use grsync.

I recently had this situation where I installed by brother-in-law’s Ubuntu all on one partition and when I went to try and update it I had to make sure I had a good backup first.

I don’t understand why you complicate things so much.

question - is your /home/ on its own partition?

if so, it’s excellent. You can have your ubuntu and SUSE use the same /home/ partition without formatting it. Simply create a new user name and not use the same user name. This way you have /home/ubuntu-user, and /home/suse-user.

Meaning, same partition, but different user home folders.

Even if you plan to totally remove Ubuntu, and say, you want to save all your music, after this is done simply move your /home/ubuntu-user/music to your /home/suse-user/music. very simple.

Anyway it’s always a good idea to back up your /home/ partition!