this script tries to install usb stick linux on internal harddisk

#!/bin/bash
echo "======= this script tries to install ideal linux stick on given harddisk"
mkdir /software;
cd /software;

echo "==== downloading ideal-linux-usb-stick image file"
wget -c https://ideal-linux.de/stick/ideal-linux-usb_stick_image_full_16GByte_2017-04.img.gz;

echo "==== downloading ideal-linux-usb-stick image checksum"
wget -c https://ideal-linux.de/stick/ideal-linux-usb_stick_image_full_16GByte_2017-04.img.gz.sha512sum.txt;

-> DOES NOT WORK!? cat /software/ideal-linux-usb_stick_image_full_16GByte_2017-04.img.gz.sha512sum.txt |grep --color $(sha512sum /software/ideal-linux-usb_stick_image_full_16GByte_2017-04.img.gz);

gunzip -c /home_stick/software/ideal-linux-usb_stick_image_full_2017-04.img.gz | pv | dd of=/dev/sdd;

echo ""

# dd bs=512 conv=noerror if=/dev/sdd of=/dev/$1

Leave a Reply

Your email address will not be published. Required fields are marked *