Take note of the *device name* of your USB stick.In this example, the USB stick is 8.0 GB and its device name is <span class="codemmand-placeholder">/dev/disk1</span>.Yours might be different.
<div class="caution"> <p>If you are unsure about the device name, you should stop proceeding or <strong>you risk overwriting any hard disk on the system</strong>.</p> </div>
27
Execute the following command to safely eject the USB stick. Replace<span class="command-placeholder">device</span> with the device name found in step 6.
Execute the following command to safely eject the USB stick. Replace <span class="command-placeholder">device</span> with the device name found in step 6.
<div class="tip"> <p>If you are unsure about the path to the USB image, you can insert the correct path by dragging and dropping the icon of the USB image from <i>Finder</i> onto <i>Terminal</i>.</p> </div>
<div class="note"> <p>If you get a <span class="guilabel"code>Permission denied</spancode> error, try adding <code>sudo</code> at the beginning of the command:</p>
Optionally, eject the <span class="application">balenaEtcher</span> disk image from the desktopdisk image of *balenaEtcher* from the sidebar of *Finder*.
<p>All the data on this USB stick will be lost.</p>
65
<div class="note"> <p>Make sure that the USB image has an <span class="filename"is called <i>[[!inline pages="inc/stable_amd64_img_filename" raw="yes" sort="age"]]</i> and has an <i>.img</spani> file extension.</p>
<div class="note"> <p>Make sure that the USB image is called <i>[[!inline pages="inc/stable_amd64_img_filename" raw="yes" sort="age"]]</i> and has an <i>.img</i> file extension.</p>
66
<p>If the image has an <i>.iso</i> file extension, it is not the correctthe wrong image. Please go back to the <span class="windows">[[download step|windows#download]].</span> <span class="mac">[[download step|mac#download]].</span> <span class="upgrade-windowsmac">[[download step|upgrade/windows#download]].</span> <span class="upgrade-mac">[[download step|doc/upgrade/mac#download]].</span></p> </div>
<p>If the image has an <i>.iso</i> file extension, it is the wrong image. Please go back to the <span class="mac">[[download step|mac#download]].</span> <span class="upgrade-mac">[[download step|doc/upgrade/mac#download]].</span></p> </div>