12.3 home issue

I just installed 12.3 in an empty partition next to my 12.2 install, but forgot to specify using my existing home partition, I now have a 12.3 home and a 12.2 home. Any way of merging these or is it better to reinstall 12.3? If I reinstall, what is the proper way of identifying separate root and home partitions?

TIA,
Dave

I don’t know how much space is wasted, if any, but I would leave well enough alone. You can manually copy things over from the 12.2 /home to 12.3 to get your old settings working. For instance, Thunderbird creates a folder called .thunderbird in your /home/username folder which you can copy from old over to its new location. Now it possible to edit your /etc/fstab file to switch from the openSUSE 12.3 select location over to using the old 12.2 area, but that does not merge them. If the partitions are on the same hard disk and they are adjacent to each other, and you can delete the second partition and expand the first, but if they are not in that order, its hard to put the two together. And any such process puts your existing data at risk if you don’t know exactly how to combine the two. For space recovery, you could mount your old /home folder somewhere else in your new root folder, to get its space back for any other purpose. The YaST / System / Partitioner can do this for you, just only mount exiting partitions and do not format them. Once you decide your course of action, ask for more help.

Thank You,

On 2013-03-28 02:56, DaveB27 wrote:
>
> I just installed 12.3 in an empty partition next to my 12.2 install, but
> forgot to specify using my existing home partition, I now have a 12.3
> home and a 12.2 home. Any way of merging these or is it better to
> reinstall 12.3? If I reinstall, what is the proper way of identifying
> separate root and home partitions?

I assume you want to reuse your previous “/home” directory.

Log out of graphical mode. Go to a text console [ctrl][alt][f1]. Log in
as “root” in there.

Once there, rename the existing “/home” as “/home-no” or whatever. Edit
“/etc/fstab” - I suggest you use “joe” as editor. Add a line for home -
use the line in your 12.2 install as a model. Create an empty “/home”
directory.

Test by running:


mount /home

If it works, you are done - assuming that your user is named the same
before and now and it has the same UUID. If it doesn’t, ask again.

Warning: once you log into your graphical user in this /home, do not
ever reuser your 12.2 install and log in as that user. Your config files
have been migrated by that first run of kde or gnome or whatever, to the
new version. Using the old system, that doesn’t know how to use the new
config files will break things badly.

If you want to use both 12.2 and 12.3, ask again - I’m not going to
cover all possibilities on one go :slight_smile:

Note: there are many details I have not covered. I have assumed you know
our way around CLI and saved my words :wink:


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Thanx for the quick responses. To clarify, I didn’t want to actually physically merge partitions, but rather reuse my existing /home, but I did want to have the ability to go back to 12.2 if something went wrong.

I recognize that I can easily copy folders from the 12.2 / and /home partitions, but was concerned about the issue that robin_listas brought up, i.e. that 12.3 apps will write to config files that might cause their 12.2 ancestors to choke.

It sounds like my best option is to continue with 2 homes and gradually migrate configurations an app or 2 at a time with a fall back of just renaming the new home and mounting the old.

Dave

On 2013-03-28 04:06, DaveB27 wrote:
>
> Thanx for the quick responses. To clarify, I didn’t want to actually
> physically merge partitions, but rather reuse my existing /home, but I
> did want to have the ability to go back to 12.2 if something went wrong.

aha.

> I recognize that I can easily copy folders from the 12.2 / and /home
> partitions, but was concerned about the issue that robin_listas brought
> up, i.e. that 12.3 apps will write to config files that might cause
> their 12.2 ancestors to choke.
>
> It sounds like my best option is to continue with 2 homes and gradually
> migrate configurations an app or 2 at a time with a fall back of just
> renaming the new home and mounting the old.

Yes.

What I would do is to mount the old home to “/oldhome”, for example, and
then symlink your ~/Document folder and other places you need to share.
If you use Thunderbird, I think you can symlink its folder safely,
because Thunderbird is updated to the same versions both in all openSUSE
versions. Similarly with Mozilla. I cant vouch for Kmail.

You have to decide for each application. Some have just config files,
but some have large data storages, like mail applications, that you
probably want to share across both releases.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)