Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
First of all, this is my first thread in two years on linuxquestions.org. I've been using LQ a reference for a few years now, and must say I'm impressed with the forum.
I want to set up a dual boot system with Debian (sarge) and Mandriva (10.2), but with a shared /home partition. This way I'll be able to access my files regardless of which system I fancy at boot time.
One approach i tried was to install Mandriva the usual way, but leaving space for a 7 GB Debian partition. Also, I created two partitions, one for swap(say, hda2) and one for home (say, hda3). Then, when I installed Debian, I set the mount point for home to hda3, and the mount point for swap to hda2. The / was installed to the 7 GB partition.
This worked out fine, except for one thing: In Debian, only root was able read and write the the /home partition.
Is this the proper way for creating the dual boot system I described above? If so, what should I do next to get this working?
The separate /home partition has to be separate for both distros--it can't be mounted just for Debian. Both Debian and Mandrake have to mount it as /home.
Maybe I'm misreading your post, but that's what I see as the problem.
I did get Mandriva and Debian to mount the same partition as /home: Whan I installed Debian, I set the mount point for /home to the same
/home partition as Mandriva uses.
My HD partitions looks something like this:
| Mandriva | Swap | /home | Debian |
Both dists mounts the same swap- and home partitions, except Debian is not able to read or write the /home partition unless I become root.
In my experience of multibooting, it's best to set up a seperate data partition to keep your stuff like documents, oggs etc on. The problem with sharing a /home partition between distros (in addition to ownership) is that often they will have different versions of software. Take KDE for example: the configuration files often change between revisions, and it can cause much confusion between distros overwriting eachother.
I've found it best to create a seperate partition for my data, and just symlink to it from the /home/mugstar directory under each installed distro. (You do need to make certain you use the same username and UID).
I think I'll go for keeping the shared files on one separate partition, as I did when I had a MS Windows/Linux dual boot. That way I shouldn't
have problem with system files overwriting each other.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.