NOTE! This site uses cookies and similar technologies.

If you not change browser settings, you agree to it.

I understand

Welcome, Guest
Username: Password: Remember me

TOPIC: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi

Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 5 years 3 days ago #1

  • picabloo
  • picabloo's Avatar
Hi all,

So basically I'm trying to get openelec onto an SD card for my Raspberry Pi. I'm using a USB reader to connect the SD card. I'm also trying to do this on a mac, so I've been following these instuctions:

wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_Raspberry_Pi

Everything went fine until the last step. It showed me:

OpenELEC.tv missing tool - Installation will quit
#
# We can't find the required tool "parted"
# on your system.
# Please install it via your package manager.

I've looked around but I don't understand how or where to do this. Can anyone help me? Also, would using a USB reader impact the installation?

Edit: Just to be clear, the USB reader is going into my mac, not the rasppi.
Last Edit: 5 years 3 days ago by picabloo. Reason: Forgot something
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 5 years 3 days ago #2

  • lrusak
  • lrusak's Avatar
You can't do this.

You will need to use an image file and dd it to your sd card
openelec.thestateofme.com

Format the usb stick in disk utility as msdos

Then open a terminal window and run the following
diskutil list
this will output something like this
Lukass-MacBook-Pro:Desktop lukas$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *60.0 GB    disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                 Apple_RAID                         59.7 GB    disk0s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *60.0 GB    disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                 Apple_RAID                         59.7 GB    disk1s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk1s3
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Mountain Lion          *119.4 GB   disk2
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *8.0 GB     disk4
   1:                 DOS_FAT_32 UNTITLED                8.0 GB     disk4s1
Find your sdcard, in my case it is disk4

Unzip the file and place it somewhere accessible

Then dd the image to the sd card using something like the following (NOTE: DD IS DANGEROUS, BE CAREFULE WHEN USING IT)
dd if=/Users/lukas/Desktop/r11542.img of=/dev/disk4
You may have to run this as sudo

You may get this error
dd: /dev/disk4s1: Resource busy
In that case you have to unmount the disk
diskutil unmount /dev/disk4

Wait for the command prompt to come back and you're done
Last Edit: 4 years 9 months ago by lrusak.
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 5 years 3 days ago #3

  • picabloo
  • picabloo's Avatar
Thanks a lot! Worked like a charm :)
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 5 years 3 days ago #4

  • Tigwell
  • Tigwell's Avatar
Hi,

I'm having trouble with this. I'm completely new to Linux, and have followed your instructions through using a Mac. After the last dd step the terminal comes back with '0 bytes transferred' when using the file from the link above. I've tried using Disk Utility but this won't write the file as it isn't a standard .img image file, and I can't find another OpenELEC image anywhere. I'm probably overlooking something incredibly obvious but would really appreciate your help!

Many thanks.
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 5 years 3 days ago #5

  • lrusak
  • lrusak's Avatar
Tigwell wrote:
Hi,

I'm having trouble with this. I'm completely new to Linux, and have followed your instructions through using a Mac. After the last dd step the terminal comes back with '0 bytes transferred' when using the file from the link above. I've tried using Disk Utility but this won't write the file as it isn't a standard .img image file, and I can't find another OpenELEC image anywhere. I'm probably overlooking something incredibly obvious but would really appreciate your help!

Many thanks.

Try formatting the sdcard in diskutility first as msdos.

and make sure when using dd you use the correct disk and partition.
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 5 years 2 days ago #6

  • Tigwell
  • Tigwell's Avatar
Thanks that works fine. However when I boot up my Pi, after the OpenELEC logo comes up, the system stops with the message that it could not mount the disk. This seems to be working smoothly for most people - could it be a problem with the sd card? I've tried several different image versions with the same result.
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 5 years 1 day ago #7

  • picabloo
  • picabloo's Avatar
Actually I forgot to mention that I did not format my sdcard. It originally had raspbmc on it... to be honest I completely forgot to format it.

Anyway, all movies play fine except for some MKV's (1080p or very large... ) All the 720 work great.
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 5 years 1 day ago #8

  • lrusak
  • lrusak's Avatar
picabloo wrote:
Actually I forgot to mention that I did not format my sdcard. It originally had raspbmc on it... to be honest I completely forgot to format it.

Anyway, all movies play fine except for some MKV's (1080p or very large... ) All the 720 work great.

Over the network, or from USB, or locally on the SD card?
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 5 years 1 day ago #9

  • picabloo
  • picabloo's Avatar
Over the Network with SMB, to an external drive on my laptop.

Edit: And I don't just have the external directly connected because I have multiple HD TV's connecting to it.
Last Edit: 5 years 1 day ago by picabloo.
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 4 years 11 months ago #10

  • chrmerrild
  • chrmerrild's Avatar
I followed your guide and the terminal didn't give me any errors.
But my Raspberry pi just doesn't startup?!

There is light in the pwr led, but nothing more happenes.

Command:
sudo dd if=/Users/%user%/Desktop/r11705.img of=/dev/disk1s1

1863680+0 records in
1863680+0 records out
954204160 bytes transferred in 780.944809 secs (1221859 bytes/sec)

Do you know what might be the issue?
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 4 years 11 months ago #11

  • lrusak
  • lrusak's Avatar
Does a system partition show up after you plug in the SD card to the mac? if not then you might be doing something wrong.
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 4 years 11 months ago #12

  • chrmerrild
  • chrmerrild's Avatar
I can see the partition in Disk Utility, but when i insert the SD card, it says that it is not initialized


This is the workflow.. :)

Formatted the SD card into MS-DOS

