I have downloaded the ubuntu-14.04.2-desktop-amd64.iso. How do I create a bootable Ubuntu USB stick using my Macbook Air which is running OS X 10.10.2? I cannot create a bootable CD, since the Air is designed without the optical drive.
MacOS – How to create a bootable Ubuntu USB stick using OS X 10.10.2
bootable-diskmacbook promacosunix
Related Question
- MacBook – Is it possible to make a bootable USB stick for a Macbook Pro to do firmware update
- How to create USB Ubuntu boot disk in OS X so that it boots on *non-Apple* computer
- Create a live USB for Linux Derivation
- MacOS – Using El Capitan, can I create a bootable Windows 7 USB
- MacBook – Edit info.plist to make bootable USB
- MacOS – Bootable USB for MacOS Installation
Best Answer
Follow these steps to create an .img file from the .iso file you have, and then copy to the USB stick. This will also change the filesystem that is on the USB to make it bootable.
Type command to convert the .iso file to .img using the convert option.
hdiutil convert -format UDRW -o /path/to/target.img /path/to/ubuntu.iso
Insert your flash media.
Type command to determine the device node assigned to your flash media (e.g. /dev/disk2).
diskutil list
Type command to unmount the flash (replace N with the disk number from the last command; in the previous example, N would be 2).
diskutil unmountDisk /dev/diskN
Type DD command (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img). Prepend the device path with "r" for the raw path which is much faster than without the "r".
sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
Note: your file might also be called
downloaded.img.dmg
. That's okay.Type command to eject the flash drive.
diskutil eject /dev/diskN
Restart your Mac and press alt/option key while the Mac is restarting to choose the USB stick as the boot disk.