Created
January 21, 2014 03:55
-
-
Save christiangenco/8534230 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download this: http://www.ubuntu.com/download/desktop | |
# convert it to an img | |
hdiutil convert -format UDRW -o ~/Downloads/ubuntu.img ~/Downloads/ubuntu-12.04.3-desktop-amd64.iso | |
# remove .dmg extension | |
mv ~/Downloads/ubuntu.img.dmg ~/Downloads/ubuntu.img | |
# figure out which drive your usb stick is | |
diskutil list | |
# plug drive in | |
diskutil list | |
# note the number of the drive that wasn't there before | |
# in this case: /dev/disk1 | |
# unmount the usb stick | |
diskutil unmountDisk /dev/disk1 | |
# copy over ubuntu | |
sudo dd if=/Users/cgenco/Downloads/ubuntu.img of=/dev/rdisk1 bs=1m | |
# eject drive | |
diskutil eject /dev/disk1 | |
# reboot, holding down "option" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment