From a601515d5cd6e0464e33538662088110b43f79a9 Mon Sep 17 00:00:00 2001 From: simono41 Date: Mon, 25 Jun 2018 08:56:53 +0200 Subject: [PATCH] windoof_write.sh --- windoof_write.sh | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 windoof_write.sh diff --git a/windoof_write.sh b/windoof_write.sh new file mode 100755 index 0000000..43d4191 --- /dev/null +++ b/windoof_write.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +set -x + +# Partitionierung +DEVICE=/dev/sdb + +# Partitionierung auf dem USB Stick löschen +dd if=/dev/zero of=$DEVICE bs=1M count=1 + +# Partitionen einrichten +fdisk ${DEVICE} <