l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Dec 30 13:23

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Running Multiple Distros
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Running Multiple Distros

Quoting Robert G. Scofield (rscofield@afes.com):

> How can you have two home directories?

By creating a second one, and specifying its use in the role of /home
when installing the second distribution.  (I'm not trying to be flip:
I'm serious, and will explain further.)

> For example, these are the relevant partitions on this system:
> /dev/hdb2 has SuSE 9.2
> /dev/hdb3 is the spare
> /dev/hdb7 is /home
> It seems like any new distro put into /dev/hdb3 will automatically use
> /dev/hdb7 (which SuSE 9.2 is using), right?

No.  You should, in basically any distribution's installer, be able to
initiate creation of any new filesystems you wish to exist, and also
specify explicit mountpoints for any and all filesystem.  So, when you
install the second distribution, if you have free disk space, you might
create /dev/hdb8 using some of that disk space, and specify that the
second distro should use /home as its mountpoint.

Alternatively, you could install the second distribution _entirely_
within /dev/hdb3, ignoring entirely the opportunity to specify a
separate mountpoint for /home .  (You could, if you wished, cause the
second distro to automount /dev/hdb7 at mountpoint /home-on-suse or
similar, if you needed access to those partitions' files.  Ditto
mountpoint /rootdir-on-suse or similar for /dev/hdb2.  However, you
might have some serious problems keeping the owning users and groups
aligned between the two distros, given likelihood of differing UID and
GID assignments between the distros' /etc/passwd and /etc/group files.)

> Is there anyway to install a new distro on /dev/hdb3 and have it use a
> /home on /dev/hdb3?

You betcha.  Just assign the new distro's "/" (root directory)
mountpoint to /dev/hdb3, and just avoid assigning mountpoint "home" to
/dev/hdb7.  Then, /home will live within /dev/hdb3 by default, rather
than being on a separate filesystem.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.