Note: default creds username: pi & password: raspberry Login creds will be the same as your ssh creds on the pi The 30 second sleeps give the USB hard drive time to spin up and become mounted before the avahi-daemon & netatalk services start Note: this mount / unmount / mount flow is required as HFS+ partitions may become read only if unmounted incorrectly.
:~ $ sudo service netatalk start Mount and start services on bootĪnd sleep 30 & mount /media/tm & sleep 30 & umount /media/tm & sleep 30 & mount /media/tm & sleep 30 & service avahi-daemon start & service netatalk start :~ $ sudo mkdir /media/tm & sudo chmod -R 777 /media/tm & sudo chown pi:pi /media/tmĭetermine the UUID of your USB hard drive (sda2) :~ $ sudo mkfs.hfsplus /dev/sda2 -v TimeMachine Note: this assumes your USB hard drive is sda2 This will erase all data on the USB hard drive.
:~ $ sudo apt-get install hfsutils hfsprogsįormat USB hard drive to hfsplus. :~ $ sudo apt-get update & sudo apt-get upgrade -y Setup USB Hard drive Run raspi-config to make any changes you want like changing hostname etc. Login to your Pi via SSH or old school with a keyboard & monitor. Depending on your setup, you can either set the Pi to have a manual ip address or have your router assign a static IP address. Next set a static IP address for your Raspberry Pi.
Insert the SD card into the Pi, plug in the USB hard drive, plug in a network cable, and power on the Pi. Follow the instructions on the Installing images tutorial on the Raspberry Pi site. Install Raspbian Buster Lite on the SD card.