Computing and Networks

Bootable USB install device in MacOS

These instructions will create a bootable install medium for the installation of a operating system using a .iso file downloaded from the network, the dd command and a standard USB stick.  You need admin level access (to run the sudo command). This covers MacOS [for Linux see Bootable USB install device in Linux]

Let us begin

Copy the .iso file to your home directory (~/)on the local workstation for speed and convenience if possible, also to rule out issues created due to network errors during the write.

Open a terminal and run the diskutil list command, Plug in the USB stick Now find the USB sticks device ID by using the diskutil list command again.  The new device that shows is the one you want to use (and the size will match the size written on the stick.  There may be partitions showing use the top level device ID

[include output example]

Now unmount the drive:

diskutil umountDisk /dev/disk4

Then use the dd command to write the .iso file to the USB stick

sudo dd if=~/ubuntu-17.04-desktop-amd64.isoof=/dev/disk4 bs=1m

One thought on “Bootable USB install device in MacOS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.