Results 1 to 2 of 2

Thread: Tutorial for Creating a Live Persistence USB on Mac OSX (El Capitan)

  1. #1

    Smile Tutorial for Creating a Live Persistence USB on Mac OSX (El Capitan)

    Hi everyone!

    Unfortunately my first post about my sucess with using Mac Linux Loader was short lived . I had a lot of issues with memory storage and wifi. So, I started over from scratch. Now after a whole week of trying many if not all tutorials, I have finally found a way to make live usb persistence work on OSX . So, I thought I'd share it with the Kali Forum to see if anyone else is successful with this way.

    Here are the following methods which did not work for me (I'm using a Macbook air 2015 with El Calpitan):
    • Using Mac Linux Loader didn't work for persistence for some reason
    • Using Ubuntu to create live usb and partition.
    • Using Windows to create live usb and partition.


    Here is the hardware/software I used to make this work:


    So, here is a list of steps I followed for creating the USB Persistence:
    1. Downloaded 64GB Kali image from official website with torrent. Then verified the SHA1SUM.
    2. I followed this: http://docs.kali.org/downloading/kal...ve-usb-install
    3. Disabled SIP by booting OSX in recovery (Hold Command + R while rebooting). When "OS X Utilities" shows up, I loaded Terminal up and typed
      Code:
      csrutil disable; reboot
    4. I installed rEFInd and ran it.
    5. I opened up Finder and navigate to the boot folder and changed syslinux.cfg so that instead of `vesamenu.c32` the default is `menu.c32`.
    6. Rebooted computer.
    7. rEFInd boot screen loads up and I choose the Kali EFI drive
    8. I enter Kali Live.
    9. Then I type
      Code:
      gparted
      in terminal
    10. I saw /dev/sda1 and /dev/sda2 with Kali Live. I pressed "unallocated space" and pressed "new" (under partition).
    11. I labeled the partition "persistence" and chose "ext4" as the file system.
    12. I then typed these commands:
      Code:
      mkdir -p /mnt/my_usb
      Code:
      mount /dev/sda3 /mnt/my_usb
      Code:
      echo "/ union" > /mnt/my_usb/persistence.conf
      Code:
      umount /dev/sda3
    13. I rebooted my computer and loaded into "Live USB Persistence". I gedited a file on the desktop and rebooted the computer again to see if it worked. And Voila! It saved!


    Here is a list of steps I followed for installing the WIFI:
    • edited etc/apt/sources.list so that only
      Code:
      deb http://http.kali.org/kali kali-rolling main contrib non-free
      appeared
    • Typed:
      Code:
      apt-get update && apt-get dist-upgrade -y
    • Rebooted computer
    • Typed:
      Code:
      apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
    • Typed:
      Code:
      modprobe -r b44 b43 b43legacy ssb brcmsmac
    • Typed:
      Code:
      modprobe wl
    • Then WiFI worked!


    Hopes this helps for the struggling OSX users! I will try to update this post with all my sources after I find them all!

    EDIT:
    WIFI DOES NOT WORK NOW BECAUSE OF KALI ROLLING. SEE MY OTHER TUTORIAL TO INSTALL WIFI CORRECTLY ON USB PERSISTENCE!
    Last edited by juxtaposition1997; 2016-05-17 at 06:29.

  2. #2
    What exactly do you mean/what did you do when you say "I opened up Finder and navigate to the boot folder and changed syslinux.cfg so that instead of `vesamenu.c32` the default is `menu.c32"?
    Will this tutorial still work for kali rolling?

Similar Threads

  1. Replies: 2
    Last Post: 2016-08-28, 04:08
  2. creating persistence USB get 'no such file or directory
    By richie2345 in forum Installing Archive
    Replies: 5
    Last Post: 2016-02-18, 18:05
  3. Replies: 5
    Last Post: 2015-06-10, 22:46
  4. Creating presistent USB: Cant create persistence.conf
    By Blockmover in forum Installing Archive
    Replies: 1
    Last Post: 2015-05-17, 20:41

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
  •