sudo dd if=LibreELEC-Generic.x86_64-8.0.2.img of=/dev/sdb bs=4M

  • Hello, can i use this manual for LibreELEC-Generic.x86_64-8.0.2.img?



    HOW-TO:Installing OpenELEC/Writing The Disk Image - OpenELEC


    Extracting the archive using the GUI




    Just open the folder where you downloaded the file, find the OpenELEC-build-architecture-version.img.gz file, right-click on it and select 'Extract Files...'.


    Extracting the archive using the CLI (Command Line Interface)




    Each distro has a different way of getting to the Terminal however it is usually called something like Terminal or Term. On Ubuntu it can be found in the Applications menu.

    Change to the folder where you downloaded the release archive to (let's assume the Downloads folder in your home directory):

    Code
    cd ~/Downloads

    Then extract the archive. It will be named OpenELEC-build-architecture-version.img.gz. We need to use gunzip to extract the archive.

    Code
    gunzip -d OpenELEC-Generic.x86_64-6.0.0.img.gz


    Creating the USB Stick




    Now pop your USB Stick in. After you've inserted the USB Stick use dmesg | tail to find out what /dev/device it is. It should be something like /dev/sdX).

    You can also use parted or fdisk

    Code
    parted -l
    Code
    Disk /dev/sdb: 1016MB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags:
    Number Start End Size Type File system Flags 1 1049kB 1015MB 1015MB primary ext4

    First make sure the disk is unmounted

    Code
    umount /dev/sdb1

    Next we need to write the disk image. You'll need superuser privileges to do this, whether you use the root user or sudo. Either way, you need to execute the following command:

    Code
    sudo dd if=OpenELEC-Generic.x86_64-6.0.0.img of=/dev/sdb bs=4M


    I don`t will install or use the LibreELEC.USB-SD.Creator.Linux-64bit.bin.


    My solution:


    Code
    sudo dd if=LibreELEC-Generic.x86_64-8.0.2.img of=/dev/sdb bs=4M && sync


    Greetz


    liberi

    Edited 4 times, last by liberi ().

  • Without gunzipping first

    Code
    gunzip -c LibreELEC-Generic.x86_64-8.0.2.img.gz | dd of=/dev/sdX conv=fsync

    Gone...