Skip to content
Snippets Groups Projects
Commit 0cde4043 authored by minute's avatar minute
Browse files

add deploy-sdcard.sh

parent 175dac09
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
disk=$1
if [[ "x$disk" == "x" ]]
then
echo "Specify disk (i.e. sdc)!"
exit 1
fi
dd if=reform-system.img of=/dev/$disk bs=8M status=progress
growpart -u auto /dev/$disk 1
resize2fs /dev/${disk}1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment