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.

Recommended Videos

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.

RaspBiOpenElecImages
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

Windows

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.

Win32DISS
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

MacOSXPi-2
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

MacOSXPi-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 
MacOSXPi-3
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 early Black Friday 17-inch laptop deals 2024: Up to 37% off HP, Asus, LG, and more
Dell XPS 17 9370 front angled view showing display and keyboard deck.

Update 11/13/24: We’re still a couple of weeks away from the official launch of Black Friday, but already we’ve seen some Black Friday 17-inch laptop deals come and go. This is likely going to be the case in the lead-up to Black Friday, which is why we’ll be continuing to update this list regularly.

The early Black Friday deals we’re seeing so far have been great if you’re in the market for a laptop. There are a lot of early Black Friday Dell laptop deals, early Black Friday Best Buy laptop deals, and early Black Friday gaming laptop deals to shop. Here we’re looking more specifically at 17-inch laptop, which make a great laptop option if you prefer some screen real estate. There aren’t as many 17-inch laptops on the market as there used to be, with 16-inch laptops taking their place, but we’ve managed to find several that are seeing Black Friday deals.
Asus Vivobook 17 — $330 $530 38% off

Read more
Early Black Friday External Hard Drive and Portable SSD Deals
Digital Trends Best Black Friday External Hard Drive Deals

Update 11/13/24:With Black Friday rapidly approaching, we're doing our best to keep up with all the best external hard drive deals that have been coming out. To that end, we've updated these deals with a few more options, as well as updated pricing. Also, its very much worth checking back as we find more and better deals to add to this article!

Early Black Friday deals are popping up all over the place, with things like Black Friday Dell laptop deals, Black Friday gaming laptop deals, Black Friday tablet deals, and Black Friday desktop PC deals offering some hefty discounts. If you’ve had your eye on any of these, you may also want to consider an external hard drive for some additional storage space. There are several Black Friday external hard drive deals worth taking a look at, and we’ve rounded up the best of them below. Read onward for all of the details, as well as some information on things to look out for if you plan to purchase an external hard drive while these Black Friday deals are taking place.
Crucial X6 SE 1TB external SSD — $80 $100 20% off

Read more
MacBook Pro 16 vs. MacBook Pro 14: here’s which M4 you should buy
The MacBook Pro 16-inch on a table.

MacBook Pros are some of the best laptops money can buy. With the M4 chip now onboard, these laptops have never been so powerful, and the update brings some interesting upgrades, such as the improved 12-megapixel webcam and brighter screen. They're the best MacBooks that have ever been made, and it's a perfect time to pick one up based on upgrade timing.

But just because the entire MacBook Pro lineup is better now, that doesn't mean it's any easier to choose between the two size options that are available. Despite the fact that they include many of the same features, the 14-inch MacBook Pro and 16-inch MacBook Pro feel like entirely different systems due to their contrast in size.

Read more