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

Advertisements

One thought on “Bootable USB install device in MacOS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s