mrblobby
2014-09-11, 08:31
Hello,
I am able to boot into the live version of Kali but cannot achieve persistence.
I follow http://docs.kali.org/installation/kali-linux-live-usb-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=5gb
read bytes _ < <(du -bcm /home/name/kali-linux-1.0.9-i386.iso |tail -1); echo $bytes parted /dev/sdc mkpart primary $bytes $size
mkfs.ext3 -L persistence /dev/sdc1
e2label /dev/sdc1 persistence
mkdir -p /mnt/my_usb
mount /dev/sdc1 /mnt/my_usb
echo "/ union" > /mnt/my_usb/persistence.conf
umount /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!
I am able to boot into the live version of Kali but cannot achieve persistence.
I follow http://docs.kali.org/installation/kali-linux-live-usb-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=5gb
read bytes _ < <(du -bcm /home/name/kali-linux-1.0.9-i386.iso |tail -1); echo $bytes parted /dev/sdc mkpart primary $bytes $size
mkfs.ext3 -L persistence /dev/sdc1
e2label /dev/sdc1 persistence
mkdir -p /mnt/my_usb
mount /dev/sdc1 /mnt/my_usb
echo "/ union" > /mnt/my_usb/persistence.conf
umount /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!