this post was submitted on 05 Sep 2023
47 points (92.7% liked)

Linux

47356 readers
1560 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello all, sorry for such a newbish question, as I should probably know how to properly partition a hard drive, but I really don't know where to start. So what I'm looking to do is install a Debian distro, RHEL, and Arch. Want to go with Mint LMDE, Manjaro, and Fedora. I do not need very much storage, so I don't think space is an issue. I have like a 500+ something GB ssd and the few things that I do need to store are in a cloud. I pretty much use my laptop for browsing, researching, maybe streaming videos, and hopefully more programming and tinkering as I learn more; that's about all... no gaming or no data hoarding.

Do I basically just start off installing one distro on the full hard drive and then when I go to install the others, just choose the "run alongside" option? or would I have to manually partition things out? Any thing to worry about with conflicts between different types of distros, etc.? hoping you kind folks can offer me some simple advice on how to go about this without messing up my system. It SEEMS simple enough and it might be so, but I just don't personally know how to go about it lol. Thanks alot!!

you are viewing a single comment's thread
view the rest of the comments
[–] Pantherina@feddit.de 4 points 1 year ago (1 children)

Really nice idea with the shared swap and storage!

Caveats:

  • you can LUKS encrypt that, but you may need to tweak some polkit rules to automatically unlock it.
  • Fedora uses zram and swap and SELinux is a hell of a task

Apart from that, great recommendation!

In the end you can simply delete all partitions except your storage partition, reinstall any distro and mount that partition to /home

[–] lvxferre@lemmy.ml 1 points 1 year ago (1 children)

Fedora's swap on zram shouldn't pose a problem - at most it won't use the disk swap, but other distros still would.

Encryption is important but I wonder if OP would make much use out of it, given that he plans to bulk store his items in the cloud. The storage partition would be mostly for things "at hand". And if necessary, as you said, some elbow grease lets you have encryption and still access it from all distros.

I don't recommend OP to mount that partition directly to /home itself. It's bound to create problems later on due to software in different versions interacting with software that may or may not be present depending on the distro. Mounting it inside some other directory (even inside /home, e.g. /home/username/storage) feels considerably safer.

[–] Pantherina@feddit.de 1 points 1 year ago (1 children)

Right you would then have something like

  • swap
  • zram
  • /home/user/storage
  • boot
  • boot/efi
  • /
  • boot
  • boot/efi
  • /
  • boot
  • boot/efi

...

What a mess. But if you kinda keep track of what is what (maybe search for the packages dnf apt yay and so on) it can work

[–] lvxferre@lemmy.ml 1 points 1 year ago

It's less messy than it looks like.

Physically you'd have N+2 partitions for N systems: one for swap, another for storage, and N for system files. Then inside each system you'd have simply to mount the swap, /, and /home/user/storage.

I recommended OP to turn EFI off, it sounds pointless in his situation. Regarding /boot: it boils down to installing grub in one of those distros, and letting it manage the boot.