Orange Pi PC 2 - OS image Orange Pi PC2 SD card imageshttps://sd-card-images.johang.se/boards/orange_pi_pc2.html Xunlong Orange Pi PC2 running Ubuntu 24.04 LTS Disk layout - 64 GB but only 4 GB would be sufficient probably It takes about 12 minutes.  Unusable. 64 GB It can be "shaved" and saved. https://web.archive.org/web/20200602173912/https://softwarebakery.com/shrinking-images-on-linux Truncate empty space from a raw dd image https://superuser.com/questions/958812/truncate-empy-space-from-a-raw-dd-image Check for sector sizes: sudo fdisk -l '/home/user/images/test.img' Units: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x00070424 Device                      Boot Start     End Sectors  Size Id Type/home/user/images/test.img1 *     2048   26623   24576   12M  e W95 FAT16/home/user/images/test.img2      26624 7200767 7174144  3,4G 83 LinuxUse end number (7200767) as reference add 1 and * 512 like below: sudo truncate --size=$[(7200767+1)*512] '/home/user/images/test.img'Your file should be truncated Opposite process: https://serverfault.com/questions/870594/resize-partition-to-maximum-using-parted-in-non-interactive-mode Locale error How to fix the error: -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) https://stackoverflow.com/questions/27292368/vagrantfile-set-locale-for-ssh-agent No more locale error.Only 96.6 MB of RAM used (out of 926 MB) or about 10% only.