

However for a simple get started setup the following will give you a drive shared to be used as a Time Machine backup.

Open this file and edit as appropriate by following the instructions at netatalk. All that is left is to configure afp.conf and start netatalk as a service.
INSTALL NETATALK RASPBERRY PI INSTALL
Now we should have a working install of netatalk which gives us AFP support for the drives we mounted using HFS+. configure -with-init-style=debian -with-zeroconf After unzipping build with the following commands Once all dependencies are installed download the latest source code of netatalk (At the time of this HOWTO it was Netatalk 3.0). Sudo apt-get install avahi-daemon libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev We need to install a few packages before we can move onto installing AFP support, as netatalk requires a DB as well as encryption.

Now all we need to do is share the drive over AFP and enable Time Machine. Hopefully this should see your HFS+ drive mounted under raspbian. If the drive doesn’t mount try running a fsckįsck.hfsplus -f /dev/sdaX (change X to your appropriate drive) It is also worth noting that if the drive appears as sdb the actual data on the partition will be one higher so sdb1.
