Skip to main content

Build a killer home media center with a $35 Raspberry Pi

Turn a Raspberry Pi into a Media Aenter and Streaming Box
Greg Mombert/Digital Trends
If you’ve got a lot of movies saved on your computer, or you like to stream from Netflix or Amazon Prime, you probably know that watching on a full sized TV is better than your laptop screen. There are lots of ways to set up media streaming, but one of the easiest and cheapest is the Raspberry Pi, although it requires more work to set up. In the end you’ll have a highly configurable system for streaming your network content or accessing your favorite streaming services.

Choosing the right software

While Kodi is a popular option for DIY media streamers, support has fallen off for Raspberry Pi versions of the software as better hardware allows the Linux-based OpenElec to run better.

Before you get started with installation you’ll want to make sure you have everything else ready to go. In addition to a Rasperry Pi and power cable, you’ll need a Micro SD card, and while extra space is great, it only needs to be 1GB. You’ll also need to connect your Pi to the network, which you can do by attaching a compatible USB Wi-Fi adapter, but we prefer Ethernet for its ease of setup and more stable connection speed. It’s easier to use HDMI because it automatically carries audio with it, but you can also use an analog cable and a 3.5mm output. You don’t need it, but a wired USB keyboard will help the process go smoothly, especially if you have issues with network connectivity.

Make sure to back up any data you have stored on the SD card, as the process of installing OpenElec will wipe the card clean. The process varies a little based on your Operating System, but downloading and unpacking the image is the same.

We’re going to have to secure a copy of the OpenElec image. Very advanced users get some unique levels of control by building their own image, but the process is complicated and requires the user to be at least familiar with a Unix terminal environment. Instead, we can use the official site to download the latest version of OpenElec that’s been configured for Pi already.

Image used with permission by copyright holder

If you’re using an older model Raspberry Pi, download the stable Diskimage for the ARM11, if you’re using the new Raspberry Pi 2, use the ARMv7 stable Diskimage download. After you’ve downloaded the .zip file, make sure you put the extracted image into a easily accessible place, like the root of your hard drive.

For the remaining instructions continue to the next page for Windows or the following page for Mac OS X.

Next page: Windows Instructions


It’s recommended you unplug or remove any other USB or flash storage devices beside your intended card before getting started. The free software Win32 Disk Imager is the preferred method for writing images to SD cards for Raspberry Pi installations. Simply point Disk Imager to the latest version of the image file from the OpenElec website, select the drive letter that corresponds to your SD card, and hit start.

Image used with permission by copyright holder

When the program finishes running, eject the device and remove it from your computer.

That’s it!

Insert your newly imaged SD card into the slot on your Raspberry Pi, connect an HDMI cable, then plug in the power cable to boot it up. After 30 seconds or so, you’ll be able to access the device both locally and over the network via SSH. The default username for OpenElec is “root” and the password is “openelec” so you can login initially. Once the system is booted you can easily use any Kodi-connected device to play media, as well as connect USB storage for local playback.

Next page: Mac OS X Instructions

Mac OS X

To identify the proper drive to write to, you’re going to use the Disk Utility application, which can be found in the Applications folder in a sub-folder called Utilities. To quickly open this folder, with Finder as the active program, hold Shift and the function (apple) key, then press U.

diskutil list

Image used with permission by copyright holder

In the output, you’ll see a selection of attached drives marked as /dev/diskX/ where X is a number, starting with 0 and increasing by 1 with each drive attached. Write down the number of the SD card’s current drive number, then leave that window open and return to the Disk Utility program.

Upon returning to the terminal, we’re going to use several Unix commands that are very powerful, and if you’re not careful are capable of erasing all of the files on your system, screwing up your SD card, and causing headaches in general.

It’s important to take careful note of the drive number of your SD card, and that you haven’t added or removed any drives since then. You can always double check right before issuing the command by typing the diskutil list command in again.

The first is a command that’s going to reconfigure your partition map. To do that, you’re going to enter the following command into your terminal windows, making sure to replace the X in diskX with your memory card, as listed in diskutil.

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

Image used with permission by copyright holder

