-
-
Notifications
You must be signed in to change notification settings - Fork 503
How to create a DietPi image for Raspberry Pi
MichaIng edited this page May 17, 2019
·
10 revisions
Download Raspbian Lite: https://www.raspberrypi.org/downloads/raspbian/
- Enable SSH by creating a file named
ssh
in partition 1 (besideconfig.txt
). - Edit
cmdline.txt
andconfig.txt
to your needs. The latter will be overwritten by DietPi-PREP.
- The default hostname is
raspberrypi
which you can use to get the local IP for SSH:ping raspberrypi
sudo bash -c "$(curl -sSL https://raw.githubusercontent.com/MichaIng/DietPi/master/PREP_SYSTEM_FOR_DIETPI.sh)"
- Git branch:
master
- Enter your name
- Pre-image name:
Raspbian Lite
- Device:
0 : Raspberry Pi (all models)
- WiFi:
1 : I require WiFi
- Distro:
4 : Stretch
sudo shutdown now
- Plug the SDcard into an external Linux system.
- WIP: https://github.com/MichaIng/DietPi/pull/2693
cd /tmp
wget https://raw.githubusercontent.com/MichaIng/DietPi/dietpi-image/.meta/dietpi-image
chmod +x dietpi-image
./dietpi-image <mount_dev> 2 DietPi_RPi-ARMv6-Stretch
- The image will be created as
/root/DietPi_RPi-ARMv6-Stretch.img
and a 7zip archive with hash file and README.md included at:/root/DietPi_RPi-ARMv6-Stretch.7z
Project management
Extend
- DietPi-Software list
- DietPi TCP/UDP port usage list
- How to add a new software title
- How to create a DietPi image for Raspberry Pi
- How to create a DietPi image for VirtualBox
- How to create a DietPi image for VMware
- How to create a DietPi image for Parallels (macOS)
- How to create a DietPi image for x86_64 PCs (BIOS)
- How to create a DietPi image for x86_64 PCs (UEFI)
Knowledge Base