LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-23-2008, 10:09 AM   #1
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Rep: Reputation: 15
Multiple distos, any parts that could be shared?


I'm in the process of installing my OSes on a new PC. I've installed Ubuntu 8.04 so far, and intend to install Suse 10.2 too (I won't go into why I doing it, but I am!). Obviously, I'll have a common /home directory, but will likely use different users for each distro. Is there any other parts that can be shared such as /usr/local, or will it just be too much hassle and give conflicts?
 
Old 05-23-2008, 10:20 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Configure /tmp to be cleared out when you reboot, and you can share it as well.
The swap partition can be shared.
In a similar theme, you probably will want to update grub using the same distro. You can modify /etc/grub/menu.lst to boot up to either distro; or perhaps install the second distro's MBR to its own partition instead of the drive MBR and chainbooting the second distro. This will prevent a dueling distros situation where updating grub in one distro causes the other not to boot.

You don't want to share /etc/ of course. However, since the users home directory is listed in /etc/password, you can use the same username but use different directories.
For example: /home/davemar-ubuntu and /home/davemar-suse.

Last edited by jschiwal; 05-23-2008 at 10:22 AM.
 
Old 05-23-2008, 10:44 AM   #3
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
I personally don't think it's a good idea /home. The only thing I'd share is swap, and even then it only makes sense if you never use a "hibernate" feature (which writes the resume image to swap).

I don't put any "data" in /home, only preferences files and some scripts. The "data" and "media" files go into a big partition mounted on, say, /media/sda5. The various Linux installs are aware of this partition only insofar as it's listed in /etc/fstab. That way, no distribution specific cruft ever gets installed onto that partition, and there are no conflicts.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba shared printer doesn't allow multiple copies pljvaldez Linux - Server 2 05-12-2008 05:52 PM
Backing up to multiple parts using dd tensigh Linux - Server 5 06-25-2007 04:42 PM
One shared folder for multiple ftp users -- vsftpd rover Linux - Networking 0 06-17-2004 06:07 AM
Installing multiple distos on one drive cav Linux - General 3 06-17-2003 12:53 AM
Gnome multiple logins/shared profile djmurf Linux - General 2 11-30-2002 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:56 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration