Jump to content

Can two distro use the same home ???


Recommended Posts

I am using Mandrake 9.1 as my main distribution but I like to play around with other distro from time to time.

 

In the past I've used a seperate partition for the /home when experimenting. Can I safely use my /home partition with different distro without causing too many problems??? :unsure:

Link to comment
Share on other sites

Theoretically, probably. But I would be very carefull about conflicting config directories. You don't want one distro to set certain user settings in your .kde directory and then have those overwritten by the second distro.

 

If you were to go this route, I would make certain that you use very different window managers / file managers in each distro. You may have problems with any other software that creates a user preferences directory in your home directory. (i.e. any program that creates a .foo directory)

 

Just my thoughts on the matter though.

Link to comment
Share on other sites

yeah you should be able to that safely ....

altho' I would stil advise backing your home partition just incase ;)

 

easy way to do that is from commandline as root

 

dd if=/dev/hdX of=/root/home-backup.iso

Link to comment
Share on other sites

Similar question, but slightly different:

 

Having two machines with one in primary use and another from time to time on same network, would it be possible to use the second one to use the data from the /home from the primary for its apps. More concretely, could you run e.g. your mail client (Evolution) on the second one, while reading and writing all data on the primary /home. This in order that when you use the primary again that all your mails, etc. are present.

 

I assume this should be easy to set-up, but as a regular home user and linux noob,...

 

Anyone that can give me any tips on this?

 

Thanks,

 

Sitor

Link to comment
Share on other sites

I've used the same /home shared between two distro's, same username. the only problem i ran into was the UID of the user, i had to make sure they were the same on both distro's (or else i wouldn't have the proper permissions for my own home dir ;-) )

Link to comment
Share on other sites

I think the bottom line on this is yes you can ... but be careful vis UID,GID etc. and the same when installing software that might add stuff into your home directory but use relative links etc. or point somewhere that doesn\t exist in your other disto.

 

90% of stuff should be OK and when something isn\t then its usually no big deal, you just need to find what the problem is and edit the link etc.

 

Potential places are say the .Desktop directory where an app link points to an app which isn\t in the other distro.

 

Ultimately you could share /usr as well ... but this is a bit more problematic ... strictly speaking it should work ... if everyone follows the rules but .... of course not everyone does...

So if for instance you use Gentoo and Mandrake you will have problems with KDE because Gentoo installs it where its meant to go (as defined by KDE) wheras Mandrake doesn\t...

You could of course change the Makefile in Gentoo to follow Mandrake or install KDE from source in Mandrake but its sorta missing the advantages of both out...

Link to comment
Share on other sites

Yes it would work fine. I shared my partition with debian and mandy for a while.

 

HOwever, If i was running GNOme 2.4 in Debian and GNOME 2.2 in Mandy i would have problems with the config files. Mainly because they are different. BUt for most things, unless there has been a major change in config format, it would be OK. Some older apps might delete config they dont know of that is from a newer verrsion, but htats not too common. YOu should be fine. Try to keep versions similar. For big stuff anyway. Also: use the same version of mozilla/firebird in both, Firebird wont work with skins from older versions, and same with newer versions.

 

I had no problems really.

 

iphitus

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...