Linux - NewbieThis 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!
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.
It's definitely possible to share /home but you'll have to make sure that you setup your users with the same UID and GID to be able to save and open files from your home partition in both distributions.
Sharing /usr/local should also be possible, and probably /usr too. Afterall, this is only what networked computers do.
Re: partition sharing pour Linux dual/multiple boot
Although it is possible to share /home, I would say create another partition and mount it under something like /mnt/data. You can access it from any distros then, and still keeping the config files, which are stored under home dir, that may be different between distros.
In the first place, why would you install so many distros on such a tiny disk? I think sticking to one may be a better idea if you are not experimenting with them...
Re: Re: partition sharing pour Linux dual/multiple boot
Originally posted by koyi Although it is possible to share /home, I would say create another partition and mount it under something like /mnt/data. You can access it from any distros then, and still keeping the config files, which are stored under home dir, that may be different between distros.
I disagree - actually being able to share config files between distros would be a great thing, rather than have to set up, for example, fluxbox the way he likes it on both distros he need only set it up once and the settings would be the same on both distros. Likewise he would be able to access things like emails at the same time. Also, on such a small disk this would save a lot of space. There are not likely to be 'distro specific' config files stored in the home partition anyway - often /home is on a different machine in a large organisation (at university it was even shared by the windows machines!) and so distro specific configs wouldn't be saved there anyway.
You could share the home partition. It is simply a storage partition for the home directories. (Please note my distinction between the terms 'home partition' and 'home directory') If you simply use two different user names for the two distro's, you will have two separate home directories. One for Libranet, and the other for Ubuntu. If on the other hand you want to use the same user for the two distro's, then you want to make sure that you use the same UID and GID numbers. Making changes in KDE in one, would write to ~/.kde/ and cause the same changes in the other.
Otherwise, having different directories, you could have a common directory for your documents, and have a symbolic link to them in different home directories. This would allow you to work normally using either distro. Again, you need to make sure that you have either user or group read/write access to this directory for each yourself in each distro.
If would be easier to share the /usr partition between several computers using the same distro, then among several distros on the same computer. You might want to read through the Linux Filesystem Hierarchy Standard for details on which directories can be shared on a network drive, and which can be mounted read-only. A company with 50 linux machines will probably do it this way because it makes administration easier. The programs and libraries only need to be updated in one location instead of updating every machine. However there may be differences between two distro's which would cause problems. However since the /partition tends to get very large, it may be worth it to give it a try. If you install a package in one distro, you would need to make the same changes to other directories such as setup files in the /etc directory. It may be difficult keeping track of this.
Distribution: Xubuntu Dapper - Debian Etch - Puppy Linux
I know I sound a bit silly with my tiny disk and my ambitious multiboot planning!!
I'm very happy with Libranet but I feel like experimenting with other debian-based distros because this makes me more fluent with linux, each distro being different, and because I try to help other people adopt Linux -- I don't like to say "Use Libranet and that's that"; it's nice to offer some choice.
Many thanks for your advice and views on the subject -- I'll have something to think about.