Having trouble properly creating a USB with encrypted persistence. I'm following the instructions from http://docs.kali.org/installation/ka...sb-persistence but I'm obviously doing something wrong.
Kali is 1.0.8 64 bit on an Acer laptop. The USB is a PNY 32 Gig. Here's the steps I take up until the point where it starts throwing errors:
1- dd if=kali-linux-1.0.8-amd64.iso of=/dev/sdb bs=1M
Returns "2943+1 records in
2943+1 records out
3086368768 bytes (3.1 GB) copied, 344.901 s, 8.9 MB/s"
2- size=5gb
Returns nothing
3- read bytes _ < <(du -bcm kali-linux-1.0.8-amd64.iso |tail -1); echo $bytes
Returns "2944"
4- parted /dev/sdb mkpart primary $bytes $size
Returns "Warning: You requested a partition from 2944MB to 5000MB.
The closest location we can manage is 3086MB to 5000MB.
Is this still acceptable to you?
Yes/No?"
Choosing yes returns "Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel?"
Choosing ignore returns "Information: You may need to update /etc/fstab."
I'll leave at at this point because I'm sure that whatever I've done wrong has been done by now. After completing the rest of the commands the drive will boot and encrypted persistence will work but it shows as "1.9 GB unrecognized".
Any tips appreciated!