LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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



Reply
 
Search this Thread
Old 07-16-2004, 10:17 AM   #1
wilshaw
LQ Newbie
 
Registered: Jul 2004
Location: New York State
Distribution: Xandros + Cobind
Posts: 3

Rep: Reputation: 0
How to share /home with two or more distros?


I have two hard drives (hda + hdb) and I'm installing two linux distros (Xandros and Suse 9.1, also thinking of Cobind as well). However, is it possible to have /home only on the hdb hard drive, while having both distros using hda hard drive. In other words, is it possible to share one home directory between two or more Linux distros?

Thanks......wilshaw
 
Old 07-16-2004, 10:21 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
If your /home is on a different partition, say /dev/hda10, you can add that entry in /etc/fstab of your new distro.
Code:
/dev/hda11             /home                   reiserfs    defaults        1 2
You would need to maintain the uid and gid of the users to match those of the original distro.
Some distros may have different starting UIDs. e.g. RedHat/Fedora start with 500, Slackware starts with 1000. You can modify these parameters in /etc/login.defs.

I am sure you must be aware that you can share the swap space too.

Last edited by ppuru; 07-16-2004 at 10:23 AM.
 
Old 07-16-2004, 11:02 AM   #3
wilshaw
LQ Newbie
 
Registered: Jul 2004
Location: New York State
Distribution: Xandros + Cobind
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your quick response ppuru! I will try out your suggestion.

wilshaw
 
Old 07-16-2004, 11:09 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
just a note ... you may need to change reiserfs to something more appropriate depending on your setup ... perhaps ext3.

If you are using the same X environment across all distros, you may notice some abberations --- icons of other distros being visible on your original distro and vice versa.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can multiboot distros share var, usr, etc. partitions? Jeff Tenza Linux - Newbie 3 07-25-2005 07:44 PM
How do I move /home to share between distros? glenn69 Linux - Newbie 5 06-07-2005 11:31 PM
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 02:23 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