LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Do you still use dd to burn ISOs to USB drives ? (https://www.linuxquestions.org/questions/linux-newbie-8/do-you-still-use-dd-to-burn-isos-to-usb-drives-4175698156/)

m.a.l.'s pa 07-27-2021 02:00 PM

Well, I'm gonna stick with what it says in the documentation; and, this is what's been working here:
Quote:

On a Linux machine, simply use the "cp" command, to copy an image to a USB flash drive:

cp <file> <device>

Alternatively you can also use "dd":

dd if=<file> of=<device> bs=4M; sync

where:

<file> is the name of the input image, e.g. "netinst.iso"
<device> is the device matching the USB flash drive, e.g. /dev/sda, /dev/sdb. Be careful to make sure you have the right device name, as this command is capable of writing over your hard disk just as easily if you get the wrong one!
"bs=4M" tells dd to read/write in 4 megabyte chunks for better performance; the default is 512 bytes, which will be much slower
The "sync" is to make sure that all the writes are flushed out before the command returns.
https://www.debian.org/CD/faq/#write-usb


And:

Quote:

The CD or DVD image you choose should be written directly to the USB stick, overwriting its current contents. For example, when using an existing GNU/Linux system, the CD or DVD image file can be written to a USB stick as follows, after having made sure that the stick is unmounted:

# cp debian.iso /dev/sdX
# sync
https://www.debian.org/releases/stab...h04s03.en.html


All times are GMT -5. The time now is 05:42 AM.