aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Henrique <samueloph@debian.org>2023-03-11 19:44:53 +0000
committerSamuel Henrique <samueloph@debian.org>2023-03-11 19:44:53 +0000
commit160f963c9563d9e2ea6e9738885498abbca4bec1 (patch)
tree20444c77c7ca6a18e8456ec65258623d783bf6d2
parent3611c98457c3ce0d8607d32286d201528c37fac5 (diff)
CD/faq/index: Update 'dd' command to use better parameters
-rw-r--r--english/CD/faq/index.wml14
1 files changed, 7 insertions, 7 deletions
diff --git a/english/CD/faq/index.wml b/english/CD/faq/index.wml
index 99f84dc7c67..7bd94a66ece 100644
--- a/english/CD/faq/index.wml
+++ b/english/CD/faq/index.wml
@@ -784,20 +784,20 @@ image to a USB flash drive:</p>
<p>Alternatively you can also use <q>dd</q>:</p>
-<p><code>dd if=&lt;file&gt; of=&lt;device&gt; bs=4M; sync</code></p>
+<p><code>sudo dd if=&lt;file&gt; of=&lt;device&gt bs=16M status=progress oflag=sync</code></p>
<p>where:</p>
<ul>
- <li>&lt;file&gt; is the name of the input image, e.g. <q>netinst.iso</q>
+ <li>&lt;file&gt; is the name of the input image, e.g. <q>netinst.iso</q>.
<li>&lt;device&gt; is the device matching the USB flash drive,
e.g. /dev/sda, /dev/sdb. <em>Be careful to make sure you have the right
device name</em>, as this command is capable of writing over your hard
disk just as easily if you get the wrong one!</li>
- <li><q>bs=4M</q> tells dd to read/write in 4 megabyte chunks for
- better performance; the default is 512 bytes, which will be much
- slower
- <li>The <q>sync</q> is to make sure that all the writes are flushed out
- before the command returns.
+ <li><q>status=progress</q> outputs the current progress of the operation
+ in your terminal.
+ <li><q>oflag=sync</q> flushes the cache so the operation is really
+ finished when the command suceeds, the USB flash drive can be removed
+ right after the command is finished.
</ul>
<p>Additionally to the method above for Linux systems, there is also

© 2014-2024 Faster IT GmbH | imprint | privacy policy