LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 12-09-2007, 05:52 PM   #1
SkinnerC
Member
 
Registered: Dec 2007
Location: New England, USA
Distribution: Ubuntu 8.04 LTS, Slackware 12.2
Posts: 138
Blog Entries: 1

Rep: Reputation: 20
Wondering


Can I have more than one distro of Linux on my machine? If so , how should I set up my partitions? Can they use the same swap partition? If my /home is in its own partition, can I use my files in all distros?

Thanks
 
Old 12-09-2007, 06:15 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Quote:
Originally Posted by SkinnerC View Post
Can I have more than one distro of Linux on my machine?
Yes.

Quote:
Originally Posted by SkinnerC View Post
If so , how should I set up my partitions?
Depends on what kind of granularity you're after. but two roots,
1 swap, 1 home should get you started.


Quote:
Originally Posted by SkinnerC View Post
Can they use the same swap partition?
Absolutely.

Quote:
Originally Posted by SkinnerC View Post
If my /home is in its own partition, can I use my files in all distros?

Thanks
Two things on that.

1) Make sure you have the same UID in both distros.
2) Some apps may be on different levels, and store settings
differently in the same files. Things MAY go wrong, I'd make
a back-up of ~ before switching for the first few times, and
see how your account behaves in which distro, and do that a
few times switching back and forth to see how it goes.



Cheers,
Tink
 
Old 12-09-2007, 06:34 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Quote:
If my /home is in its own partition, can I use my files in all distros?
Another option is to use a different directory in the /home partition for your home directory in your home page. One difference between distro's is how KDE or Gnome is configured. Sharing the same /home/user/ directory will erase this difference. For example, different disto's setup the menu differently.

One thing you can do is to rename your home directory and change your entry in /etc/password to reflect the change. For example change "/home/skinnerc" to "/home/skinnerc-fc8". Then edit the home directory field in /etc/passwd for user "skinner". You could have some of the subdirectories such as "~/Documents" in the subsequent distros symbolic links to the same directory in the first distro. As the mod pointed out, you need the same UID to be able to do this. ( or use facl's )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wondering what you think scheidel21 Linux - General 3 03-04-2006 01:51 PM
Wondering if I should try this 357mag Mandriva 5 01-16-2006 12:23 AM
I was wondering..... dtheorem Mandriva 19 12-23-2004 10:27 PM
I was just wondering... cclavey *BSD 7 04-17-2003 06:44 PM
I was wondering something... Touma Linux - General 1 03-30-2001 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 PM.

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