Download the appropriate Kali Linux
.iso
- Download site: https://www.kali.org/downloads/
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.Kali Linux On Macbook Pro
May 6, 2018 - Your Mac; A USB stick with Kali ISO installer; A target USB stick, SD card or an SSD external drive. Grub> linux /boot/vmlinuz〈.tab here!
Check the hash
Check that the hashes were not tampered with. First, get the Kali GPG public key, and verify the fingerprint:
Compare the SHA256 hash with that reported in
SHASUMS
:Create the USB disk
Identify your external USB with
diskutil
- the disk ID (disk2
, disk3
etc is represented as <DISK>
below):If necessary, prep the external USB with
diskutil
to get a single partition:Unmount the volume in DIsk Utility, or at the command-line:
Then use
dd
to make a bootable image on the USB: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
Create a
partition.conf
file. This will enable the persistent storage on USB startupCheck 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 partitionls -ltrh /lib/live/mount/persistence/<DISK>
should show four entries:lost+found
,persistence.conf
,rw
, andwork
. Therw
directory is a persistent link to/
.
Update the OS
Update the installer and acquire the appropriate linux headers
Install kernel headers
These need to be obtained separately:
Install the Broadcom drivers
Enable and disable modules
Enable network-manager
Kali On Mac
Set the value of
managed
to true
,