I am interested in dual-booting a Linux distro (probably Ubuntu) on my 2019 MacBook Pro. Ideally, I would have a shared data partition so that I could access my documents from both OSes. Does anyone have suggestions on the best way to accomplish this?

UPDATE: created macOS, Ubuntu, and data partitions. Was able to mount and access data partition from both systems without any issues. As a bonus, Ubuntu let me replace the standard documents, photos, videos, etc. folders with symlinks to the data partition.

  • d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    10 months ago

    I would say create an NTFS partition and use that. NTFS on Linux has been pretty reliable with the new in-kernel NTFS3 driver, especially since recent kernels. And on macOS, you can use the Tuxera NTFS driver, which is also pretty reliable (FWIW, I’ve been using this for many years now without any issues).

    Now here are some alternative options, and why NOT to use them:

    • exFAT: While this should work out-of-the-box on both Linux and macOS, unfortunately it’s not a reliable FS and not meant for usage on internal drives. exFAT lacks several data integrity features found on modern filesystems, such as journaling, data checksums, atomic writes etc. Basically you can’t trust exFAT with your data.

    • APFS: There’s an experimental driver for Linux, but it’s considered quite experimental, so I wouldn’t recommend it. Paragon also makes a paid APFS driver for Linux, but I don’t have any experience with it. Personally, given how new APFS is, I wouldn’t recommend using Paragon’s driver. NTFS on the other hand has been around for decades, is far more widely used and battle-tested, and is well understood by third-party driver developers.

    • HFS+: Support on Linux is mediocre at best. In theory, it’s supported, but filesystem checking is essentially nonexistent without a lot of manual work, and it has issues sometimes if the filesystem was not cleanly shut down. Performance is also not particularly great, and the driver is not widely used with means it’s more likely to have undiscovered bugs.

    • GenderNeutralBro@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      10 months ago

      Alternatively, use a Linux-native file system like ext4 or btrfs, and expose it to macOS via a bare-bones Linux guest VM using UTM or similar.

      Kludgy, yes. But NTFS support is kind of shit on both Mac AND Linux.

      Personally I use exFAT for such tasks, but I’m not storing anything important on those drives to begin with.

      • phanto
        link
        fedilink
        arrow-up
        2
        ·
        10 months ago

        I’ve had success with an NTFS partition, but I’ve pretty much just used it like a buffer. If I want to move something from one OS to the other, in it goes, reboot, out it comes. Never lost anything that way. This is Ubuntu and MacOS on an ancient MacBook Air.

      • olympicyes@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        Paragon Software makes NTFS and EXT4 drivers for MacOS as well. They are referenced in the comment you are replying to. I’d personally go with whichever file system is easier to recover if something gets corrupted.

  • danielfgom@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 months ago

    Dual booting is the easy part, but exposing the Linux filesystem is the hard part.

    I personally would just run Linux as a VM inside macOS using Parallels or Oracle Virtualbox. It will be alot easier and more reliable.

    Plus the hardware will work properly whereas with Linux on bare metal Mac, some hardware doesn’t work at all like thunderbolt, SD cards and webcam.