Ran following in "Terminal"
Last login: Thu Aug 2 23:18:31 on ttys000
Merrild-Macbook:~ Merrild$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 419.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 80.2 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *3.9 GB disk1
1: DOS_FAT_32 UDEN NAVN 3.9 GB disk1s1
Merrild-Macbook:~ Merrild$ sudo dd if=/Users/Merrild/Desktop/r11708.img of=/dev/disk1s1
Password:
dd: /dev/disk1s1: Resource busy
Merrild-Macbook:~ Merrild$ diskutil unmount /dev/disk1s1
Volume UDEN NAVN on disk1s1 unmounted
Merrild-Macbook:~ Merrild$ sudo dd if=/Users/Merrild/Desktop/r11708.img of=/dev/disk1s1
1863680+0 records in
1863680+0 records out
954204160 bytes transferred in 797.613323 secs (1196324 bytes/sec)
Merrild-Macbook:~ Merrild$ diskutil eject disk1s1
Disk disk1s1 ejected
Merrild-Macbook:~ Merrild$
Same thing happenes, only the PWR LED is turned on.. :S
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 4 years 11 months ago #13

  • lrusak
  • lrusak's Avatar
try
sudo dd if=/Users/Merrild/Desktop/r11708.img of=/dev/disk1
(without the partition name)
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 4 years 11 months ago #14

  • chrmerrild
  • chrmerrild's Avatar
That did the trick.. :)

Thank you very much!:side:
The administrator has disabled public write access.

Re: Putting openelec onto SD card using USB reader - From a Mac - For Raspberry Pi 4 years 10 months ago #15

  • simonestig
  • simonestig's Avatar
Hi guys, I am quite new, so I'm sorry if will be a stupid question. Anyway... I followed the entire procedure, and... well... it's now 45 minutes that my mac is working on the sd card to install the image... taping ctrl t i see this:


sudo dd if=~/Downloads/r11817.img of=/dev/rdisk2

load: 0.53 cmd: dd 20532 uninterruptible 0.68u 13.86s
131246+0 records in
131245+0 records out
67197440 bytes transferred in 608.029561 secs (110517 bytes/sec)
load: 0.51 cmd: dd 20532 uninterruptible 0.72u 14.67s
138538+0 records in
138537+0 records out
70930944 bytes transferred in 640.969166 secs (110662 bytes/sec)
load: 0.47 cmd: dd 20532 uninterruptible 0.72u 14.82s
139852+0 records in
139851+0 records out
71603712 bytes transferred in 646.945127 secs (110680 bytes/sec)
load: 0.61 cmd: dd 20532 uninterruptible 1.06u 21.80s
207859+0 records in
207858+0 records out
106423296 bytes transferred in 956.047810 secs (111316 bytes/sec)
load: 0.31 cmd: dd 20532 uninterruptible 1.46u 30.10s
285592+0 records in
285591+0 records out
146222592 bytes transferred in 1308.013067 secs (111790 bytes/sec)
load: 0.44 cmd: dd 20532 uninterruptible 1.78u 36.57s
343925+0 records in
343924+0 records out
176089088 bytes transferred in 1571.465990 secs (112054 bytes/sec)
load: 0.39 cmd: dd 20532 uninterruptible 2.07u 42.48s
398142+0 records in
398141+0 records out
203848192 bytes transferred in 1832.086078 secs (111266 bytes/sec)
load: 0.38 cmd: dd 20532 uninterruptible 2.25u 46.32s
432038+0 records in
432037+0 records out
221202944 bytes transferred in 1985.976287 secs (111382 bytes/sec)
load: 0.22 cmd: dd 20532 running 2.36u 48.62s
452902+0 records in
452901+0 records out
231885312 bytes transferred in 2080.754835 secs (111443 bytes/sec)
load: 0.89 cmd: dd 20532 uninterruptible 2.57u 53.05s
494280+0 records in
494280+0 records out
253071360 bytes transferred in 2281.786250 secs (110909 bytes/sec)
load: 0.38 cmd: dd 20532 uninterruptible 2.70u 55.58s
520141+0 records in
520140+0 records out
266311680 bytes transferred in 2399.443978 secs (110989 bytes/sec)
load: 0.76 cmd: dd 20532 uninterruptible 2.85u 58.71s
551834+0 records in
551833+0 records out
282538496 bytes transferred in 2543.588879 secs (111079 bytes/sec)
load: 0.58 cmd: dd 20532 uninterruptible 2.91u 59.90s
563134+0 records in
563133+0 records out
288324096 bytes transferred in 2594.853530 secs (111114 bytes/sec)
load: 0.23 cmd: dd 20532 uninterruptible 3.25u 66.79s
627152+0 records in
627151+0 records out
321101312 bytes transferred in 2885.364133 secs (111286 bytes/sec)
load: 0.47 cmd: dd 20532 uninterruptible 3.62u 74.42s
701308+0 records in
701307+0 records out
359069184 bytes transferred in 3221.874734 secs (111447 bytes/sec)
load: 0.52 cmd: dd 20532 uninterruptible 4.07u 83.88s
787383+0 records in
787382+0 records out
403139584 bytes transferred in 3626.557006 secs (111163 bytes/sec)
load: 0.58 cmd: dd 20532 uninterruptible 4.22u 86.96s
817639+0 records in
817638+0 records out
418630656 bytes transferred in 3771.894810 secs (110987 bytes/sec)

and it keeps giving me figures like those... is it normal?! or am I missing anything or doing anything wrong?

Thank you for your help guys!

Simone
The administrator has disabled public write access.