Trouble making usb stick (mac)

  • Hello, I just joined as I have decided to give Libreelec a go after my openelec got corrupted after trying to set up vdr.
    im having an issue making my instal usb stick. I want to install on the internal ssd drive of my i5 Nuc.
    I downloaded and extracted to 7.0.0 file and following the wiki for osx, this is where I get to in terminal dd: LibreELEC-Generic.x86_64-7.0.0.img: No such file or directory. I am not super computer literite but can usually follow instructions ok. is the full terminal thing. can you see where ive gone wrong?
    cheers
    Shaynes-iMac:~ brabins$ diskutil list | grep -v disk0 | tail +2
    /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *4.0 GB disk1 1: DOS_FAT_32 UNTITLED 4.0 GB disk1s1
    Shaynes-iMac:~ brabins$ diskutil unmountDisk /dev/disk1
    Unmount of all volumes on disk1 was successful
    Shaynes-iMac:~ brabins$ sudo dd if=/dev/zero of=/dev/rdisk1 bs=1024 count=1
    Password:1+0 records in1+0 records out1024 bytes transferred in 0.001511 secs (677653 bytes/sec)
    Shaynes-iMac:~ brabins$ sudo dd if=LibreELEC-Generic.x86_64-7.0.0.img of=/dev/rdisk1 bs=4m
    dd: LibreELEC-Generic.x86_64-7.0.0.img: No such file or directory
    Shaynes-iMac:~ brabins$

    Edited once, last by brabs (May 15, 2016 at 1:28 PM).

  • The file you downloaded was in .img.gz format. If Safari (or other browser) does not automatically unzip the file to be in .img format it will still be in .img.gz format and thus when you run a dd command against the .img (not .img.gz) filename the file (correctly) does not exist.

    "gunzip LibreELEC-Generic.x86_64-7.0.0.img.gz"

    NB: Make sure you download and use v7.0.2 as it corrects some occasional errors in the installer.


  • The file you downloaded was in .img.gz format. If Safari (or other browser) does not automatically unzip the file to be in .img format it will still be in .img.gz format and thus when you run a dd command against the .img (not .img.gz) filename the file (correctly) does not exist.

    "gunzip LibreELEC-Generic.x86_64-7.0.0.img.gz"

    NB: Make sure you download and use v7.0.2 as it corrects some occasional errors in the installer.

    thanks for the reply chewitt, im pretty sure that safari had unzipped it already, as i tried to use izip unarchiver but it said it wasnt an archive and the .gz wasnt the extension.
    yes ive tried again with v7.0.2 and changing the commands from the wiki from 7.0.0 to 7.0.2.
    any other ideas?


  • No, but you will need to adjust the dd command to account for wherever the downloaded file is; probably in ~/Downloads

    perfect! I knew there had to be something user self inflicted.
    I hope it wasnt the dumbest question asked, Cheers and enjoy your weekend