[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Add an extra item to the CD faq: write image to USB

Comments please!

Index: CD/faq/index.wml
RCS file: /cvs/webwml/webwml/english/CD/faq/index.wml,v
retrieving revision 1.99
diff -u -p -r1.99 index.wml
--- CD/faq/index.wml	3 Jul 2011 23:04:47 -0000	1.99
+++ CD/faq/index.wml	8 Sep 2011 16:01:11 -0000
@@ -663,6 +663,38 @@ Mac OS X</a> as well.
 # ============================================================
+<toc-add-entry name="write-usb">How do I write a CD image to a USB flash drive?</toc-add-entry>
+<p>Several of the Debian CD and Debian Live images are created using
+<i>isohybrid</i> technology, which means that they may be used in two
+different ways:</p>
+  <li>They may be written to CD/DVD and used as normal for CD/DVD booting.</li>
+  <li>They may be written to USB flash drives, bootable directly from the BIOS of most PCs.</li>
+<p>The most common way to copy an image to a USB flash drive is to use
+the <q>dd</q> command on a Linux machine:</p>
+<p><code>dd if=&lt;file&gt; of=&lt;device&gt; bs=4M; sync</code></p>
+  <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. 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!</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.
+# ============================================================
 <toc-add-entry name="whatlabel">How should I label the

Steve McIntyre, Cambridge, UK.                                steve@einval.com
"I've only once written 'SQL is my bitch' in a comment. But that code 
 is in use on a military site..." -- Simon Booth

Reply to: