Skip to content

Instantly share code, notes, and snippets.

@sandcastle
Last active March 4, 2023 21:05
Show Gist options
  • Save sandcastle/44c283229afc254549bee0c7b781266b to your computer and use it in GitHub Desktop.
Save sandcastle/44c283229afc254549bee0c7b781266b to your computer and use it in GitHub Desktop.
Mount HFS+ USB Drive on a Raspberry Pi
sudo apt-get update
sudo apt-get upgrade -y
# install hfs tools (for macos extended journaled)
sudo apt-get install hfsplus hfsutils hfsprogs
sudo reboot
# get device id
df -h
# example:
# /dev/sda2
# create mount folder
sudo mkdir -p /disks
sudo chown -R plex:plex /disks
sudo mkdir /disks/media1
# make mount bootable
sudo nano /etc/fstab
# add the following line:
# /dev/sda2 /disks/media1 hfsplus defaults,user,nofail 0 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment