How To Create Bootable USB Drive Using dd Command

8 Responses

  1. Anders Jackson says:

    No need to format the USB memory stick at /dev/sdb if you are writing it all over with dd of=/dev/sdb in the command after.

  2. projectFirehive says:

    I’m running Arch and I have found that when I run ‘mkfs.vfat’ with my volume, it comes back with ‘bash: mkfs.vfat: command not found’, it would appear that ‘vfat’ is not installed for whatever reason.

  3. Jules Randolph says:

    If you want to be sure you’re targeting a USB device (and not internal drive), or if you want autodetection of a USB device (through command line though) you can use ‘bootiso’ bash script https://github.com/jsamr/bootiso. And type:

    bootiso -d /dev/sdb ~/home/Buvanesh/iso/Ubuntu32.iso

    It will fail if /dev/sdb is not connected through USB, which is way more secure.

  4. John says:

    You can add

    status=progress

    to the dd command to see the transfer progress, skipping the whole second part of the tutorial!

  5. Peter Kehl says:

    Thank you.
    “mkfs.vfat /dev/sdb –I” fails, as the -I parameter has to be before the partition. Hence: mkfs.vfat -I /dev/sdb.

  6. Khaithang Haokip says:

    Another way to check the progress is by using the ‘status= progress’ option ,you will get period updates of the copying process. Also, people like to keep the block size to 1M or 4M instead of the default (512) to speed up the process. You can also use the sync option with the command to tell exactly when dd have finished the job.

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.