Results 1 to 6 of 6

Thread: A Windows Only Method For Creating A Live Kali USB With Persistence

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Cool A Windows Only Method For Creating A Live Kali USB With Persistence

    Hi all,

    I had a tremendous difficulty attempting to use a Kali virtual machine to install Kali to a usb 3.0 flash drive. It just wouldn't work for me. So I read up on creating live USB's with persistence and cobbled this method together. It may work for you if all else fails.

    You will need:

    • USB Flash Drive of at least 8gb (I used a Lexar 16 gb USB 3.0 connected to a USB 2.0 port)
    • A windows PC (I used Win 7, Service Pack One)
    • MiniTool Partition Wizard
    • DiskPart
    • Win32 Disk Imager
    • Kali Image v 1.0.7 or greater (I used kali-linux-1.0.9a-amd64.iso)



    Step One--Run diskpart from windows (Only necessary if multiple partitions already exist)

    • Select Start → run → diskpart



    From diskpart prompt, use capacity to determine the number of your USB drive ‘x’
    Code:
    list disk
    Select your USB drive
    Code:
    select disk x
    Effectively remove all data
    Code:
    clean
    And finally, create the primary partition
    Code:
    create partition primary
    Step 2--Quick format your USB drive FAT32 from My Computer


    Step 3--Render Kali Image on to USB Drive

    Start-->run>win32diskimager
    • Select Kali Image Path
    • Select USB drive to be written letter
    • Select write



    Step 4--Test your Kali Live USB

    • Select Live USB during boot




    Step 5--Return to Windows, open MiniTool Partition Wizard

    • Select Kali Imaged USB drive from the GUI
    • Select the unallocated, ie rightmost, partition. (Note size, you’ll need it next step)
    • Select a file format of either ext2 or ext4
    • Label/Name the partition ‘persistence
    • Apply changes (top left of GUI)



    Step 6--Boot into Kali Live USB again

    Open Terminal

    Code:
     lsblk
    Match partition size to available space, referenced as sdbx (sbd5 for
    mine)
    Code:
    mkdir -p /mnt/my_usb
    mount /dev/sdbx /mnt/my_usb
    echo "/ union" > /mnt/my_usb/persistence.conf
    umount /dev/sdbx
    Step 7--Verify that persistence.conf has been written to the ‘persistence’ partition

    Step 8--Boot with Live USB Persistence, celebrate

    Note: I have tried this three times on two different flash drives and its worked 2/3. If it fails for you once try switching ext2 with ext4. I used one drive extensively and it worked flawlessly

    This post has been edited to correct an error. Modifications have been submitted in the color red.
    Last edited by KizarnyTizeeth; 2015-02-26 at 10:32. Reason: Minor error correction.

Similar Threads

  1. Replies: 0
    Last Post: 2016-12-15, 01:24
  2. Tutorial for Creating a Live Persistence USB on Mac OSX (El Capitan)
    By juxtaposition1997 in forum How-To Archive
    Replies: 1
    Last Post: 2016-07-24, 21:32
  3. Replies: 0
    Last Post: 2014-05-14, 09:07
  4. Kali live usb with persistence and windows (fat32) partition
    By aceav8or in forum Installing Archive
    Replies: 0
    Last Post: 2013-10-03, 18:39
  5. kali live boot usb (persistence) / fat 32 partition windows 7
    By qcriderfan87 in forum Installing Archive
    Replies: 2
    Last Post: 2013-09-17, 14:43

Tags for this Thread

Posting Permissions

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