Installing OpenELEC to SD Card using Mac

I bought some extra SD Card trying to have different OS for my Raspberry Pi. I decided to try OpenELEC and download it from OpenELEC Raspberry Built. I was following the instruction from their WiKi page but I got the following error.

/Users/adiwong # sudo ./create_sdcard /Volumes/OPENELEC/
Password:

#########################################################
# #
# OpenELEC.tv USB Installer #
# #
#########################################################
# #
# This will wipe any data off your chosen drive #
# Please read the instructions and use very carefully.. #
# #
#########################################################

What I actually needed to do is to follow the following steps. First to find out the verify the local disk pointing to the SD Card

/Users/adiwong # diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 319.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *31.7 GB disk1
1: Windows_FAT_32 OPENELEC 31.7 GB disk1s1
/dev/disk4
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *29.4 MB disk4
1: Apple_partition_map 32.3 KB disk4s1
2: Apple_HFS Ez7z 2.14 29.3 MB disk4s2
/dev/disk5
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *25.2 MB disk5
1: Apple_HFS tuneupmymac_newim 25.1 MB disk5s1
/dev/disk6
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *29.4 MB disk6
1: Apple_partition_map 32.3 KB disk6s1
2: Apple_HFS Ez7z 2.14 29.3 MB disk6s2

I had the SD Card rename and I know it is 32GB. So from there I know /dev/disk1 is my path towards the SD Card.

Then use the image that is downloaded and launch the following command. NOTE that this would actually wipe out the path, so make sure you are formating the correct path from the earlier command.

/Users/adiwong # sudo dd if=./OpenELEC-RPi.arm-4.0.7.img of=/dev/disk1

If you get the following resource busy error

dd: /dev/disk1: Resource busy

Use this command to unmount and try the above command again

/Users/adiwong # diskutil unmountDisk /dev/disk1
Unmount of all volumes on disk1 was successful

Leave a Reply

Your email address will not be published. Required fields are marked *