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.

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.

Editors' Recommendations

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 Verizon Fios new customer deals: Get 2GB/s internet in your home
Fios TV Package

Whether you surf the web for work or you subscribe to one of the best live TV streaming services, the experience can be made better with blazing fast internet. Fiber optic internet service is the future, and with Verizon Fios you can get some of the fastest internet service around. This service would pair well with any of the best TVs and home theater setups, but it’s also something to consider if you're into online gamine or do work that requires large file uploads and downloads. We’re currently seeing some of the lowest prices on Fios home internet service we’ve ever seen, with Verizon putting some super impressive deals out there. We’ve rounded up all of the best Verizon Fios deals available right now, and they include low monthly costs, waived setup charges, and a number of freebies like Target gift cards.
2 Gigabit Verizon Fios connection -- $85 per month + free extras
One of the fastest internet speeds you can get, and the fastest speed that Verizon offers, this is the sort of subscription you should grab if all the members of your family are essentially watching 4k content all the time. It's also great for those who want to host their own media server to share with friends or family while not impacting anybody else in the home. You also get a lot of great freebies included here, such as the choice of either a $300 Target gift card or a $350 value Samsung Chromebook Go, which is admittedly an entry-level device, but it's not bad to use for just streaming content. On top of that, you can choose between 2TB of Verizon cloud storage and 12 months of Disney+ with no ads or a MoCA Ethernet Adapter for gaming and a $50 Xbox eGift Card. You could also get both of these if you add an extra $10/month, although it's probably not worth it at that point.

1 Gigabit Verizon Fios connection -- $65 per month + free extras
If the super-fast speeds aren't necessarily needed, especially if you're in a smaller household without too many folks watching content, then the 1 Gigabit version is the way to go. It is $20 cheaper, so it's a lot of money that you're saving over the course of the year, and you still get quite a few extra benefits, even at this level. You get to choose either a $200 Target gift card or the same sort of Samsung Chromebook Go that's worth $350 that's great for streaming content. You also get a similar choice as the 2 Gigabit connection, which includes either 2TB of Verizon cloud storage and six months of Disney+ without ads, or a MoCA Ethernet Adapter for gaming and a $50 Xbox eGift Card.

Read more
Best Buy laptop deals: Cheap laptops starting at $139
Apple M1 MacBook Air open on a desk with plants in the background.

With Best Buy almost always among the best places to buy a laptop online, it’s worth checking out what sort of laptop deals the retail giant currently has taking place. It regularly discounts laptop models by top laptop brands like Dell, HP, Lenovo, and even Apple. We’ve tracked down all of the Best Buy laptop deals worth shopping right now, and you can read more about them below. They include some massive savings on an Acer Chromebook, as well as some discounts on new MacBook Airs. If you’re uncertain what sort of laptop best suit your needs, you can also consult our laptop buying guide.
Acer Chromebook 315 — $139, was $199

The Acer Chromebook 315 is one of the larger Chromebooks you’ll find, as its display comes in at an impressive 15.6 inches. This makes it a great option for people who want some extra screen real estate, but who still like to do their work on the go. The Acer Chromebook 315 has plenty of power for a Chromebook, and is made as much for comfort as functionality. Its slightly larger size will come in handy when doing creative work and an integrated numeric keyboard gives it the feel of working on a desktop. The Acer Chromebook 315 is able to reach up to 10 hours of battery life on a single charge, meaning you can work on the go all day without needing to take a charger with you.

Read more
The latest Windows update is breaking VPN connections
Windows Update running on a laptop.

Microsoft has acknowledged that the Windows security updates for April 2024 (KB5036893 for Windows 11, KB5036892 for Windows 10) are causing disruptions to virtual private network (VPN) connections across various client and server platforms. According to information on the Windows health dashboard, devices running Windows may experience VPN connection failures following the installation of either the April 2024 security update or the April 2024 non-security preview update.

The company has also stated that it is actively investigating user reports regarding these issues and will share more details in the coming days. The impacted Windows versions include Windows 11, Windows 10, and Windows Server 2008 onward.

Read more