Talk About Health and Its related Topics


Kali Linux Install To USB Key Using Mac

by dazdnconfzd
I thought I'd share how I created the USB key using a Mac. Perhaps it will help others. I borrowed parts from the site:

1. Download the iso.

2. Open Terminal

3. Convert the iso to dmg (I don't know if this is actually necessary ...)
hdiutil convert -format UDRW -o ~/path/to/kali.img ~/path/to/kali.iso. I suspect that this isn't necessary but this is how they did it on the Ubuntu site.

4. Plug in USB key

5. In terminal type
df and note the location of the usb key. It will probably be something like
/dev/disk1s1 or
/dev/disk2s1. You can also use
diskutil list to get the same info.

In my case the USB was found at

What you need going in following steps is the portion /dev/diskN where N is the disk number you found before. In my case it was
/dev/disk1. I'll use this going forward.

6. Now unmount the USB key using either Disk Utilities or from the Terminal
diskutil unmountDisk /dev/disk1

7. In the terminal type
sudo dd if=kali.dmg of=/dev/rdisk1 bs=512k .... Supposedly using /dev/rdiskN is faster.

You will get a Finder message that it can't mount the drive. This is likely because OSX can't read ext3/4.

8. Unmount the USB key
diskutil eject /dev/disk1 where N is your USB

9. Reboot and press "Alt/Option" key to select kali.