A=$( parted -ms /dev/sda print | tail -1 | cut -b1 )
B=$(( $(( 128 * ${A} )) + 1024 ))
#dd if=/dev/sda of=/dev/sdb bs=1 count=${B}