![]() ![]() Note: default creds username: pi & password: raspberry Login creds will be the same as your ssh creds on the pi Reboot your $ sudo reboot Connect to Time Machine 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. Launch the two $ sudo service avahi-daemon $ 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 Note: this assumes your USB hard drive is $ sudo mkfs.hfsplus /dev/sda2 -v TimeMachineĬreate mount $ sudo mkdir /media/tm & sudo chmod -R 777 /media/tm & sudo chown pi:pi /media/tmĭetermine the UUID of your USB hard drive $ ls -lha /dev/disk/by-uuid This will erase all data on the USB hard drive. Install hfsutils & $ sudo apt-get install hfsutils hfsprogsįormat USB hard drive to hfsplus. Run raspi-config to make any changes you want like changing hostname $ sudo raspi-configĪnd update your $ sudo apt-get update & sudo apt-get upgrade -y Setup USB Hard drive 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. Raspberry Pi (tested with a Raspberry Pi 2 Model B).Updated after comments from Pdnellius & Chris Smith Prerequisites Or, any better suggestions to overcome these obstacles.Updated after comments from AlexWiseman & Nick Mount the drive on macOS, which allow me to fix the permission and backup the dataįix the permission on RPi, so the backup and be done via afp:// Give the symptoms, is there any key step that cause this (besides not check ignore ownership on this volume)?Īre there some tracks as a resolution? to either: How come the volume (HFS+, created and used on macOS) is mountable on RPi after the tutorial and became unmountable on macOS afterwards? Currently, the drive refuses to mount on macOS, so I can't use macOS to enable the ignore ownership on this volume. The drive is able to be mounted read-only with some barred access on RPi, the data is likely to be safe. RPi fsck.hfsplus does not seems to fix the problem.RPi fsck does not seems to fix the problem.macOS cli diskRepair is unable to mount and stopped.macOS cli diskVerify is unable to mount and stopped.Hosts: files mdns4_minimal dns mdns4 mdns etc/netatalk/afp.conf Netatalk 3.x configuration file ![]() dev/sda2 /media/tm hfsplus force,rw,user,auto 0 0 PARTUUID=7e67b292-02 / ext4 defaults,noatime 0 1 PARTUUID=7e67b292-01 /boot vfat defaults 0 2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |