You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I used a 64 bit `.iso` image, downloaded via HTTP. I downloaded the amd64 weekly version, as the `pool` linux headers (needed below for installation of wireless drivers) were ahead of the stable release kernel.
Download the `SHA256SUMS` and `SHA256SUMS.gpg` files from the same location.
**Check the hash**
Check that the hashes were not tampered with. First, get the Kali GPG public key, and verify the fingerprint:
Identify your external USB with `diskutil` - the disk ID (`disk2`, `disk3` etc is represented as `<DISK>` below):
*`diskutil list`
If necessary, prep the external USB with `diskutil` to get a single partition:
*`diskutil eraseDisk FAT32 KALI /dev/<DISK>`
Unmount the volume in DIsk Utility, or at the command-line:
*`diskutil unmountDisk /dev/<DISK>`
Then use `dd` to make a bootable image on the USB:
*`sudo dd if=<path to downloaded .iso> of=/dev/<DISK> bs=1m`
**Boot into Kali Linux**
* Restart the Mac
* Hold down the Option key when you hear the chime
* Select `EFI` as the startup disk
* Select `Kali Linux (persistence)`
**Create a new persistent partition**
* Start `gparted` from 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`
**Combine the new partition with Kali Linux, persistently**
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 control persistence on USB startup
*`echo "/ union" > /mnt/my_usb/persistence.conf`
*`umount <DISK>`
**Check the persistent partition**
* Restart the Mac
* Hold down the Option key when you hear the chime
* Select `EFI` as the startup disk
* Select `Kali Linux (persistence)`
* At the terminal:
*`df -h` will bring up a list of mounted drives. There should be a mountpoint `/lib/live/mount/persistence/<DISK>` pointing to your new persistent partition
*`ls -ltrh /lib/live/mount/persistence/<DISK>` should show four entries: `lost+found`, `persistence.conf`, `rw`, and `work`. The `rw` directory is a persistent link to `/`.
**Update the OS**
Update the installer and acquire the appropriate linux headers