Linux - NewbieThis 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
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.
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.
Hi, I'm looking for some information on how to go about installing multiple distributions onto a single hdd that will share a home directory and a directory of media files. I have the intention of using this box to serve these media files on my LAN so I can grab them with my other computers when needed, but only have the files take up space on the one HDD (would delete from other computer when not needed). I was just wondering what would be a good way to set up the partitioning of this harddrive (hda), my thoughts are:
would this setup work? and what sizes should I make each partition? (60 gig HDD). I intend to run Redhat 9 as one of the distros, maybe slackware as another, and I would like to try to set up Gentoo as well. Would I just simply have each distro intall to it's respective root partition and mount /hda4 and /hda5 as home and media?
Yes - that should work fine. When you create users on the second distro it is a good idea to keep the uids the same so you can still access the same files.
Boot should be tiny (~20mb), the roots for each distro should be given alot each, and the size of the home depends on how much you're gonna sit at this computer (if alot, give it alot). Don't forget swap, which shouldn't be more than 500mb. Search this forum on this topic for more info.
Plus or minus a few gigs here or there to account for the 60 gig, maybe with variation in the different distro's root partitions. Any further input or reccomendations would be very appreaciated.
Whoa, don't forget about primary/extended/logical partitions! There can only be 4 primary or extended partitions (/dev/hda1-4). An extended partition is a primary one that can carry logical ones (/dev/hda5+). Make an extended partiton to carry some of the 6 partitions you need. They can carry up to 11 logical partitions.
Ooh, good point, So I'll guess I'll have my home and media partitions in logical partions so:
/hda
/hda1 boot
/hda2 swap
/hda3 root1
/hda4 root2
/hda5+
/hda5(um a?) home
/hda5(b?) media
I remember using logical partitions with fdisk before, so I'm sure I can figure it out. Are there any partitions (root, boot,swap) which can't be on a logical partition?
Great thanks for the clarification =) I hope this all works out, but it's gonna be a little while till I can test it out as I'm at school now and need to have ye olde box delivered =p
I have been wanting to do this same thing, and this thread has been very helpful in answering the questions I had (just about exactly the same as the OP); but one thing is confusing me.
Why would I need a seperate boot partition? My current config is something like:
/hda - Bootloader installed here (MBR)
/hda1-4 - M$ Windows crap - mostly games
/hdc1 - Linux root
/hdc2 - Linux /home
/hdc3 - Linux /usr/local
/hdc4 - Linux swap
I recently replaced my old 20GB Linux hard drive (/hdc) with a new 120GB, and I am planning on trying out several new distros with the extra space. My quick search on partitioning tips found this thread, which answered all my original questions, but introduced this new question. Is the boot partition mentioned in the thread just the place to install the bootloader? As I use the MBR on my other drive, I don't think I would need a seperate partition just for booting, but I'm not sure if that's what the intention for having a seperate boot partition is.
How is it useful for multiple distros? And what would be installed on it that would benefit from being ro? For that matter, what would go in a seperate boot partition at all?
Also, if somebody w/ experience in this wanted to write a (mini-?)HOWTO on The Linux Documentation Project on testing multiple distributions on one box, I think it would be appreciated. TLDP has answered almost all questions I have ever had, but as far as the current issue goes this was the most info they had, and while somewhat helpful, it is rather unstructured and incomplete.
ha ha, you want to see fstab madness? I have Slack 9 and 9.1 and win98se spread across 3 drives in same box.........sindows 98se is used for games mainly.......
Oh, I also have /boot (/dev/hda6).
I have this already (gentoo installed).
I also have a spare partition (/dev/hda13) with 10 gig on it and I want to install redhat on it. However I'm just unable to work out how this is done.
I know I have to enter details in /etc/lilo.conf to boot the kernel but I don't really understand how it knows what partitions to use etc. (like how does it know to use /dev/hda13/usr rather than /usr (on /dev/hda9)??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.