Setup Diet Pi on Odroid C2 – Lightweight Server OS

Looking for a lightweight home server OS for Odroid? Take a look at Diet Pi. This post shows how to setup Diet Pi on Odroid. Diet Pi is a truly optimized and lightweight operating system for Odroid. It is based on Debian, so even our famous AtoMiC ToolKit should work on it. In my opinion, it is a top choice to setup home server, media servers, file servers, download stations, etc. on Odroid. What's more, Diet Pi even comes with pre-configured packages for popular home server apps that can automate media management. Let's go ahead and see how to install Diet Pi on Odroid C1/C2.

Setup Diet Pi on Odroid

Odroid C2 is a Raspberry Pi like board with Amlogic quad-core CPU, Mali-450 GPU, and 2 GB or RAM. It has a few hardware features that are better than Raspberry Pi 3 (eg. IR Receiver). This makes it an awesome devices for building a low-cost low-power server. Diet Pi is made specifically for such low powered devices. It is compatible with a wide range of devices and it offers a stable base for the services you want to install. Besides that, the DietPi OS has optimized software installers compiled specifically for the Odroid C2 that automate the install process, making the setup a simple process.

1. Download DietPi Image for Odroid C2

First, download the DietPi image for Odroid C2 by going on the DietPi Website. Click on the DOWNLOAD button, then select the Odroid C2 and finally click on the download button.

Download Diet Pi For Odroid C2
Dietpi Download For Odroid C2

2. Download Etcher - For writing DietPi image to SD card

While the DietPi image is downloading, we need to download an app for writing the image to the SD Card. I am using Etcher because it also performs validation after writing the .img file and it has a really easy to use interface. In order to download it, just go on site then click on the arrow next to the Download for Windows button, then select the portable version for Windows.

Download Etcher To Setup Diet Pi On Odroid
Download Etcher Portable For Windows

3. Install Diet Pi on Odroid C2

After downloading both archives make sure you extract them so you have the DietPi .img file and the folder for Etcher in the same folder and proceed with the Odroid Diet Pi installation.

Next, plug in the SD Card in the computer, go to the extracted Etcher folder, and double click on Etcher.exe to open it. When Etcher is open, first, select the DietPi image, next select the SD Card you previously inserted, and click Finish to start writing the image, as shown in the picture below.

Odroid Diet Pi Installation With Etcher
Write Dietpi Image To Card Using Etcher

After clicking on the Flash! button, Etcher will start writing the .img file to the SD card.

Setup Diet Pi On Odroid C2
Etcher Write Img Process

Wait until you get the "Flash Complete!" confirmation that the image has been flashed successfully then take your SD card out and plug it into your Odroid C2.

Setup Diet Pi Os On Odroid
Etcher Confirmation That The .Img File Has Been Flashed Successfully

Next, connect the power cable to the Odroid C2 and the DietPi boot process will begin which takes about 2 minutes. Now all you need to do is wait for DietPi to display the IP where you can connect via SSH. You are now ready to setup your Odroid C2 Home Server.

Atomic-Toolkit-LogoLooking for an automated solution? Try our AtoMiC ToolKit, which makes installation and management of Home Server software such as SickBeard, CouchPotato, Torrent clients, etc. easy.

Connect to your Odroid C2 via SSH

Connecting to your Odroid C2 via SSH is really easy. You just need to use a SSH Client and enter the IP of the SSH device you want to connect to.

First, make sure you download Putty on your computer and open it. [Read: 10 best SSH Clients for Windows: free alternatives to PuTTY]

Next, type the IP for your device, the port (22 is the default port for SSH), and select SSH, then click on the Open button to start the connection.

Ssh Connection To Diet Pi On Odroid C2
Putty Connection Via Ssh

A link to the Odroid C2 will be made and the Login prompt will appear. For DietPi the default username is root and the password is dietpi.

Diet Pi Ssh Login
Ssh Login

If the credentials used are correct, DietPi will start it's automatic update process, to make sure you are using the latest version. This process usually takes about 5 minutes, so wait patiently until you get the confirmation that the update has been completed then press enter to reboot the device.

Update Diet Pi Server On Odroid C2
Dietpi Update Process Finished

Once Odroid C2 with Diet Pi reboots, you can now connect through SSH and use DietPi-Software app to install several home server apps.

Diet Pi Installation on Odroid C2 is now complete. What do do next?

Congratulations! You managed to setup Diet Pi on Odroid and you now have a dedicated Odroid C2 Home Server for installing apps such as SickRage, Plex, Emby, etc. This home server setup will be one of the most lightweight lower-power setup you can build. It will cost you less than $10 to keep it running 24/7 for a year. It is hard to beat that. Sounds exciting? Go ahead setup Diet Pi on Odroid C1/C2 and follow the upcoming guides to setup the server.

Be the 1 in 200,000. Help us sustain what we do.
41 / 150 by Dec 31, 2024
Join Us (starting from just $1.67/month)


Anand is a self-learned computer enthusiast, hopeless tinkerer (if it ain't broke, fix it), a part-time blogger, and a Scientist during the day. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs.