Skip to content

Instantly share code, notes, and snippets.

@gmile
Last active December 15, 2015 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmile/5325949 to your computer and use it in GitHub Desktop.
Save gmile/5325949 to your computer and use it in GitHub Desktop.
  1. Format the USB with "Master boot record set", providing it with a "MYDISK" title (see 1, 2)
  2. run diskutil list
Eugenes-MacBook-Pro:haystack gmile$ diskutil list
/dev/disk0
 #:                       TYPE NAME                    SIZE       IDENTIFIER
 0:      GUID_partition_scheme                        *750.2 GB   disk0
 1:                        EFI                         209.7 MB   disk0s1
 2:                  Apple_HFS Macintosh HD            749.3 GB   disk0s2
 3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
 #:                       TYPE NAME                    SIZE       IDENTIFIER
 0:     FDisk_partition_scheme                        *15.8 GB    disk1
 1:                 DOS_FAT_32 MYDISK                  15.8 GB    disk1s1
  1. run:
diskutil unmountDisk /dev/disk1
  1. run:
sudo dd if=/Users/gmile/Downloads/ubuntu-12.04.2-server-amd64.iso of=/dev/disk1 bs=1m
  1. set target machine's BIOS to boot from USB first
  2. insert the USB stick and boot to see the installation screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment