Results 1 to 5 of 5

Thread: Kali Peristent USB

  1. #1
    Join Date
    2015-Mar
    Posts
    4

    Kali Peristent USB

    Hello, I have a Live USB stick as here http://de.docs.kali.org/installation...usb-persistenz with
    Code:
    dd if = kali-linux-1.0.9a-amd64.iso of = / dev / sdb bs = 1M
    created and this would then make peristent I've created a new partition on the stick and there was the
    persistence.conf
    new to this content:
    Code:
    size = 2,93gb
    readBytes _ <<(you -bcm kali-linux-1.0.9a-amd64.iso | tail -1); echo $ bytes
    parted / dev / sdb mkpart primary $ $ size bytes
    mkfs.ext3 -L persistence / dev / sdb3
    e2label / dev / sdb3 persistence
    mkdir -p / mnt / my_usb
    mount / dev / sdb3 / mnt / my_usb
    echo "/ union"> /mnt/my_usb/persistence.conf
    umount / dev / sdb3
    However, the stick is not perestent, I start on the Grub menu Kali Peristent, but if I tell the system then neustarte are gone all changes.

    What could be wrong?

    Thank You

  2. #2
    Join Date
    2013-Jul
    Posts
    844
    We made a persistent usb with kali-linux-1.1.0-i386 two(2) days ago that worked fine using the procedures outlined in the thread referenced below. It saved a text file between reboots and saved the files when we updated it.

    We used a hardrive install of kali-linux to work on the flash drive.

    If you have the usb functioning as a live usb and just want to get your persistence functioning start at the gparted line.

    See:

    https://forums.kali.org/showthread.p...ersistent+1.08

    MTeams

  3. #3
    Join Date
    2015-Mar
    Posts
    4
    Hi,
    thanks for the reply, I will try it as described in the link.

    How did you hardrive installation on the USB stick made?

    I have a Ubuntu VM running on where I almost always make the stick and then the perestence

  4. #4
    Join Date
    2015-Mar
    Posts
    4
    Hi,
    I now like thishttps://forums.kali.org/showthread.php?22166-Making-a-Persistent-usb-flash-drive-with-kali-linux-1-08&highlight=persistent+1.08 described done the following:

    The current kali-linux-1.1.0a-amd64.iso downloaded and written with Win32DiskImager Windows on the stick.............


    2. Run up a kali or Backtrack operating system with gparted installed. You cannot use the usb with kali-linux 1.08 on it as it will be locked during these operations, therefore a separate operating system must act on the usb flash drive.

    3. Insert the usb with kali-linux 1.08 installed in the computer running a linux distro with gparted

    4. Type gparted /dev/sdd

    5. You will find /dev/sdd1
    /dev/sdd2
    unallocated area

    6. Right Click within the unallocated section, then select new from the drop-down menu that appears.

    7. Create a Primary Partition, Choose ext 4 as the file system, and label the partition with the word:

    persistence

    8. Click on "Add" then "Apply" and let the computer format the partition in ext 4 with the label persistence.

    9. When the process is completed open up a terminal window and enter the following:


    For unencrypted

    mkdir -p /mnt/my_usb
    mount /dev/sdd3 /mnt/my_usb
    echo "/ union" > /mnt/my_usb/persistence.conf
    umount /dev/sdd3

    10. Shut down and reboot from the usb flash drive with kali-linux-1.1.0a-amd64.iso installed When the kali-linux main menu appears select Live USB Persistence

    It seems now to be functioning, thanks for the help.

    I would just like, several linux live distro on the stick to have the stick as a multi-system drive, ie, it is still possible?
    And how?
    Last edited by Coolzero; 2015-03-14 at 20:07.

  5. #5
    Join Date
    2015-Mar
    Posts
    4
    Now i change to an encrypted partition

    cryptsetup --verbose --verify-passphrase luksFormat /dev/sdd3
    cryptsetup luksOpen /dev/sdd3 my_usb
    mkfs.ext4 -L persistence /dev/mapper/my_usb
    e2label /dev/mapper/my_usb persistence
    mkdir -p /mnt/my_usb
    mount /dev/mapper/my_usb /mnt/my_usb
    echo "/ union" > /mnt/my_usb/persistence.conf
    umount /dev/mapper/my_usb
    cryptsetup luksClose /dev/mapper/my_usb

    ========End of encrypted===========


    Now, i only want to make a Multiboot Stick with Kali Perestence, how can i do that?

    Thank you

Similar Threads

  1. Installing Kali on Live peristent USB (resolution problems)
    By bole01 in forum Installing Archive
    Replies: 0
    Last Post: 2017-07-01, 13:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •