Skip to content

Instantly share code, notes, and snippets.

@jukben
Created January 27, 2019 09:31
Show Gist options
  • Save jukben/e25aed2b130b9da7cd6bf4b53e374a55 to your computer and use it in GitHub Desktop.
Save jukben/e25aed2b130b9da7cd6bf4b53e374a55 to your computer and use it in GitHub Desktop.
Create bootable USB under macOS

Convert the ISO

hdiutil convert kali-linux-light-2018.4-amd64.iso  -format UDRW -o kali.img

Get the USB disk

diskutil list

Unmout the disk

diskutil unmountDisk /dev/diskX

Install the system (for macOS dd use 1m)

sudo dd if=kali.img.dmg  of=/dev/disk2 bs=1M

Eject the disk

diskutil eject /dev/diskX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment