Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-24-2006, 10:35 PM
|
#1
|
Member
Registered: Sep 2005
Posts: 58
Rep:
|
Multiple Linux's use Same Swap?
Can i have all my different linux distros use the same Swap partition?
|
|
|
04-24-2006, 11:15 PM
|
#2
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Rep:
|
Quote:
Originally Posted by VIR3NT
Can i have all my different linux distros use the same Swap partition?
|
Ya sure. And its the right way of doing.
while installing the second distro, just point the swap to the earlier disto's swap.
regards
Last edited by b0nd; 04-24-2006 at 11:16 PM.
|
|
|
04-24-2006, 11:22 PM
|
#3
|
LQ Newbie
Registered: Apr 2006
Location: USA
Distribution: 2006.0 Gentoo Linux (gentoo-sources-2.6.15-r1)
Posts: 23
Rep:
|
and since were on the same topic, I dont see anything wrong with the same boot partition eather. You will just need to create a new root partition.
|
|
|
04-24-2006, 11:39 PM
|
#4
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Rep:
|
Quote:
Originally Posted by swooshonln
and since were on the same topic, I dont see anything wrong with the same boot partition eather. You will just need to create a new root partition.
|
Ya just one thing has to be kept in mind that the various vmlinuz/system.map etc. files should be renamed according to the distro so that they don't overwrite each other.
regards
|
|
|
04-25-2006, 12:12 AM
|
#5
|
Member
Registered: Sep 2005
Posts: 58
Original Poster
Rep:
|
What about my GRUB. I have GRUB loaded with options for loading Suse and windows, if I install another distro will grub be able to automatically pick up on it or how do i configure the additional distros to appear on my grub menu?
|
|
|
04-25-2006, 12:28 AM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally Posted by VIR3NT
What about my GRUB. I have GRUB loaded with options for loading Suse and windows, if I install another distro will grub be able to automatically pick up on it or how do i configure the additional distros to appear on my grub menu?
|
You can choose not to install a bootloader and then configure your Suse bootloader to boot the other Linux distros.
|
|
|
04-25-2006, 12:52 AM
|
#7
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
But no, GRUB will not automatically know it's there.
|
|
|
04-25-2006, 01:02 AM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
You could do something similar with the /home partition. For example, the /etc/passwd file indicates where a users home directory is, so for fedora-core you could have a home directory for user "vir3nt" be /home/vir3nt-fc and for SuSE be /home/vir3nt-su. It is the UID that is important, and not the actual name of the users home partition which is indicated by the $HOME variable and expanded with the "~/" characters.
If you share the /boot partition, then make sure that you only update grub or lilo from the same distro every time. You will need to manually edit the lilo.conf or menu.lst file when adding a new distro. The entry for you first distro can serve as a model.
You may have it configured so that /tmp is cleared everytime you reboot. That would be easy to share. Another candidate is /usr/local. The contents of the /usr/local hierarchal tree are left alone by the distros, so you can install shared tarball installations there. You may need to make sure that the paths are defined for each distro to use it, and check if any /etc/ files are installed when running the "make install" target. Running "find" with the -cmin option can help locate where all the new and modified files are located. Another option is to use "tee" to save the output of the "make install" phase.
Last edited by jschiwal; 04-25-2006 at 01:03 AM.
|
|
|
All times are GMT -5. The time now is 09:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|