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 |
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-27-2006, 02:46 AM
|
#1
|
LQ Newbie
Registered: Aug 2004
Distribution: Debian
Posts: 26
Rep:
|
Putting two distros on same partition
I am currently trying to install two distros of linux on the same machine (Debian and Gentoo). I know that the standard method of doing that would be to create a separate partion for each one, but I was wondering if it would be possible to put them both on the same partition. What I was thinking was that the root directory of the partition would have two directories, and then each distro would mount a sub directory as the root (/) partition. The problem is, I only know how to mount a partition as /, not a sub directory. Is what I'm thinking possible, or should I just go with two partitions? Thanks!
|
|
|
04-27-2006, 06:58 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
erm... what you want to achieve is kinda possible... i would look towards running a chroot environment for one of the distro's or something, but in practise it's just a bit of a non-starter in my opinion. really not something to want to do in the first place. i would personally rather look towards a virtual machine if you seriously could not add another partition.
|
|
|
04-27-2006, 07:26 AM
|
#3
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
yeah, you could do that. but it sounds rather horrible - setting up your bootloader correctly, you'd need and initrd, then setting up the chroot etc etc
Then actually using it could become rather confusing.
Unless you want to use two systems at once, it would be far easier to create 2 seperate partitions......
|
|
|
04-27-2006, 08:24 AM
|
#4
|
Member
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345
Rep:
|
It sounds like what you're attempting to do is create two "virtual" partitions within one partition using directories.
Why not just go the extra mile and do it the proper way with two separate partitions?
You're just making things needlessly complicated for yourself.
|
|
|
04-27-2006, 08:25 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
one other thins to toss in here would be the use of LVM, which means you can install inside a single partition, but still obvsiouly requires that you are already using LVM on the current distro, and both distro's you are using are happy to support it properly.
|
|
|
04-27-2006, 08:33 AM
|
#6
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
lvm? how are you figuring that acid?
|
|
|
04-27-2006, 08:43 AM
|
#7
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
Why not just use debian? Why would you want to run anything other than debian?
|
|
|
04-27-2006, 08:44 AM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well that's what LVM does... partition contains physical volumes, physical volumes contain logical volumes, logical volumes are therefor used instead of disk partitions
|
|
|
04-27-2006, 08:50 AM
|
#9
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
yeah, i love my LVM. I've never thought of booting into a different logical volume, i must say!
Last edited by satinet; 04-27-2006 at 08:53 AM.
|
|
|
04-27-2006, 11:01 AM
|
#10
|
LQ Newbie
Registered: Aug 2004
Distribution: Debian
Posts: 26
Original Poster
Rep:
|
Gotcha
OK - thanks for the info everybody, that totally answers my question. I was mainly just looking to see if I could save some space (with two partitions, I may run out of space on one before the other), but it's not really that big of an issue. My reason for installing two at once on the same machine was to compare them directly on the same hardware, but it doesn't sound like I'd get a fair test if I had to boot one from the other anyway. I'll just keep it simple this time, but I may look into LVM later. Thanks!
|
|
|
04-27-2006, 12:58 PM
|
#11
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Originally Posted by Agrouf
Why not just use debian? Why would you want to run anything other than debian?
|
sadly i don't even think that that's a joke... gotta "love" debian users. they manage to stereotype themselves so noone else even has to think!
|
|
|
04-27-2006, 01:00 PM
|
#12
|
Member
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827
Rep:
|
Quote:
Originally Posted by acid_kewpie
sadly i don't even think that that's a joke... gotta "love" debian users. they manage to stereotype themselves so noone else even has to think!
|
Yeah, ive also noticed the phenomena.. d: .. Especially against slackers (;
|
|
|
04-27-2006, 03:39 PM
|
#13
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
Quote:
Originally Posted by acid_kewpie
sadly i don't even think that that's a joke... gotta "love" debian users. they manage to stereotype themselves so noone else even has to think!
|
Sorry about that. That was a joke. I was just trying to having some fun. I was in a weird mood. On the other thread I posted that the bible said that only debian users would be saved at judgement day. I thought that was funny because I didn't think someone could *really* think something like that. Indeed that's a problem. I don't even use debian myself (although I use some derivatives). apt-get is nice but debian is not the only way. I use mandriva with much fun and I discovered pclinuxOS, which is kind of a mix between mandriva and apt-get and I like it, although it is only available in english currently (but that will change this summer). I'm turning that into some kind of Red Hat, installing package after package, dependency after dependency from the red hat repositories and that didn't breack yet. LFS is much much fun. Oh and gentoo, arch and and ... BSD! freeBSD is NOT boring. FreeBSD is fun to learn and sooo stable. I didn't tryed openSolaris, but I HAVE to give it a shot. God let's even give that windows vista a chance. I'll probably won't give the bucks for that, but I want to know how it looks like on friend's computers and get nostalgic. Windows is getting old, but this version will be pretty, for sure. I will install slackware on one of my computers one of these rainy week ends, because I haven't managed to try it yet, but have heard so much good about it. Many friends of mine use it with much fun.
In any way, all apologies for offending anybody with my weird mood and please don't take me seriously in the future when what I say is not technical.
Last edited by Agrouf; 04-27-2006 at 03:48 PM.
|
|
|
All times are GMT -5. The time now is 08:41 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
|
|