Home » HTPC » Install OpenELEC on Raspberry Pi 2 Mobel B on Windows

Install OpenELEC on Raspberry Pi 2 Mobel B on Windows

Install OpenELEC on Raspberry Pi 2 Model B and take your Kodi media center to the next level. Raspberry Pi 2 Model B was released earlier this year with a quad-core CPU and 1 GB RAM. In our previous comparisons on Raspberry Pi 1, OpenELEC was one of the top performers along with Raspbmc (which is now OSMC). We have shown you OpenELEC installation on RPi 1 as well as running OpenELEC from USB stick. With OpenELEC Kodi enthusiasts upgrading to the new Raspberry Pi, it is time show how to install OpenELEC on Raspberry Pi 2 Model B on a Windows system. In a separate post, we will show Linux installation as well.

OpenELEC Setup on Raspberry Pi 2

OpenELEC enables running Kodi on Raspberry Pi 2. There are multiple ways to install OpenELEC on RPi 2. While you could use NOOBS, this guide shows you the step-by-step screenshot guide to get your Raspberry Pi 2 OpenELEC up and running quickly. I recommend that you recommended all the Raspberry Pi 2 accessories ready before you start. Remember unlike RPi 1, RPi 2 requires as micro SD card. In this tutorial I am using a 8 GB micro SD card.

Build a Low-Cost Raspberry Pi Media Center ~$65Price
Raspberry Pi 3 (RPi3) Model B Quad-Core 1.2 GHz 1 GB RAM Kit, including:~$49.99
Samsung 16GB EVO Class 10 Micro SDHC Card with Adapter~$6.99
SANOXY Wireless USB PC Remote Control Mouse for PC~$8.00

1. Prepare the SD Card

OpenELEC setup on Linux creates all required partitions automatically. Unfortunately, on Windows OpenELEC setup requires you to manually create the partitions. For this I recommend the free MiniTool Partition Wizard. Download, set it up, and open it. We are going to create 2 partitions:

  • SYSTEM – FAT32 of 256 MB size (for OpenELEC OS files)
  • STORAGE – Ext 4 with the remaining SD card space (for file storage)

Using the partition wizard, first delete all existing partitions on the SD card. Then create a new SYSTEM partition as shown below:

Install OpenELEC Raspberry Pi 2 Windows
OpenELEC System Partition Creation

When you create the second partition for Storage, you will see “The new created partition cannot be used in Windows. Because Windows could only recognize the first partition on a removable disk.” warning. Press “yes” and continue to create the second partition as shown below:

RPi 2 OpenELEC Installation on Windows
OpenELEC Storage Partition Creation

After creating the two partition your SD card partitions should look something like this:

Setup OpenELEC Raspberry Pi 2 SD Card Partitions
SD Card Partitions

Now your SD card is ready for RPi 2 OpenELEC installation.

2. Download OpenELEC for RPi 2

Head over to OpenELEC download page and download OpenELEC for Raspberry Pi 2. There are specific builds for Raspberry Pi Version 1 and 2. So pay attention to the titles and download the one for quad-core Raspberry Pi 2 (not the Diskimage) as pointed out in the picture below.

Download OpenELEC Raspberry Pi 2 Build
OpenELEC Raspberry Pi 2 Build

Once downloaded, extract the .tar compressed file. You may need 7zip or other similar programs to extract .tar file on Windows.

3. Install OpenELEC on Raspberry Pi 2

To install OpenELEC on Raspberry Pi 2 on Windows, navigate to the extracted OpenELEC folder, in this example OpenELEC-RPi2.arm-5.0.8, and copy the following files to the root of the SYSTEM partition on the micro SD card.

  • openelec.ico (if available) and README.md files
  • KERNEL and SYSTEM files from the target folder
  • All files from the 3rdparty\bootloader folder

After copying, rename the file KERNEL to kernel.img. The SD card base folder should look like the screenshot below. Don’t worry about the cmdline.txt file because that needs to be created as described below.

Install OpenELEC on Raspberry Pi 2
OpenELEC SD Card Files

Now in the SD card base folder create a file called cmdline.txt, copy the following content, and save it.

boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 ssh

That is it. Your RPi 2 OpenELEC Kodi media center is ready to boot. Eject the SD card pop it into Raspberry Pi 2 and go through the initial setup. You may want to check out the following posts to take your Raspberry Pi 2 XBMC / Kodi system to a new level:

Go ahead install OpenELEC on Raspberry Pi 2 Model B and enjoy the low-energy but powerful Kodi experience that RPi 2 has to offer.

About the author


Anand is a self-learned computer enthusiast, a part-time blogger, and a Food Scientist by career. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, XBMC, and related HOW-TOs (read more).


Join the other 110,000 followers