Does thismean I cannot use gparted to create the new partition labelled persisitence in the Kali Linux OS running on the exact same USB drive?Run up a kali or Backtrack operating system with gparted installed. You cannot use the live usb with kali-linux 2.0 on it, as it will be locked during these operations, therefore a separate linux operating system must act on the usb flash drive. You can use a second usb flash drive to run the OS. However you might have to change the sdb3 to sdc3 in the commands below.
Previously,I used dd command on my Ubuntu OS to copy the kali2.0-ISO to my USB drive.And then I used the parted command to create the new partition labelled work on the USB drive.I did not use the luks encryption.And I write a file named persistence.conf with "/ union" in the partition 'work'.After all these are done on my Ubuntu,I reboot to boot from USB drive,successfully boot to kali grub menu,and select Live (686-pae) or Live USB Persistence.In both modes,I can successfully boot to the gnome environment and everything works normally.But even though I select the Live USB Persistence mode,updates or data vanish between reboots.I notice that the 'work' partition contains only one file,i.e. persistence.conf,and that even though I select the Live USB Persistence mode there exists two icons on the desktop,which are kali live and work.I even tried this:highlight the Live USB Persistence option and press TAB and then type 'persistencelabel=work'.This works the same as I simply press Enter on the options 'Live (686-pae)' or 'Live USB Persistence'.
Later,I deleted all the partitions and data on my USB drive,formated it again,and create a new partition with gparted on my Ubuntu.Then I used dd command to copy the ISO to USB drive.This time,I did not create the new partition on the USB in my Ubuntu.I reboot to boot from USB drive,select the Live (686-pae) mode,and boot to the gnome environment.I use the gparted command to create the persistence partition and do the following things as mentioned above.Then I reboot and select Live USB Persistence.This time the booting process just do not work out.I boot into the tty1.And system prompts me to login.After I enter username(root) and default password.Some strange information I cannot seize appears on screen.And then there only exists an underscore at the left top corner of the screen.I wait for a long time and nothing changes,which force me to press the POWER button to restart the computer.
I boot from the USB drive and select Live (686-pae),which works well.I check the contents in the persistence partition and find out there are many files other than 'persistence.conf',including directories named etc,home,lib,root,usr and so on.
Please help me sort things out.