Mounts the drives listed to the directories listed. Is read and acted upon every time the system boots and automatically Now we are going to create a more permanent mounting scheme using the /etc/fstab file. These next few steps require that we have a directory created to mount the TimeMachine partition to so let’s go ahead and create that quickly… Once it is allįinished you will be given the command prompt back.ģ – Mounting the TimeMachine partition to a newly created directory The necessary packages and automatically install them. You will be prompted for a Y/n answer once or possibly multiple times, hit yĪnd enter at each prompt. $ sudo apt-get install hfsplus hfsutils hfsprogs To then install the support for the partition run the command: We now need to download and install the correct support for the Mac’sįile system so that we can go ahead and mount the partition later on.īut first we must run an update to make sure everything is current: Please make note of the long UUID for the partition labled “ TimeMachine” One HDD attached you should be looking down at /dev/sda1 where /dev/sda is the path to the device and /dev/sda1 is the path to the first and, in most cases, only partition. After that all the connected devicesĬontaining storage media will be listed. ![]() Please make a note that the $ should not be included in the actualĬommand, it’s just to signify the use of a non-root bash terminal.Īnyway after inputting the command and hitting enter you will be ![]() UUID of the partition we created using Disk Utility on the mac. After doing so we are able to get some vital informationĪbout the external HDD from the Pi’s bash terminal. Size: Largest possible (Should already be filled out)Ģ – Getting the Raspberry Pi ready for the Mac File Systemįirstly, let’s go ahead and remove the HDD from the mac and plug it Here we want to create one partition for the whole drive so select the options below and then hit Apply įormat: Mac OS Extended (Journaled) – case sensitive if possible Once the drive has finished formatting move over to the next option in the menu, Partition. To format the drive correctly select Mac OS Extended (Journaled) and name the device anything you like, I chose to name my drive TimeMachine. With the correct drive selected select the erase optionįrom the horizontal menu on the right hand side of the window. You’ve selected the right drive as we are going to erase all data on the From the menu on the left containing all theĭrives connected to the mac, select the external HDD. To do so, take your external HDDĪnd plug it into a mac running some kind of OSX and open up Utilities Networking devices and cables (Ie: router/ switch)įirstly you need to use a mac to format the external HDD to the case External HDD with power supply like this Memory Card with Raspbian preloaded (I used -wheezy-raspbian.img) Raspberry Pi (I’ve got the B model with 512MB of RAM) with a static IP! Under Arch Linux for ARM but after numerous attempts without any luck Iĭecided to switch over to the Raspian image. I’ll assume that you’veĪlready got the Pi up and running with a static IP address… This will make the share visible to TimeMachine.I’ve been trying to get the Raspberry Pi to run as an Apple Time Then, mount your user's share using afp://. On each host that will perform backups, enable Time Machine to see non-TM volumes: defaults write TMShowUnsupportedNetworkVolumes 1 ![]() The next step takes place on your OS X client machine. ![]() usr/local/etc/rc.d/avahi-daemon onestart You'll need to start dbus, avahi, and netatalk, like this: /usr/local/etc/rc.d/dbus onestart My configuration in /usr/local/etc/afp.conf looks like Ensure that this line exists: hosts: files dns mdnsįinally, configure netatalk. The first step is to install netatalk3, and nss_mdns pkg install netatalk3Īvahi needs mDNS, so that needs to be configured in /etc/nf. However, I decided to try backups with Time Machine, using my FreeBSD-10 server as the host. I usually work on a Macbook, and I use keyless ssh with a cron job to do nightly backups.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |