this post was submitted on 05 Sep 2023
48 points (92.9% liked)
Linux
48090 readers
782 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
One thing that might matter is that if all distros use the same swap partition for hibernation, you shouldn't boot one distro after hibernating another or you might overwrite the saved RAM contents.
If you use different swap partitions or files, you probably should still avoid writing to a partition that belongs to a distro that isn't actually shut down.
Ok, so maybe make a separate partition for each distro and a swap for each distro too? I'm also confused about the bootloader part too. I've never manually partitioned for a distro before, just always did the auto/recommended route.
No need for manual partitioning, just resize the storage partition of the former distro, install automatically, repeat
Thank you!
Oh and just to be sure, I need to use the live iso for the distro in order to resize partitions, is that right?
No, as I said. Install, in the installed OS use the partition manager to resize itself. I think that should work best.
During the live usb installer phase the system is not installed on disk. You can resize the partition of a running system afaik. If not, yes you may need to use a live usb to do that.
But main question, why?
Because I would like three daily drivers, one for each main distro type so I can learn more and explore other types like arch and rhel based, since I'm not knowledgeable on those. But I also want them to be workstations too, for normal usage. Just variety... And of course for learning. I dont just want a live disk to tinker with and thats all. I want these distros to maintain everything I do inside them just like any physically installed distro. Maybe I'm not properly conveying my view idk
I dont see how this is important.
In the end its all GNU+Linux, the usage is the same. Just use Distrobox and learn how to use that, its so awesome.
You have a full CLI environment for each distro there, just no SELinux, apparmor or systemd.
I would recommend you to try Fedora. Mayve even the immutable spins. Thats the future and you can try a lot anyways like what I descriped.
Thanks again. Im not quite sure what these immutable distros are, I keep hearing about them. Gotta do some researching!
Immutable + atomic. Its similar to Android or IOS. It can be explained like that:
That you can normally install apps is thanks to Flatpak, so you dont need to reboot on every install. The idea is to have a very slim core system and "outsource" as much as possible to Flatpak. This means at the same time, official packages, less work for the distro maintainers, and containerization.
In the future even more packages will be removed as native packages and installed through Flatpak. Buts still a developing technology and important things like
native messaging
or USB access (hardware security keys) are still missing.Very very helpful. I tried to install Silverblue last night, but couldn't get it to work. after a successful install, when I go to restart, it just wouldn't restart, it would hang.
Hmm weird
Hey buddy! sent ya a dm a little while ago
I think the easier solution would be not to use hibernation - either shut the system down properly or use suspend-to-RAM.
If everything works, the bootloader should be whichever GRUB version comes with the distro you install first and the other distros' installers should just add entries to boot them.
Perfect! Thanks for this info. Sounds much easier. Is there one particular bootloader you think would be BEST for multibooting different distro types? My guess would be a Debian system first probably? and do you recommend I make separate partitions for everything or just install the other distros into the same partition as the first install?
There shouldn't be any significant difference between the GRUB versions that come with different distros, so the order in which you install the distros doesn't really matter.
You can't install multiple distros on one partition, so you need at least one partition per distro.
Ok cool, thanks. Does the bootloader partition get created automatically by the installer or is that something you must do manually? and should each partition for each distro have it's own swap? or just one swap to handle all three?
The first installer will install the bootloader automatically.
It will also create a swap partition unless you tell it not to, and all distros will use all swap partitions by default, so you don't need more than one per disk.
If you don't hibernate one distro and then boot another, sharing a swap partition isn't a problem.
I appreciate the patience and helpfulness. Dont the distro installers automatically create a swap for you? if not, how large of a swap do you recommend and would that just be an empty fat32 or ext4 partition?
A swap partition doesn't have a filesystem - it has its own partition type and doesn't contain files. The installer might create one automatically or it might not - if it asks how large it should be, a good rule of thumb is to use the same size as your RAM.
If that turns out not to be enough, you can create a swap file on a data partition later and if it's too large, you just wasted a few GB but usually that doesn't matter.
Ok so then in this case, create one swap approximately the size of my RAM as I guess the first partition? and then each partition beyond would be just for the distros? i've scene diagrams of efi and bios partitions in the front too, what about those?
The order of the partitions shouldn't matter - usually the EFI partition comes first if there is one at all, but as far as I know that isn't actually required.
thanks, makes it sound easier then. but what about the mount points like I mentioned? and do people make their own partition for the home directory??? and how does a storage partition integrate with three different distros? I just want to make sure I cover all my bases.
You can create dedicated partitions for /home, but unless you know why it makes sense in your specific situation, you shouldn't.
The data partition is just another partition that you can mount somewhere, for example /mnt/storage.
Gotcha, thanks again. Now creating these partitions is a bit more clear, now I have to learn about mounting and all of that. No clue on that side of things