This commit is contained in:
2026-05-13 04:24:12 -06:00
parent bbb66f591c
commit 17ade43f03
4 changed files with 65 additions and 4 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/bin/bash
echo -e "\n\n\nSTARTING TESSST\n\n\n"
disk=/dev/sda
log=log.log
echo > "$log" # initialize to empty
echo "runnin inline xz"
sudo dd if=$disk status=progress bs=1M | xz -c > throwaway_image_post0_inline_xz_14052026.img.xz
echo "runnan raw dd img"
sudo dd if=$disk of=throwaway_image_post0_raw_dd_img_14052026.img status=progress bs=1M | tee -a "$log"
echo "xz compressing raw dd img"
xz -v -k throwaway_image_post0_raw_dd_img_14052026.img | tee -a "$log" # yieldds throwaway_image_raw_dd_img_14052026.img.xz
echo "testing inline xz file"
xz -t -v throwaway_image_post0_inline_xz_14052026.img.xz | tee -a "$log"
echo "testing raw dd xz img.xz"
xz -t -v throwaway_image_post0_raw_dd_img_14052026.img.xz | tee -a "$log"
echo "generating sha256 checksums"
echo > checksums.sha256 # clear for initial
sha256sum *.img | tee -a checksums.sha256
sha256sum *.xz | tee -a checksums.sha256
echo -e "\n\n\nFUCKING FINAALLY ITS OVER\n\n\n"