Skip to content

Instantly share code, notes, and snippets.

@JakobR
Created May 14, 2013 16:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JakobR/5577314 to your computer and use it in GitHub Desktop.
Save JakobR/5577314 to your computer and use it in GitHub Desktop.
Run Backtrack Linux from a USB thumb drive on a Mac

Running Backtrack from a USB thumb drive on a MacBook Air

  1. Download Backtrack Linux. I used BT5R3-GNOME-64.iso.

  2. Format the thumb drive with Disk Utility (FAT, MBR).

  3. Use UNetbootin to copy the image to the thumb drive.

  4. Use fdisk to mark the partition as active:

    • Run diskutil list to check the device path for the thumb drive. On my system, it was /dev/disk2.
    • Unmount the disk with diskutil unmountDisk /dev/disk2.
    • Run fdisk -e /dev/rdisk2 to edit the MBR. (Note the r, though I doubt it's actually necessary.)
    • Useful commands in fdisk: print to print the current MBR content, f 1 to mark the first partition as "active", write to write the changes to the MBR.
  5. Reboot, hold the Option key, and choose the drive labeled "Windows".

Notes

  • I tried making two partitions on the thumb drive, and installing Backtrack on the first one. It did not show up in the boot loader.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment