summaryrefslogtreecommitdiff
path: root/nfs/scripts/image_capture_I4920.sh
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2020-07-04 23:38:38 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2020-07-04 23:38:38 +0200
commitcf81fed0c9277550e6b98927f7ff2f8eb5de7b40 (patch)
treed193ebdaed1853d2868c26c43d2fc0c00ebb42ac /nfs/scripts/image_capture_I4920.sh
parent8d273fe8d76ef394cfab04a195c90f4b7aeb8495 (diff)
downloadeficast-cf81fed0c9277550e6b98927f7ff2f8eb5de7b40.tar.gz
eficast-cf81fed0c9277550e6b98927f7ff2f8eb5de7b40.tar.bz2
eficast-cf81fed0c9277550e6b98927f7ff2f8eb5de7b40.zip
Add blkdiscard on image. Add nfs scripts newer examples.
Diffstat (limited to 'nfs/scripts/image_capture_I4920.sh')
-rw-r--r--nfs/scripts/image_capture_I4920.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/nfs/scripts/image_capture_I4920.sh b/nfs/scripts/image_capture_I4920.sh
deleted file mode 100644
index 8f70b26..0000000
--- a/nfs/scripts/image_capture_I4920.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/busybox sh
-# Should only started from image_capture.sh, it defines some helper functions and variables)
-# echo_color() <text-color> <background-color> [prefix text] <message>
-# $outdir is the also the current working dir, garanted to be empty and writable
-# Many cloning/partitioning tools are available for use, see make-boot-image.sh
-
-echo_color white blue ">>> " "Capturing /dev/sda boot sectors"
-dd if=/dev/sda count=2048 2>logs/sda-dd.log | pigz --fast > sda-dd.gz 2>logs/sda-pigz.log
-
-echo_color white blue ">>> " "Capturing /dev/sda1 NTFS BOOT"
-partclone.ntfs --clone -s /dev/sda1 -L logs/sda1-partclone.log --no_check | pigz --fast >sda1-partclone.gz 2>logs/sda1-pigz.log
-
-echo_color white blue ">>> " "Capturing /dev/sda2 NTFS WINDOWS"
-partclone.ntfs --clone -s /dev/sda2 -L logs/sda2-partclone.log --no_check | pigz --fast >sda2-partclone.gz 2>logs/sda2-pigz.log
-