diff --git a/kali/make_kali-usb-stick_persistent b/kali/make_kali-usb-stick_persistent old mode 100755 new mode 100644 index d0c7da4..39616ca --- a/kali/make_kali-usb-stick_persistent +++ b/kali/make_kali-usb-stick_persistent @@ -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