Web lists-archives.com

Re: Trouble making bootable USB from ISO image

On 5/3/2019 7:29 PM, Paul Sutton wrote:
> On 03/05/2019 18:24, James Medeiros wrote:
>> I usually use dd; the following should also work (someone jump in if
>> I'm misunderstanding the question). Also second what Greg said, make
>> sure your USB isn't mounted.
>> dd if=<ISO file> of=/dev/sdf bs=8M
>> On Fri, May 3, 2019 at 12:54 PM Greg Wooledge <wooledg@xxxxxxxxxxx
>> <mailto:wooledg@xxxxxxxxxxx>> wrote:
>>     On Sat, May 04, 2019 at 01:50:31AM +0900, Mark Fletcher wrote:
>>     > it auto-mounted.
>>     > So as root I did:
>>     >
>>     > cp <ISO file> /dev/sdf
>>     You need the device NOT to be mounted when you do the cp.  This
>>     may mean
>>     you have to turn off your auto-mounter, or (better still) just log
>>     out of
>>     your Desktop Environment entirely, and log in as root on a text
>>     console
>>     for this operation.
>>     If the device is mounted, that will interfere with the raw byte
>>     writing
>>     you're doing.  The results are unpredictable.
> Just to add that if you put status=progress at the end you should get a
> progress bar as it writes,  this is handy otherwise you are sitting
> around for what seems ages while it writes away in the background.

It should be noted that a regular cp command could be used as well:

$ cp *.iso /dev/sdX

To unmount something from the command line you would do something like:


John Doe