[Pkg-raspi-maintainers] How to create my own sd card image

Franco Martelli martellif67 at gmail.com
Tue Mar 23 19:56:08 GMT 2021


Hi,

I've Debian Buster running on my Raspberry Pi 3 sd card, the size of sd
card is 32GB:

~$ LC_ALL=C df
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  413M     0  413M   0% /dev
tmpfs          tmpfs      92M  324K   92M   1% /run
/dev/mmcblk0p2 ext4       29G  2.8G   25G  11% /
tmpfs          tmpfs     459M     0  459M   0% /dev/shm
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs     459M     0  459M   0% /sys/fs/cgroup
/dev/mmcblk0p1 vfat      499M  105M  395M  21% /boot/firmware
tmpfs          tmpfs      92M     0   92M   0% /run/user/1000

All goes very well, the rpi act as dhcp, print and dns server I'm
satisfied with this setup so I'd like to create a sd card image of the
size of my system installation like the
2020-08-20-raspios-buster-arm64.zip image file it is. The size it should
be therefore 2.8G + 105M.
Is it available an howto or wiki page to accomplish this or could
anybody briefly explain me the creation process of
2020-08-20-raspios-buster-arm64.zip image file thus I can figure out how
to do?

Thanks in advance for any answer, kind regards
-- 
Franco Martelli



More information about the Pkg-raspi-maintainers mailing list