How to create a USB bootable Ubuntu ISO on a OSX machine
Download your ISO image from the ubuntu site and save it in your downloads directory.
First we convert the image with the command below.
1 |
hdiutil convert -format UDRW -o ~/Downloads/target.img ~/Downloads/ubuntu.iso |
Then we must first determine the device path of the USB disk
1 |
df -lh |
Take note of the path and ever it in the command below
Then we use DD to image the USB disk, command below. Ensure you change the device path.
1 |
sudo diskutil unmountDisk /dev/disk2 |
Then we use DD to image the USB disk, command below. Ensure you change the device path.
1 |
sudo dd if=~/Downloads/target.img.dmg of=/dev/rdisk2 bs=1m |