HOW-TO:Installing OpenELEC/Writing The Disk Image

From OpenELEC
Jump to: navigation, search


Installing OpenELEC:
1. Introduction
2. Setting Up Your BIOS
3. Writing The Disk Image
4. Installing OpenELEC
5. Enjoy!

The first thing you need to do is download the latest stable build of OpenELEC

Download the current release archive from here:

http://openelec.tv/get-openelec





[edit]

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)

Open the Terminal, if you are using Ubuntu it's in the applications menu, each distro has a different way of getting to the Terminal however it is usually called something like Terminal or Term.

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

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.

gunzip -d OpenELEC-Generic.x86_64-5.0.0-efi.img.gz

Creating the USB Stick

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

You can also use parted or fdisk

parted -l
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     

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:

dd if=OpenELEC-Generic.x86_64-5.0.0-efi.img of=/dev/sdb bs=4M


Lastly ensure the changes are synced to the USB Stick before removing it:

sync

Extracting the archive using the GUI

Simple double click the OpenELEC-build-architecture-version.img.gz file in the finder to let archive utility extract it for you.

Extracting the archive using the CLI (Command Line Interface)

Open the Terminal.

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

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.

gunzip -d OpenELEC-Generic.x86_64-5.0.0-efi.img.gz

Creating the USB Stick

Insert your USB stick and open a terminal window and run the following

diskutil list

This will output something like this

/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:     FDisk_partition_scheme                        *8.0 GB     disk1
   1:                 DOS_FAT_32 UNTITLED                8.0 GB     disk1s1

Find your USB Stick, in this case it is disk1

You need to use diskutil to unmount the disk

diskutil unmountDisk /dev/disk1

Next we need to zero out the partition map, OSX has an issue if you don't do this

dd if=/dev/zero of=/dev/rdisk1 bs=1024 count=1

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:

dd if=OpenELEC-Generic.x86_64-5.0.0-efi.img of=/dev/rdisk1 bs=4m



Lastly ensure the changes are synced to the USB Stick before removing it:

sync

This will install OpenELEC on an USB Stick using Windows.

Requirements

Windows XP/7/8.x
Internet Connection
USB Stick of at least 512MB in size

Warning

Your USB Stick will be erased by this procedure as it installs OpenELEC onto it. Please ensure you know the correct drive letter for your USB Stick. It it easy to tell, open windows explorer, plugin the USB Stick. A new drive letter should appear.

Instructions

  1. Download Disk Imaging Software http://sourceforge.net/projects/win32diskimager/
  2. Download the latest OpenELEC Image http://openelec.tv/get-openelec
  3. Extract the image using the freeware tool 7zip.
  4. Insert your USB Stick into your system. It should appear as a new drive letter.
  5. Extract the image so you have a file ending in .img
  6. Extract the disk imager software and run Win32DiskImager
  7. Select the image file and verify the destination drive letter is correct, then click write.

When it is finished you can safely remove the card the USB Stick by right clicking on the drive in windows explorer and selecting eject.

Safely remove your USB key.

Personal tools
Namespaces
Variants
Actions
Donate
Navigation
Wiki help
Ads
Toolbox