code | media | stuff

Current projects


My name is Jeremy, I am a software developer and you probably don’t give a shit about this. I will use this site mostly for notes concering coding and stuff I found on the interwebz. I tend to be forgetful from time to time (:


  • This site is powered by Hugo, an awesome static website engine.
  • The logo is derived from a photography by NASA, 1949.


Repair sparse bundle for Time Machine

sudo -s
cd /Volumes/TimeMachineBackup
chflags -R nouchg atar.sparsebundle
hdiutil attach -nomount -noverify -noautofsck atar.sparsebundle
/dev/disk2           Apple_partition_scheme
/dev/disk2s1         Apple_partition_map
/dev/disk2s2         Apple_HFSX
fsck_hfs -drfy /dev/disk2s2

Restore Mac OS X 10.11 El Capitan from Time Machine backup on AFP

I recently had difficulties restoring a Time Machine backup which is stored on a netatalk server to a MacBook Pro using the builtin Recovery Mode.

mkdir /Volumes/backup
mount_afp afp://user:pwd@example.org/afpShareName /Volumes/backup
hdid /Volumes/backup/$SPARSBUNDLENAME

This fixes the issue. :-)