How to Install DietPi on Manjaro
DietPi is a lightweight and optimized Linux distribution that can be installed on a single-board computer, such as Raspberry Pi, Orange Pi, or Odroid. In this tutorial, we will show you how to install DietPi on Manjaro.
Prerequisites
Before we start, make sure that you have the following requirements:
- A Manjaro installation on your computer with internet access
- An SD card with at least 8GB of storage
- A card reader (if your computer does not have one built-in)
Step 1: Download the DietPi Image
First, you need to download the DietPi image for your specific SBC from the official website: https://dietpi.com/. Click on the "Downloads" menu and select your board from the list.
Once you have downloaded the image, extract the zip file to a convenient location on your computer.
Step 2: Identify the SD card
Insert your SD card into your card reader, and identify the device path of your SD card. You can find the device path using the following command:
lsblk
In the output, look for a device with a size matching your SD card. The device path should be in the format /dev/mmcblk0 or /dev/sdX, where X is a letter between b and z.
Step 3: Burn the DietPi Image to the SD Card
To burn the DietPi image to the SD card, we will use the dd command. Replace /dev/sdX with the device path of your SD card.
sudo dd bs=4M if=<path to DietPi image file> of=/dev/sdX conv=fsync status=progress
This process will take a few minutes to complete. Once it finishes, eject the SD card from your computer.
Step 4: Boot your SBC with the DietPi Image
Insert the SD card into your SBC, and connect it to your network and power supply.
After a few moments, the DietPi installer will start automatically. Follow the on-screen instructions to configure DietPi to your preferences.
Conclusion
In this tutorial, you learned how to install DietPi on Manjaro. Now you can enjoy the lightweight and optimized DietPi experience on your SBC.