michael_kent123 Posted September 23, 2014 Share Posted September 23, 2014 (edited) Hello,I am able to boot into the live version of Kali but cannot achieve persistence.I follow http://docs.kali.org/installation/ka...sb-persistence changing where necessary (the .iso and location of my usb).In Ubuntu 12.04, I run: dd if=kali-linux-1.0.9-i386.iso of=/dev/sdc bs=1M My USB is on /dev/sdc.I then can boot into Kali with no problems at start-up.However, I then enter Ubuntu and run as root (after su): size=5gbread bytes _ < <(du -bcm /home/name/kali-linux-1.0.9-i386.iso |tail -1); echo $bytes parted /dev/sdc mkpart primary $bytes $sizemkfs.ext3 -L persistence /dev/sdc1e2label /dev/sdc1 persistencemkdir -p /mnt/my_usbmount /dev/sdc1 /mnt/my_usbecho "/ union" > /mnt/my_usb/persistence.confumount /dev/sdc1 I then try to run Kali from boot and am informed that it "failed to load ldlinux.c32".There are three directories on my USB: EFI, install, and live. I added ldlinux.c32 from http://rufus.akeo.ie/downloads/ to EFI/BOOT but still received the same error.Df after I've tried to add persistence shows: /dev/sdc2 61682 58670 3012 96% /media/Kali Live I am obviously doing something wrong. What? Many thanks! Edited September 23, 2014 by michael_kent123 Quote Link to comment Share on other sites More sharing options...
barry99705 Posted September 23, 2014 Share Posted September 23, 2014 Oddly enough they have a document for that! http://docs.kali.org/installation/kali-linux-live-usb-persistence Quote Link to comment Share on other sites More sharing options...
michael_kent123 Posted October 5, 2014 Author Share Posted October 5, 2014 Oddly enough they have a document for that! http://docs.kali.org...usb-persistence Oddly enough, I referenced that link in the third line of my post. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted October 5, 2014 Share Posted October 5, 2014 Since your question is Kali specific, I would suggest searching the Kali forums: http://forums.kali.org/ Quote Link to comment Share on other sites More sharing options...
cooper Posted October 5, 2014 Share Posted October 5, 2014 You're replacing the original partition. Quoting the referenced documentation link: Create and format an additional partition on the USB stick. In our example, we create a 5 GB persistent partition and create a persistence.conf file on it. Note the bold bit. While performing the second sequence they're writing to a 3rd partition (/dev/sdb3) while you're writing to the 1st partition which is guaranteed to contain the stuff you just put there with the dd command and you were not supposed to remove. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.