How to create bootable USB drive using dd command

7 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.

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.