LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-19-2006, 08:46 PM   #1
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Share /home between distros


Hi,
I would like to install multiple Linux distros on one computer (Kubuntu and Fedora and maybe some others). Is it possible to share my home directory between the distros, if it is on a separate partition.

What I would like is to choose which distro I want to use, but when I log in, I can access all of my documents, etc the same on all the distros.

Will I have problems with settings files, such as KDE on Kubuntu and KDE on Fedora?

Thanks in advance
--Ian
 
Old 03-19-2006, 09:45 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Yes, you can just mount the proper partition as /home in each distribution by having the same line in /etc/fstab.
 
Old 03-19-2006, 11:13 PM   #3
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
You'll also want to make sure that your user UID/GID's match up between distro's otherwise you'll get permission problems.
 
Old 03-19-2006, 11:22 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
I don't think you want to do this....Each distro writes configuration data to the users HOME folder---eg /home/username
What you want (IMHO) is a shared data partition which is mounted inside your HOME directory. Or--it could be MOUNTED in /mnt and then simply linked to where you need it.
 
Old 03-19-2006, 11:58 PM   #5
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
One way to avoid troubles with various distros that have different sets of config files is to have a /home/shared directory which contains only personal files that can be safely shared between distros (.bashrc, .xinitc, etc.). These files would be linked into the individual home directories, so they can be accessed easily from any of the distros. Any files that are specific to one distro would be "real" files in their respective home directories, where they wouldn't be used by the other distros.
This might sound complicated, and it is somewhat complicated to set up, but as long as the UID is properly set for each user it can actually make modifying your configs much less of a hassle (make a change to .bashrc in one distro and it is also changed for the other distro). As far as plain old data files are concerned (images, downloads, music, etc), I think pixellany has the right idea.
 
  


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
How do I move /home to share between distros? glenn69 Linux - Newbie 5 06-07-2005 11:31 PM
How to share /home with two or more distros? wilshaw Linux - Newbie 3 07-16-2004 11:09 AM
how to share /home between diff distros? letdoit Linux - Newbie 2 05-20-2004 08:30 AM
Looking for a way to Share Home Partition among Distros Huddlebum Linux - General 1 03-31-2004 08:06 PM
can two distros share a /home dir ? ruwach Linux - Distributions 3 03-06-2004 09:37 PM


All times are GMT -5. The time now is 08:50 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration