hardware:raspberry_pi:dietpi:dietpi-imager

文書の過去の版を表示しています。


DietPi での配布イメージの作成 (DietPi-Imager)

$ sudo bash -c "$(curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-imager)"

[  OK  ] DietPi-Imager | cd /home/dietpi
[ INFO ] DietPi-Imager | Checking for required APT packages: parted fdisk zerofree p7zip
[ INFO ] DietPi-Imager | APT update, please wait...
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Hit:2 https://archive.raspberrypi.org/debian bullseye InRelease
Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Contents (deb) [41.1 MB]
Fetched 54.3 MB in 2min 26s (373 kB/s)
Reading package lists...
[  OK  ] DietPi-Imager | APT update
[ INFO ] DietPi-Imager | APT install for: zerofree, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  zerofree
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 8916 B of archives.
After this operation, 25.6 kB of additional disk space will be used.
Get:1 http://ftp.udx.icscoe.jp/Linux/raspbian/raspbian bullseye/main armhf zerofree armhf 1.1.1-1 [8916 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 8916 B in 1s (6362 B/s)
                               Selecting previously unselected package zerofree.
(Reading database ... 71135 files and directories currently installed.)
Preparing to unpack .../zerofree_1.1.1-1_armhf.deb ...
Unpacking zerofree (1.1.1-1) ...
Setting up zerofree (1.1.1-1) ...
[  OK  ] DietPi-Imager | APT install for: zerofree


RPi Zero W (armv6l) | IP: 192.168.1.203












┌──────────────────────────────────────────────────┤ DietPi-Imager ├───────────────────────────────────────────────────┐ │ Please select how the input OS is stored: │ │ │ │ Drive : The OS is stored on an attached drive. │ │ Image : The OS is stored as an image file. │ │ │ │ │ │ <Ok> <Cancel> │ │ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

起動用 SD をセッティングする時残る痕跡を調べる🤤
※機密情報が含まれる可能性があるものを整理してみます🤔

DietPi 公式起動イメージの初期設定(未起動)

/etc/network/interfaces
# Location: /etc/network/interfaces
# Please modify network settings via: dietpi-config
# Or create your own drop-ins in: /etc/network/interfaces.d/
 
# Drop-in configs
source interfaces.d/*
 
# Ethernet
#allow-hotplug eth0
iface eth0 inet dhcp
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
#dns-nameservers 9.9.9.9 149.112.112.112
 
# WiFi
#allow-hotplug wlan0
iface wlan0 inet dhcp
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
#dns-nameservers 9.9.9.9 149.112.112.112
wireless-power off
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplicant.conf
# Grant all members of group "netdev" permissions to configure WiFi, e.g. via wpa_cli or wpa_gui
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
# Allow wpa_cli/wpa_gui to overwrite this config file
update_config=1
  • hardware/raspberry_pi/dietpi/dietpi-imager.1659472156.txt.gz
  • 最終更新: 2022/08/03 05:29
  • by ともやん