this post was submitted on 27 Mar 2024
35 points (94.9% liked)

Linux

48199 readers
1180 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
 

experimenting with my 2014 macbook pro and several linux distros (xubuntu, mint, fedora)

So far I have 8 partitions:

  • 1 EFI for grub,
  • 1 hfs+ (Linux HFS+ ESP) for OCLP, I think,
  • 1 apfs for the macOS 14 I cannot boot,
  • 2 ext4 for xubuntu and mint
  • 1 brfs for fedora (so it cannot be ext4?)
  • 2 unallocated ones, because I deleted systems I don't want.

I use gparted: the 2 unallocated sections are separated. Is this a problem?

How many partitions are too many for this machine? 247 GiB storage and 7.66 GiB memory.

After I'm done experimenting and keep the 2 to 3 operative systems I like, should I wipe the notebook, create the 2 to 3 partitions I'm going to need and reinstall? Or would it be better to simply delete the partitions I don't want?

you are viewing a single comment's thread
view the rest of the comments
[–] Para_lyzed@lemmy.world 5 points 7 months ago (1 children)

First off, the HLS+ partition is for MacOS, not Linux, and could be for OCLP if you use that (which I assume you do based on having MacOS 14 on a 2014 Macbook). I would highly recommend you try new distros in a VM instead of installing them. It's much faster and will reduce the work you need to do dramatically. You can just pick whatever distro you seem to like the most (or whichever is first in partition order because it doesn't matter which distro you use for this), extend that partition for more space, then try everything in a VM. It seems that 2014 Macbook Pros come with a dual core processor, so you can assign one core to the host OS and one to the VM, as well as about half your memory (so 4GB of the 8GB that comes by default). Once you settle on one, you can delete the partition with the OS you used for VMs and install that (or keep that OS if you decide you like that best and just delete the VMs). Installing too many operating systems could also bloat your EFI boot manager list (stored in NVRAM, not on disk), and you may have to manually delete EFI entries if it gets too full with something like efibootmgr.

I'd also like to clarify that Fedora can be configured for EXT4 during installation, but it uses BTRFS by default. The be clear, BTRFS has many advantages, and I'd recommend that over EXT4 any day of the week. Fedora adopts new technologies before most other major distros, and while BTRFS was initially released over 15 years ago, it wasn't very "proven" or ready for major distros until maybe 5 or so years ago, and Fedora 33 was among the first distros to start using BTRFS by default (late 2020). You were able to manually partition BTRFS before Fedora 33, but it was not the default. You can feel free to look up any additional info on the differences yourself, as it's fairly off topic to your question.

After you decide what you want, you can delete other partitions and move/resize partitions from a liveUSB (so you aren't running an OS from a partition that you're moving). It should be fine to use the liveUSB for whatever OS you plan to install, but be aware that you may have to install GParted since it doesn't always come by default on the liveUSB. By moving and resizing partitions, you can eliminate unallocated gaps. You don't generally have to delete all the partitions/reformat a drive to install a new OS unless you're having issues with the drive itself (which is likely to be a hardware issue anyway).

Technically, GPT is capable of up to 128 physical partitions, but you can also extend that with LVM to create virtual partitions (which I believe you can have a max of 65,536 virtual partitions in an LVM physical partition, so you can see that the numbers get pretty absurd). The main limiting factor is space and utilization. If you have 128 partitions on a 256GB drive, each partition would only be 2GB, so it would be fairly useless. Generally, you want to give each partition room to grow to a specified size that you believe is reasonable. For instance, it would be irrational to size your EFI partition at 64GB, because it could never be expected to grow to that size, and takes away space from partitions that could utilize it (such as your main operating system). Additionally, it would be unreasonable to size your OS partition at 20GB on a 256GB drive because it can be expected to grow far beyond that in normal use (downloading/storing media, for instance).

A little off topic, but I'd also generally recommend you use a single distro at a time if using Linux, as for the most part, you can do basically anything in one distro you can do in any others. If you use your laptop for work, you can use a different OS for work and personal use, but often it makes more sense to just set up multiple users. Managing and maintaining multiple installations takes much more time, and has very few benefits unless there's a very specific reason for doing so. Most of the differences you should care about will have to do with the package manager and repos, as your desktop environment can be changed if absolutely necessary. If you want to change your desktop environment though, I'd recommend seeing if there is a spin of the distro of your preferred DE available first, as that's going to be much smoother and less prone to breakage than changing it yourself. For instance, Fedora Workstation comes with GNOME by default, but has spins with KDE Plasma, XFCE, Cinnamon, MATE, i3, LXQt, LXDE, SOAS, Sway, Budgie, and soon will have COSMIC available (you can view the spins here). Since I'm already going off topic, Fedora is my #1 personal recommendation for distro, especially for new users who aren't sure what they want yet. It's fairly mainstream (so lots of forums and support available), has a semi-rolling release (so it gets updates and features quickly, but is still stable and has discrete releases), and generally has a good user experience. If one prefers the release schedule of Debian or Arch, then at the very least Fedora sits in between the two (fixed vs rolling) so it is generally agreeable with most.

TL;DR: You aren't going to be limited by the amount of partitions you have, but you can fill up your EFI boot manager list in NVRAM if you install too many operating systems (you have to manually clear that list, uninstalling/deleting partitions won't do it). Generally, the use of VMs is easier and involves much less work than installing distros to your disk, and allows you to distro hop much faster to find your preferred distro.

[–] vestmoria@linux.community 2 points 7 months ago

thank you for your detailed post and the off topic bits, helpful as well