Is /dev/disk2s1 correct? y
Unmounting disk2 ...
Unmount of all volumes on disk2 was successful
Unmount of all volumes on disk2 was successful
Flashing /tmp/hypriot-rpi-20150908-173232.img to disk2 ...
Password:
dd: /dev/rdisk2: Permission denied
64KiB 0:00:00 [9.09MiB/s] [> ] 0%
After Matt's blog post http://matthewkwilliams.com/index.php/2015/09/07/troubleshooting-microsd-card-problems/ I got the same issue on my Mac today. Just plugged in the micro SD card adapter once too often I think, the slider went to write-protect.
The flash script just hangs with
Investigating the problem shows:
After removing the write-protection and plugging in the SD card again it shows