Skip to content

Instantly share code, notes, and snippets.

@ErnHem
Created November 22, 2019 21:41
Show Gist options
  • Select an option

  • Save ErnHem/d3bfa177ad16721aba155c454b5b0ec3 to your computer and use it in GitHub Desktop.

Select an option

Save ErnHem/d3bfa177ad16721aba155c454b5b0ec3 to your computer and use it in GitHub Desktop.
# Boot USB
DiskUtil -> View -> show all devices
Erize USB Drive -> Scheme GUID partition map + exFat
## Terminal
diskutil list
hdiutil convert -format UDRW -o ~/Yandex.Disk.localized/Downloads/kali-linux-lxde-2019-3-amd64-iso/kali-linux-lxde-2019.3-amd64 ~/Yandex.Disk.localized/Downloads/kali-linux-lxde-2019-3-amd64-iso/kali-linux-lxde-2019.3-amd64.iso
diskutil unmountDisk /dev/disk3
sudo dd if=~/Yandex.Disk.localized/Downloads/kali-linux-lxde-2019-3-amd64-iso/kali-linux-lxde-2019.3-amd64.dmg of=/dev/disk3 bs=1m
# Disable action when close laptop lid
## Edit /etc/systemd/logind.conf and make sure you have,
HandleLidSwitch=ignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment