In this segment we are going to show you “DietPi Installation on Raspberry Pi 3 Model B+ & Move User Data from SD Card to External Drive.”
>/ What is DietPi ?
DietPi is extremely lightweight operating system, start at 400MB in size (3x lighter than ‘Raspbian Lite’). With features of low process/memory footprint and DietPi-RAMlog installed by default, DietPi allows you to get the maximum performance from your device.
>/ Software need to Download
/> Step 1 : Installation
- First of all we need of Download the DietPi image from the download links. Then we require a SD Card to flash the image
/> Step 2 : Formatting the SD Card
- Now, We need SD Card Formatter tool to format the SD card.
- Once, We plugged in the SD Card to the computer software will automatically detect the SD Card then you need to click on format to format the Card.
/> Step 3 : Flashing the SD Card
/> Step 4 : Setting up Raspberry Pi
- Now we need to plug in the SD card, connect the Ethernet Cable, Power Supply to complete the setup and turn on the Raspberry Pi device it will take up-to 2 minute to boot the DietPi operating system.
- After that we need to run Wireless Network Watcher to check the IP Address of Raspberry Pi.
/> Connecting to Raspberry Pi using SSH
- Now, we got the IP address for our DietPi we can go ahead and open Putty then type the IP Address to connect to DietPi.
Default Username : root Default Password : dietpi
- Once, we connected to the DietPi then it require us to change the Root Password and Unix Password. I recommend you to put same password on both places.
/> DietPi Installation of Minimal Image
- After we logged in to DietPi, then you need to type a command to access the dietpi-software.
- Now, we need to navigate to Install and press OK. After that installation will take around 15-20 min to complete setup.
- Once the setup complete the system will reboot to finalize the settings and you are ready to use your DietPi Image.
/> Format & Mount External Storage
- To Format & Mount the SD card, we need to select the option User Data Location.
- Once, we open User Data Location, it will generate a list of 3 options for us List, Custom & Drive. From these options we need to select Drive and press OK.
- This will bring the list of connected drives to our raspberry pi. From here we need to select the drive which is listed under sda and press OK to select the drive.
- After that we need to navigate to Format to format the drive and once the format is done the drive will mount automatically.
- Once, the format finish, it will provide us with the option to enter the path of the drive. You can either choose the default path or you can type a drive name of your choice.
- In my case i named my drive as Store then press OK.
/> Move User_Data to External Storage
- Now, we need to select List and press OK.
- After that we need to select our External Drive. In my case it is /mnt/Store.
- Now, when we press ok the user data will start transfer
From : /mnt/dietpi_userdata To : /mnt/store/dietpi_userdata. i.e to our External Hard Drive.
- This will finish moving data from SD Card to External Drive. As you can see in the picture User Data Location is now [Custom | /mnt/store/dietpi_userdata.
Now, You are ready to use DietPi on your Raspberry Pi 3 Model B Plus.
In future we are going to install other packages and check their working on DietPi.
Enjoy using it and share your thoughts.