Linux - GeneralThis 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.
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.
what is the general strategy for installing several ditros ? I think I will need to split the disk into a number of partitions equal to the number of distros. I imagine the simplest way would be to partition disk either with live linux like Knoppix or disk partitionning tool provided in any distro installator. In the latter case however, I will need to quit the installation after partioning and run it again with disabling all partitions except the one where I want to install this distro to. Afterwards I install other distros on the remaining partitions.
Total (minimal) amount of partitions would be No of Distro's + 1. The 1 being a swap partition. This one swap partition can be used with all the dirstro's, there's no need to make one for all the distro's present.
Personally I create all the needed partitions, using a liveCD with fdisk, before starting the installation of the different distro's. And I, obviously, skip the partitioning part during installation of the distro's.
Your second option: Using the first distro to create the partitions is also a possibility.
Give yourself some time before deciding the layout of (extra) partitions. I have a few extra portitions that are accessible by all distro's. To name just one: /data/Software. All my software is on that partition and it is accessible by all distro's.
You can share the swap partition between all the distros. Install the first distro's boot loader to the MBR and use the /boot partition during setup. This will put the grub config files on their own partition so that even if you wipe out the first distro, you can still boot to another distro.
On the other distros, install the bootloader to the root partition (not the MBR) and use grub's chainloader feature to chainload the other boot loaders.
The shared partition is for storing all your documents, etc that you want to use between all the distros. It can really go anywhere. Some people recommend you just use a shared /home partition, but in my (limited) experience, this is a bad idea because different distros use different versions of programs and the config files in /home get all messed up when using them across distros. So I just keep common documents on a separate partition.
Oh, and for partitioning, any partition manager will work. I personally have had great success with the GParted Live CD.
when i lately tried to create new partition with fedora installer, i couldn't label it as i'd like, but i had to choose between predefined names like /, /tmp, /home etc.
So my question is how does one in general treat partitions and their names ?
I firmly agree with pljvaldez about sharing /home: Don't!
Partitions can have any name you want, but there are a few that are needed if you decide to make that part a separate partition. Most distro's have predefined names which are most commonly placed on separate partitions/disks. /tmp and /home being two of those.
I don't use a (distro) GUI to set up the partitions and their devices. Editing /etc/fstab and creating mountpoints by hand is the easiest (if you know what you are doing!).
I do remember (Suse 7) that all the predefined entries could be changed (or ignored). Most of the time there are options to create your own mountpoints and links to the device (could be that that part is in the advanced options part).
c/fdisk is a great way to look at an overview of the disk, and work out what you can do, doing it from an installer is extra preussre and hard to research at the same time. knoppix has some variant of fdisk if i recall, dunno if it has a GUI one.
Agreed on not sharing home (or any other major directory actually), and the thing with Linux is, all of the directories can have their own partition and mount point, but if you don't want that (and you dont) then they just get put into the / partition, which i prefer so that directories are not limited to their partition size.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.