- Debian 13 disk usage is only 7.2G 😀 Amazing job all involved 😀
- so 14GBytes are free for updates and other stuff
- pre installed:
- latest Libre Office
- latest Super Tux Kart 😀
- firefox (not latest + ublock + custom filters)
- all commands need to be performed as root!
- get a USB stick 24GBytes or 32GBytes
- wget https://dwaves.de/downloads/debian13-ideal-linux-live-usb.img.xz; # download the image file (2.8GBytes)
- wget https://dwaves.de/downloads/debian13-ideal-linux-live-usb.img.xz.sha512sum.txt
- sha512sum -c debian13-ideal-linux-live-usb.img.xz.sha512sum.txt; # check file integrity if ok proceed
- BACKUP SYSTEM!!!!
- lsbls -fs; # find the usb stick DOUBLE CHECK DRIVE LETTER!
- # OVERWRITING DATA = IREVERSIBLE DATALOSS
-
umount /dev/sde*; unxz -c debian13-ideal-linux-live-usb.img.xz | dd of=/dev/sdX status=progress conv=fsync; # unpacking + writing to usb stick - # or if that does not work
-
time unxz -vT12 filename.img.xz; # decompress the file with 12 thread-cores # write it to usb stick umount /dev/sdX*; time dd if=debian13-live-usb.img of=/dev/sdX status=progress; sync; # WARNING AGAIN DOUBLE CHECK VDX IS USB STICK
- it was simply created booting from live iso image
- shrinking filesize of debian13 installation to 23GBytes via gparted
- adding a swap file 1GByte
- zero out free space (for better compression)
-
time dd if=/dev/zero of=./zero_out_space bs=1M status=progress; rm -rf ./zero_out_space;
-
- then backup-over-ssh to compressed img.xz
-
# live boot iso then transfer image to file dd if=/dev/vda1 status=progress | ssh user@192.168.122.1 dd of=/where/to/store/debian13-live-usb.img # multi threaded + maybe better compression (smaller filesize) -
# unfortunately this does not work (dataloss in the process somewhere resulting in 0 filesize of img.xz) dd if=/dev/vda1 | xz -9 -T12 - | ssh user@192.168.122.1 dd of=/where/to/store/backup.img.xz
-
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!