Installing ubuntu snappy core on raspberry pi 2
Translated to os x from https://developer.ubuntu.com/en/snappy/start/#snappy-raspi2
Download the image
http://people.canonical.com/~platform/snappy/raspberrypi2/
Locate your sd card
$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 399.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 99.8 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *31.9 GB disk1
1: Windows_FAT_32 NO NAME 31.9 GB disk1s1 <<< this is the sd card
Unmount the disk
diskutil unmountDisk /dev/disk1
Prepend r
to your disk identifier and execute the following command (in my case i changed disk1
to rdisk1
)
$ unxz -c ubuntu-15.04-snappy-armhf-rpi2.img.xz | sudo dd of=/dev/rdisk1 bs=32m && sync && say done
(os x needs a lower case m
in 32m
, otherwise its 32M
)
Thanks for the tutorial! It takes a while, but works perfectly :)