Page 1 of 1

DietPi for NanoPi NEO Air

PostPosted: Thu Nov 24, 2016 5:49 pm
by Fourdee
What is DietPi?:

  • DietPi for NanoPi NEO Air was built using ARMbian build tools.
  • You can pre-configure WiFi creds by editing /boot/dietpi.txt after writing the image, and, before powering up for the first time.
  • Install DietPi on the eMMC (you must have DietPi up and running on a SDcard prior to this):
    Code: Select all
    #7Zip prereqs
    apt-get install -y p7zip

    wget '' -O image.7z
    p7zip -d image.7z

    #Optional: Mount image to set WiFi creds in dietpi.txt
    modprobe loop
    losetup -f
    losetup /dev/loop2 'DietPi_v'*'.img'
    partprobe /dev/loop2

    # - Mount loopback
    mkdir -p /mnt/loop2p1
    mount /dev/loop2p1 /mnt/loop2p1

    # - enable WiFi and set creds
    nano /mnt/loop2p1/dietpi.txt

    umount /mnt/loop2p1
    losetup -d /dev/loop2

    #Write to EMMC
    # - Following assumes you have no other files in this directory with name 'DietPi_v*.img'
    #   (other than the one we downloaded above)
    dd if="$(ls | grep -m1 'DietPi_v'*'.img')" of=/dev/mmcblk2

    #Power off, unplug SD card, power on.

Download DietPi Image:

Getting Started Guides:

Complete list of optional, optimized and "ready to run" software.

Created by Dan Knight (Fourdee)


Sourcecode (Github)

Donations / Support DietPi:
DietPi is a free product and relies solely on your donations for funding. If you found DietPi useful and want to support future development, please click here to find out more.