How to install openelec on Raspberry pi with windows : 23-06-2012
How to install openELEC / xbmc on the Raspberry Pi with Windows.
Today was a very exciting day in the SquirrelHosting office. Not only did the postman turn up early but in his bag was a treat. A small, little soldered board of love, that's right our Raspberry Pi had arrived!
The version we had ordered had come with the 4GB SD card with Arch Linux installed. Although this worked fine, one of the main reasons for the Raspberry Pi was to set it up as a media center, mainly for music in the office. For this we really wanted xbmc installed. After browsing the net for more details we noticed there wasn't a guide for windows users on how to install openELEC xbmc onto the Raspberry Pi, thus a blog post was born!
Looking for RasPlex? See that guide here: Install Rasplex on Raspberry Pi in windows
Like our guide? Why not take a look at our guide on installing BBCiPlayer on the Raspberry Pi OpenELEC
Step 1 : Download all the needed files
You will need the following
A copy of SDFormatter (https://www.sdcard.org/downloads/formatter_3/).
The binary version of win32diskimager from this location: https://launchpad.net/win32-image-writer/+download
An image of openELEC http://openelec.thestateofme.com/ (Download the latest image file at the bottom) or official images here http://resources.pichimney.com/OpenELEC/official_images/?C=M;O=D (thank's Chris for the link)
Step 2 : Format the Memory Card
First thing to do is to format the memory card. Open up the SDformatter and run the install/setup.

Once installed, run SDformatter (start > all programs > SDFormatter). Select the drive that your Raspberry Pi memory card is inserted in, then click 'format'. Please note this will swipe your memory card so if you want to keep what's on it, we suggest using a different memory card.

You will be asked to confirm the format. Click OK to continue.

Next you will be informed not to remove the memory card during format. Click OK.

Once the format is complete, click OK and close SDformatter by clicking Exit.

Step 3 : Install openELEC to the SD Card
Open Win32 Disk Imager and click the browse button then select the openELEC img file you downloaded earlier.
Next thing to do is put the image onto the card. Make sure the drive your memory card is in is selected in the 'device' dropdown, then click the 'Write' button.

You will be asked to confirm the write, click OK or Yes to continue.

OpenELEC XBMC will now install on your SD Card.

Finally once the writing is complete you will see a 'Write Successful' box. Click OK to finish.

That's it. Pop your memory card into your Raspberry Pi, hook it up to the TV and enjoy your new media center.
If this guide has helped you, why not leave a comment below or click the social +1 buttons at the top of the page to share?
Like our blog post? Dont forget to share!
Your Comments on How to install openelec on Raspberry pi with windows
Thanks for the positive feedback, don't forget to click the social icons at the top to help us spread the knowledge! Keep an eye out for more RPI blog posts in the future.
They should be at the top between our logo and the webmail/control panel icons.
@ Steve: Which version of Firefox are you using and I will pass this onto our teach team who will fix this issue.
Connected it to the TV and in a few seconds I was in XBMC. Great guide, thanks!
@ James : The sound comes through the HDMI on our set-up using the above guide.
@ Steve : Thanks for letting us know ill pass this onto the tech team.
P.S. very much a noob here, be gentle if replying!
everything went great with the installation of the image on the SD.
However, when i turned on the RPI, it just showed openelec logo for 2 sec, and then a black screen for more than 30 min. any ideas?
thanks alot for your great job and efforts!
@ I ate all the Pi's : Your probably best asking on the openelec forum for help with torrent app's etc.
@ Daniel : Glad you got it working :)
@ Tamis : Have you tried the version in the download above? I'd Suggest updating to r11649
@ Justin C : Glad you like it, good look with your Pi-ing!
My Rpi works with the Debian Squeeze image and I am using the same SD card.
- Basic RPI setup with Debian Squeeze works (have a backup image)
- Formatted SD card and loaded the Open Elec image : No output from RPI
- Formatted and loaded my backup image : Rpi Works
One thing I noticed is that Open Elec image writes very quickly onto the SD Card ; the debian squeeze image takes a lot longer.
I was able to get the Rpi booted with Debian Squeeze image.
Can you try it on another TV? We noticed in our office our Technosonic TV wont work with OpenELEC (no signal found) but our Samsung has no issues.
Check out http://elinux.org/RPi_config.txt for more information.
Just as FYI for others who might have the same issue . You just create a config.txt file with the statement "hdmi_force_hotplug=1. The file can be placed on the partition that is visible when the SD card is accessed by Windows.
I do on other hand experience the same problem as "i ate all the Pi´s" my LG tv needs to be on the right HDMI channel as thi RPI is turnd on, othervice i can´t get a picture.
But my problem lies somewhere else, when i Play 1080p movies it lags evere 10th second or so. Has anyone elsa had that problem?
I´ve tried adjusting video settings with som sucess, but i´m still not saticfied with the result.
Does anyone have a sulution for me?
Thanks again.
(1) why when I play music (mp3) I start to hear a noise in the background, and it gets worse at some time. I tried both voice via HDMI and the audio jack, but still I get the noise. However, when watching videos, I don't have any issues.
(2) How could I make AirPlay work for music?
I try to find in the official OpenELEC information about the version, the new features, but I don't find the correspondance between this distribution and the offcial OpenElec distribution.
Where I can find mode information about these images?
( Richard: Thanks for the guide. However when I boot the whole unit just hangs once XBMC appears on the screen. No response to keyboard, mouse or even a ping. Works fine on same SD card if I install Debian Wheezy. Any ideas?
Fri Aug 10 18:18:21 201 )
Maybe not enough power? What happens if you only plug the mouse or only the keyboard? Mybe try CEC if your TV uses CEC.
My SD card is a 16 Go card. How to see the all card space in openelec ?
Thanks for your answer
I have also tried booting with/without keyboard/mouse/lan cable connected/not connected, same thing every time.
Any one got any ideas? as this is driving me nuts!
Try editing your config file and adding the hdmi force hotplug line.
1 Do we really need the sdformatter program? If I just skip that part win32diskimager seems to create the partitions as well.
2 Related to that: how can we change the size of the second partition? It is now 750mb and leaves the rest unallocated.
(I'm a bit ashamed I didn't thought of that myself)
My SD card is a 8 Go card. when i connect to openelec i see only about 800mb available
Thanks for your answer
blown PC. the add ons are a bit flaky but otherwise... So fast to set up from downloading the omg to playback off the network... SO impressed.
Had some problems booting - found out I didn't extract the zip file lol
I have the same problem as others, my keyboard or mouse doesn't work. I guess it's because I use a USB port from my laptop, as power source.
CPU Usage: CPU0: 96.0% is that normal?
@ David J : If you load up thestateofme link and click official_images you should see the image file for download.
@ James : Thank you for sharing your power related issue. It seems this can cause many issues.
/dev/mmcblk0p2 755.9m 32.8m 684.7m 5%
How do I access the other roughly 13 gb of storage space? Is this space limitation causing my problem with replaying the YouTube videos?
Any help would be appreciated.
Thanks
Worked well. Thank you!
@ Hendrik B : Not heard of that bug but will look into it!
@ Chris : Thanks I have updated the links above.
bootcode
cmdline
config
fixup.dat
kernel
LICENCE.broadcom
openelec
README.md
start.elf
SYSTEM
thanks alot!
easy 2 understand
u must unrar the .rar file u need an .img file !
use 7zip
1.) Don't interrupt the startup of your raspberry by disconnecting the power cable. Wait until the boot screen or the home screen shows up. Otherwise the image on your sd gets corrupted. Took me some time to figure out because my raps still startet but behaved very strange
2.) Add ssh_enable via fileaccess (you can directly connect to the file system entering \
SH in as root
By default you’re in /storage; switch to root partition:
cd /
Keep XBMC from restarting:
touch /var/lock/xbmc.disabled
Stop XBMC, so we can unmount /storage:
killall -9 xbmc.bin
umount /storage
Verify mounts:
mount
parted /dev/mmcblk0
In parted:
change to sectors display:
unit s
show partitions, make note of starting sector of your partition:
p
remove the partition:
rm 2
re-create it, using same starting sector # and ending of -1 to use remaining space:
mkpart primary 258048 -1
quit parted
e2fsck -f /dev/mmcblk0p2
resize2fs /dev/mmcblk0p2
mount /dev/mmcblk0p2 /storage
df -h
rm /var/lock/xbmc.disabled
XBMC will start up again
One other thing, has anyone had any problems connected their pi via HDMI cable? I have tried through both ports on my Proscan TV yet it does not recognize a signal. Currently have it hooked up through the video and audio ports.
Worked fine for me - thx a lot.
+1
http://openelec.tv/get-openelec/download/viewcategory/10-raspberry-pi-builds
Worked Perfect, Thanks
Here's my hot tips for people using windows:
---Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
Great program for logging in to the RPi over the network. Default username "root" password "openelec".
---Make Partition bigger (already mentioned by others above). Use Putty to log in, then type the following:
cd /
touch /var/lock/xbmc.disabled
killall -9 xbmc.bin
umount /storage
parted /dev/mmcblk0
unit s
p ##(make note of starting sector partion 2)
rm 2
mkpart primary 258048 -1 ##(258048 was MY starting sector)
quit parted
e2fsck -f /dev/mmcblk0p2
resize2fs /dev/mmcblk0p2
mount /dev/mmcblk0p2 /storage
df -h
rm /var/lock/xbmc.disabled ##(XBMC will restart)
--------------------------------------------------------------
--To test SD card speed, use putty to login. Change directory ("cd") to the storage or other writable location.
Write speed:
dd if=/dev/zero of=test.tmp bs=500K count=1024
Read speed:
dd if=test.tmp of=/dev/null bs=500K count=1024
Delete the temporary file:
rm test.tmp
Just tried flashing open elec 3.0.2 and it didn't boot, tired again and again with no luck.
Before giving up I tried flashing 3.0.1 and viola it works, so just if you have this issue with 3.0.2 try 3.0.1...




