alignment is okay for our usb sticks

This commit is contained in:
Patrick Neumann 2020-03-05 10:54:15 +00:00
parent 2d91dec1d6
commit dfedda1454

2
kali/make_kali-usb-stick_persistent Executable file → Normal file

@ -69,7 +69,7 @@ fi
FREE="$( parted -m "${USBSTICK}" print free | grep -F free | tail -n 1 )"
START="$( printf "${FREE}" | awk -F ":" '{ print $2; }' )"
END="$( printf "${FREE}" | awk -F ":" '{ print $3; }' )"
parted "${USBSTICK}" mkpart primary "${START}" "${END}"
parted --script "${USBSTICK}" mkpart primary "${START}" "${END}"
# format 3rd partition with ext3 and label "persistence"
mkfs.ext3 -L persistence "${USBSTICK}"3