LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-08-2007, 05:34 AM   #1
naz37
LQ Newbie
 
Registered: Oct 2005
Location: Ireland
Posts: 11

Rep: Reputation: 0
Sharing /home partition between distros


hi everyone, i have FC6 on my system and I'm considering installing Gentoo as well.

If you have 2 or more linux distros installed could they all use a common /home partition without them interfering with each other.

thanks
 
Old 06-08-2007, 05:46 AM   #2
junme
Member
 
Registered: Oct 2004
Location: ~/.au
Distribution: Mepis Kanotix SUSE
Posts: 189

Rep: Reputation: 31
yes no problem just remember not to format /home during instillation
 
1 members found this post helpful.
Old 06-08-2007, 05:47 AM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
In some cases, the hidden configuration files in a users home directory will conflict if you share the same username between distros. Gnome, KDE, etc may have this problem.

What I prefer, is to create a separate /data partition in ext3 format to hold my documents. I then have a single root partition for each distro, and a common swap. This way, you can share your documents between distros and the configurations stay unique to each distro.

I have a page Here with more information about multibooting distros. I also setup an independent GRUB boot loader, and then install each distros boot loader into its root partition (this is an option during install). This means that upgrades to any one distro do not affect any other distros.

I hope this helps
--Ian

Last edited by IBall; 11-30-2008 at 08:29 PM.
 
1 members found this post helpful.
Old 09-17-2007, 06:46 PM   #4
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

My thoughts are,...YOU'RE right, and...two Hard Drives is best for Linux Distros when they are using different <FS> managers. Gentoo has Portage, Emerge, and Network Updating. Fedora has more conventional approaches to Distro excellence. The "/home" partition and the "Linux swap" partitions are shared when set up correctly without loss of speed or conflict in access. My preference for the separate Hard Drives is,...Boot Loading and File System behavior with individual characteristics. Now 2007, most Linux Users have larger Hard Drives for multi-booting. Also; smaller Hard Drives are less expensive, and can be set up to function together. IDE; SATA, and PATA have better Motherboards and their respective interfaces. RAID is also growing in usage and productivity. BIOS is larger in size.
 
Old 11-25-2008, 10:28 PM   #5
gregconquest
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Rep: Reputation: 1
"multibooting distros" link changed?

Ian,

Do you have an updated link for your "multibooting distros" document? The link below is dead, and the document looks helpful.

Thank you.
Greg Conquest

Quote:
Originally Posted by IBall View Post
In some cases, the hidden configuration files in a users home directory will conflict if you share the same username between distros. Gnome, KDE, etc may have this problem.

What I prefer, is to create a separate /data partition in ext3 format to hold my documents. I then have a single root partition for each distro, and a common swap. This way, you can share your documents between distros and the configurations stay unique to each distro.

I have a page Here with more information about multibooting distros. I also setup an independent GRUB boot loader, and then install each distros boot loader into its root partition (this is an option during install). This means that upgrades to any one distro do not affect any other distros.

I hope this helps
--Ian
 
1 members found this post helpful.
Old 11-26-2008, 01:18 AM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
I do as Ian does
Except...
My shared data partition is formatted ntfs because I use Windows also and 'tis much better to access ntfs from Linux than to access ext3 with Windows. And the NTFS file system is more robust providing it was created with Windows.
Sharing a /home partition works also between Linux installations, but you need to be root to access another user's /home directory, as it is better to just create a different user for each distro. Using the same user from one KDE desktop to another KDE desktop in another distro can still cause major hair loss.
You can install ntfs-3g in all the Linux installations and everybody can read/write to the ntfs partition.
 
Old 11-26-2008, 01:25 AM   #7
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Here is Saikee's "multi-booting the old fashioned way" tut.
 
Old 11-26-2008, 01:37 AM   #8
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Don't use ntfs for a Linux home partition. The ownership/properties/acls won't work.
If you use a different home directory inside a shared /home partition, then there won't be a problem. You will want to use the same UID if you want to share files between the home files. You might also want to make the Documents and Downloads directories of the 2nd, 3rd, etc. distro be symbolic links to the corresponding directory on the first distro you install.
A users home directory is listed in /etc/passwd, so each distro could use the same username but refer to different home directories, such as username-suse, username-fc9, username-ubuntu, etc.

You will want to update grub only using the first distro. Otherwise you could end up with a dueling distro's situation.
 
Old 11-30-2008, 08:31 PM   #9
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Quote:
Originally Posted by gregconquest View Post
Do you have an updated link for your "multibooting distros" document?
Updated Link: http://www.iball.id.au/node/26

It probably is a bit out-dated now, but the principals remain the same. I no longer dual-boot, as I prefer to use VMWare to try out different distros, Windows, etc.

--Ian
 
Old 06-13-2009, 01:47 AM   #10
#raul
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by IBall View Post
Updated Link:

It probably is a bit out-dated now, but the principals remain the same. I no longer dual-boot, as I prefer to use VMWare to try out different distros, Windows, etc.

--Ian
I am not able to complete root command for grub installation. I get error 21.
My grub partition is extended dev/sda5. what address should i give.

Last edited by #raul; 06-13-2009 at 01:50 AM.
 
Old 03-10-2010, 09:23 AM   #11
trendski
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Question

Quote:
Originally Posted by Junior Hacker View Post

....And the NTFS file system is more robust providing it was created with Windows...

Could someone clarify this. Is an NTFS partition created with GParted less robust?

If so is there any reason for this?

Thanks
 
Old 03-10-2010, 10:22 AM   #12
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by IBall View Post
In some cases, the hidden configuration files in a users home directory will conflict if you share the same username between distros. Gnome, KDE, etc may have this problem.
+1 for that.

My solution, similar to ideas already posted, is to have /home/c on the root partition (for everything that is distro-specific) and to mount a file system containing all personal non-distro-specific files at /home/c/d. Many of the /home/c/.* files-and-directories are not actually distro-specific. These I put on /home/c/d and create symbolic links to them from /home/c, for example .keepass, .mozilla and .openoffice.org.

There is a /home/c/bin directory for personal distro-specific executables and a /home/c/d/bin for personal non-distro-specific executables.
 
Old 03-10-2010, 10:31 AM   #13
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
<duplicate post deleted>
 
  


Reply

Tags
fc6, fedora, gentoo, home, shared


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
/home partition shared by different distros odiseo77 Linux - Software 12 04-02-2006 06:32 PM
Sharing a home folder between 2 Linux distros Jongi Fedora 1 10-26-2005 04:38 PM
Sharing a /home partition!! Azzath Linux - General 6 04-01-2005 04:17 PM
Is it possible to have two distros sharing the same /home partition felicehome Linux - General 4 05-21-2004 12:27 PM
Looking for a way to Share Home Partition among Distros Huddlebum Linux - General 1 03-31-2004 07:06 PM


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

Main Menu
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