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?

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 years ago

    Waste of space due to fragmentation is the first thing that comes to mind. I got tired of moving and symlinking stuff to make room inside partitions. Nowadays I only use the essentials (/ and /efi) + /home + 1 partition per physical device, with a filesystem that makes sense for the usage and device. That said, I never run more than one distro on bare metal.

    • EddoWagt@feddit.nl
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      Sameish, for Linux I have the same, efi, root and a seperate home. Then I have windows efi and windows itself on another drive. Then I also have another drive for most of my storage, which is shared between Linux and Windows. I only really use my home partition for downloads and configs, maybe I should move my downloads to the storage drive so I can share them with windows as well. Not sure why I’ve never done that

  • skatrek47@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    3 years ago

    I’m not an expert, but one drawback is the potential for one partition to become full when the others are empty… However, it looks like you have several different file systems, so a leaner approach might not be doable. May I also recommend something like proxmox to virtualize different OSes, although I’m not sure that would meet your needs.

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    3 years ago

    It’s only a problem if your software can’t address that many. Any modern software can handle up to 128 primary partitions on GPT.

    Just deleting the excess ones and resizing the remainder is fine.

  • Quazatron@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    3 years ago

    Don’t get me wrong, but please start using LVM volumes, ZFS volumes or BTRFS subvolumes instead of partitions. We’re not in 1995 anymore.

    I know a lot of you come from a Windows background so you’re used to juggling partitions with all the hassle that entails, but if you put a bit of time towards learning LVM you’ll find that you can stretch and shrink volumes to your heart’s content.

    You can do neat tricks with mirroring, stripping and other RAID levels, mix and match disks and more.

  • ricecake@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    A partition for each thing you might want to change the size of is my rule, or to be able to wipe independently of the others.

    I usually prefer lvm over actual partitions, since it does a better job letting me think about volumes as opposed to devices.

    Boot gets a partition because it’s basically required. Home gets one so I can reinstall without mucking things up. The database directory gets one for similar reasons, a d because I might need to scale it up. The system itself gets one because it’s most likely to get wiped or need more space.
    Most of these are actually lvm volumes.

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 years ago

    Not really - sounds like you do need actual partitions since you’re running different OSs. Typically you would use some other form of volume management (LVM, btrfs, zfs) for partitioning within a single OS. But for separate installs it’s fine. gparted does a good job of letting you move things around and resize as needed. Just take care when shrinking partitions to shrink the filesystem first.

    There used to be a time where there were obnoxious limits about the number and types of partitions you could have on disk (2 “physical partitions” and some number of “logical partitions” - I forget the details now). But if it works it works.

  • 342345@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    3 years ago

    Lvm could be the way to go. Start with the minimum amount of partitions (i.e. / and /boot and swap as lv, maybe efi as a real partition). Add additional lv later if/ when you need them. You can always re-size a partition and the wrapping lv when you want to re- distribute storage-space.

    I never needed more than these partitions. But that is just my use case.

    Edit: oh. Missed the Multi boot point. Forget what I wrote. :)

  • Still@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    partitions are used for organizing, the downside is that more partitions make each one smaller

    I end up running 1 btrfs partition sagred between all my installed Linux distros on one system

    lvm is also awesome for resizing and moving partitions

    my desktop right now has nvme0n1p1 as my efi partition and p2 as a lvm pv

    inside that lvm I put everything else as it’s very easy to resize and move them (I also have p2 encrypted with luks2)