LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 06-08-2007, 06:34 AM   #1
naz37
LQ Newbie
 
Registered: Oct 2005
Location: Ireland
Posts: 11
Thanked: 0
Sharing /home partition between distros


[Log in to get rid of this advertisement]
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
naz37 is offline  
Tag This Post , , , ,
Reply With Quote
Old 06-08-2007, 06:46 AM   #2
junme
Member
 
Registered: Oct 2004
Location: ~/.au
Distribution: Mepis Kanotix SUSE
Posts: 189
Thanked: 0
yes no problem just remember not to format /home during instillation
junme is offline     Reply With Quote
Old 06-08-2007, 06:47 AM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Thanked: 4
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 09:29 PM..
IBall is offline     Reply With Quote
Old 09-17-2007, 07:46 PM   #4
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470
Thanked: 0
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.
UhhMaybe is offline     Reply With Quote
Old 11-25-2008, 11:28 PM   #5
gregconquest
LQ Newbie
 
Registered: Apr 2007
Posts: 5
Thanked: 0
"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
gregconquest is offline     Reply With Quote
Old 11-26-2008, 02:18 AM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Thanked: 21
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.
Junior Hacker is offline     Reply With Quote
Old 11-26-2008, 02:25 AM   #7
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Thanked: 21
Here is Saikee's "multi-booting the old fashioned way" tut.
Junior Hacker is offline     Reply With Quote
Old 11-26-2008, 02:37 AM   #8
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 12,877
Thanked: 232
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.
jschiwal is offline     Reply With Quote
Old 11-30-2008, 09:31 PM   #9
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Thanked: 4
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
IBall is offline     Reply With Quote
Old 06-13-2009, 02:47 AM   #10
#raul
LQ Newbie
 
Registered: Jun 2009
Posts: 1
Thanked: 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 02:50 AM..
#raul is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 01:32 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration