Skip to content

Instantly share code, notes, and snippets.

@chriswayg
Last active January 6, 2020 11:50
Show Gist options
  • Save chriswayg/b13b61530571c498068caf9a50d7683d to your computer and use it in GitHub Desktop.
Save chriswayg/b13b61530571c498068caf9a50d7683d to your computer and use it in GitHub Desktop.
Build APFS fuse on GRML
#!/bin/bash
# mount APFS partition example
# sudo mkdir -pv /media/macos && sudo apfs-fuse -o allow_other /dev/sda2 /media/macos
sudo apt-get -y install build-essential libfuse3-3 libfuse-dev libicu-dev libbz2-dev cmake clang libattr1-dev libz-dev libfuse3-dev
mkdir -pv /home/grml/build
cd /home/grml/build
git clone https://github.com/sgan81/apfs-fuse.git
cd apfs-fuse
git submodule init
git submodule update
mkdir build
cd build
cmake ..
make
cp -v apfs* /home/grml/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment