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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-08-2007, 05:34 AM
|
#1
|
|
LQ Newbie
Registered: Oct 2005
Location: Ireland
Posts: 11
Rep:
|
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
|
|
|
|
06-08-2007, 05:46 AM
|
#2
|
|
Member
Registered: Oct 2004
Location: ~/.au
Distribution: Mepis Kanotix SUSE
Posts: 189
Rep:
|
yes no problem just remember not to format /home during instillation
|
|
|
1 members found this post helpful.
|
06-08-2007, 05:47 AM
|
#3
|
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
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.
|
09-17-2007, 06:46 PM
|
#4
|
|
Member
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470
Rep:
|
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.
|
|
|
|
11-25-2008, 10:28 PM
|
#5
|
|
LQ Newbie
Registered: Apr 2007
Posts: 7
Rep:
|
"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
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.
|
11-26-2008, 01:18 AM
|
#6
|
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
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.
|
|
|
|
11-26-2008, 01:25 AM
|
#7
|
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
Here is Saikee's "multi-booting the old fashioned way" tut.
|
|
|
|
11-26-2008, 01:37 AM
|
#8
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
|
11-30-2008, 08:31 PM
|
#9
|
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
Quote:
Originally Posted by gregconquest
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
|
|
|
|
06-13-2009, 01:47 AM
|
#10
|
|
LQ Newbie
Registered: Jun 2009
Posts: 1
Rep:
|
Quote:
Originally Posted by IBall
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.
|
|
|
|
03-10-2010, 09:23 AM
|
#11
|
|
LQ Newbie
Registered: Feb 2010
Posts: 1
Rep:
|
Quote:
Originally Posted by Junior Hacker
....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
|
|
|
|
03-10-2010, 10:22 AM
|
#12
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,367
|
Quote:
Originally Posted by IBall
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.
|
|
|
|
03-10-2010, 10:31 AM
|
#13
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,367
|
<duplicate post deleted>
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:22 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|