Next, type the following command into the terminal, making sure to change /PATH/TO/OPENELEC.img to the path to the image file we extracted from the .zip already, and replacing the X in /dev/diskX with the proper drive number for your SD card. This is going to write the image to the base level of your card, where the Pi can access and boot from it.

sudo dd if=/PATH/TO/OPENELEC.IMG of=/dev/diskX 
It may prompt you to enter your password. Either way, this process will take a while, and there isn’t any way to see the progress, so if it looks like your terminal window is frozen, you probably did it right.

That’s it!

Insert your newly imaged SD card into the slot on your Raspberry Pi, connect an HDMI cable, then plug in the power cable to boot it up. After 30 seconds or so, you’ll be able to access the device both locally and over the network via SSH. The default username for OpenElec is “root” and the password is “openelec” so you can login initially. Once the system is booted you can easily use any Kodi-connected device to play media, as well as connect USB storage for local playback.

Brad Bourque
Former Digital Trends Contributor
Brad Bourque is a native Portlander, devout nerd, and craft beer enthusiast. He studied creative writing at Willamette…
Best Buy Prime Day Sale 2024: TV, headphone and appliance deals
Cyberpunk 2077 running on the Asus ROG Zephyrus G14.

It's July 17, and you know what that means: It's the final day of Prime Day, so the deals will be stopping soon. But Amazon is not your only source for amazing Prime Day deals today. Several other retailers are joining the sales event, and Best Buy is one of our favorite sources of Prime Day laptop deals, Prime Day TV deals, Prime Day headphone deals, and more. While you're at it, you might also check out the Walmart Prime Day deals, and Target, too. Back to Best Buy, you can find things like amazing Prime Day smart home deals, Prime Day gaming PC deals, and Prime Day gaming laptop deals. With so much to shop at Best Buy today, we thought we'd track down the best of what Best Buy has to offer for Prime Day. Read onward for all of the deals we think you should take a look at, and make a purchase if you see something you like, as there's no telling when a deal could expire.
Best Buy Prime Day laptop deals

If you're after the top-of-the-line models of the best laptops, or you want to stick to a tight budget for your next computer, there's surely something for you from the Best Buy Prime Day laptop deals that we've collected here. Whether you're planning to buy a basic laptop, or high-end laptop for professional purposes, or a gaming laptop to play the best PC games, you can enjoy huge savings if you take advantage of any of the following offers. There are even some Prime Day MacBook deals here for Apple fans.

Read more
Best Prime Day Apple deals in 2024: AirPods, MacBooks, iPads
Best Prime Day Deals

Prime Day 2024 is almost over. If you've been holding off buying an Apple product until some great Prime Day deals, then you'll be happy to know that this is your sign, and now is the time. Even better, it seems that Apple and other retailers are pulling out the stops when it comes to Apple's products, as we're seeing quite a few great deals across the board. We've collected some of our favorite deals below, but if you'd like to check out a few more options, be sure to check out these Prime Day MacBook deals, Prime Day smartwatch deals, and Prime Day headphones deals.
Today's best Apple deals

Amazon Prime Day 2024 is scheduled for July 16 and 17. We've rounded up our favorite Apple deals that are still available, but you're going to have to hurry with your purchase because we're not sure how much time is remaining on these offers. There is no guarantee they will last until midnight on Wednesday.

Read more
Best Prime Day laptop deals in 2024: Surface Pro, Razer, HP, Dell
Best Prime Day Deals

Prime Day is almost over, so if you've been looking for laptop deals, now is the time to make the purchase. We're seeing some great Prime Day deals on laptops, with some of them constituting significant discounts. Pretty much all the big brands have some sort of discount on them, including HP, Dell, Samsung, and Asus, and you can even find some excellent MacBook Prime Day deals, which is always nice to see. We've collected some of our favorite laptop deals below, but it's always worth checking out some of our other favorite roundups, such as these Prime Day 2-in-1 laptop deals and Prime Day gaming laptop deals.

Today's best laptop deals
Prime Day officially runs from July 16 to July 17. That means most of the deals you're seeing today won't be around tomorrow. There is always the chance something will sell out today, too. Deals also end on a whim. If you see something today, the smart play is to buy it now.

Read more