- The ISO image official Kali Linux images
- Etcher
the easyest way to create your usb drive is by using Etcher
- Plug your USB drive into an USB port
- Choose the Kali Linux ISO file to be imaged
- Click the “Flash!” button once ready
- Restart the Mac
- Hold down the
Optionkey when you hear the chime - Select
EFIas the startup disk - Select
Kali Linux (persistence)
-
Start
gpartedfrom the terminal -
Select the USB disk
-
Select the `Unallocated partition
-
Create a new partition (by default this will fill the free space on the USB)
Partition -> New- Create as:
Primary Partition - File system:
ext3 - Label:
persistence
-
Apply the operations
Edit -> Apply All Operations- Confirm this action
-
Exit
gparted
Create a mount point for the persistence particion, and mount it
$ mkdir -p /mnt/my_usb
$ mount <DISK> /mnt/my_usb
Create a partition.conf file. This will enable the persistent storage on USB startup
$ echo "/ union" > /mnt/my_usb/persistence.conf
$ umount <DISK>
- Restart the Mac
- Hold down the
Optionkey when you hear the chime - Select `EFI as the startup disk
Select Kali Linux (persistence)
At the terminal:
df -hwill bring up a list of mounted drives. There should be a mountpoint/lib/live/mount/persistence/<DISK>pointing to your new persistent partitionls -ltrh /lib/live/mount/persistence/<DISK>should show four entries:lost+found,persistence.conf,rw, andwork. Therwdirectory is a persistent link to/.
ref: https://gist.github.com/pgjean/0199e5654e3acf439297b7c03be271b8


ls
cd
pwd
ls -lt