On Mon 21 May 2012 at 00:33:56 +0100, Brian Potkin wrote: > The provision of advice for users on how to write an isohybrid image to > a USB drive under Windows has been discussed previously at: > > http://lists.debian.org/debian-www/2011/09/msg00056.html > > Below are the notes I made when testing four programs with Windows XP > and Vista Home Edition. Apologies for not submitting them as a patch to > the CD FAQ web page but I do not know how to do that.
I do now, so here is one. Maybe it lacks the expert touch but the content is there. I have also altered the 'How do I write . . .' entry names to be reflect the choice of CD/DVD burning and USB writing.
--- index.wml 2012-08-13 12:07:52.000000000 +0100 +++ index-usb-windows.wml 2012-08-14 13:56:04.000000000 +0100 @@ -524,7 +524,7 @@ # ============================================================ -<toc-add-entry name="record-unix">How do I write an ISO image under +<toc-add-entry name="record-unix">How do I write an ISO image to a CD/DVD under Linux/Unix?</toc-add-entry> <p>Note that Debian ISO images for i386 and amd64 are also bootable @@ -589,7 +589,7 @@ # ============================================================ -<toc-add-entry name="record-windows">How do I write an ISO image under +<toc-add-entry name="record-windows">How do I write an ISO image to a CD/DVD under Windows?</toc-add-entry> <p>This might be a little problem, as many Windows programs use @@ -694,7 +694,7 @@ # ============================================================ -<toc-add-entry name="record-mac">How do I write an ISO image under +<toc-add-entry name="record-mac">How do I write an ISO image to a CD/DVD under Mac OS?</toc-add-entry> <p>The <strong>Toast</strong> program for Mac OS is reported to work fine with @@ -714,7 +714,7 @@ # ============================================================ -<toc-add-entry name="write-usb">How do I write a CD image to a USB flash drive?</toc-add-entry> +<toc-add-entry name="write-usb-linux">How do I write an ISO image to a USB flash drive under Linux/Unix?</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 @@ -746,6 +746,87 @@ # ============================================================ +<toc-add-entry name="write-usb-windows">How do I write an ISO image to a +USB flash drive under Windows?</toc-add-entry> + +<p>Flashnul and Win32 Disk Imager do not care how the drive is +partitioned or formatted. UNetbootin and LiLi deal with the ISO in a +different way from these two programs and require a single formatted +FAT16 or FAT32 partition to write the ISO image to.</p> + +<p>A device written to by Flashnul and Win32 Disk Imager is identical to +one written to with the dd command used for Linux. There will space left +on the drive to use as you wish.</p> + +<p>LiLi uses the whole device, adds a file or two of its own to the disk +but boots to the Debian splash screen. UNetbootin also adds files and, +in addition, presents its own menu rather than the Debian one. Some menu +items may not function as intended. Nevertheless, it will boot an +installer ISO.</p> + +<dl> +<dt><strong><a href="http://shounen.ru/soft/flashnul">Flashnul</a></strong></dt> +<dd>Download flashnul-1rc1.zip, unzip the file, obtain a command prompt +with Administrator rights and change to the directory containing +flashnul.exe. There is English and Russian documentation in the same +place and the command</dd> + +<p><dd><code>flashnul --help</code></dd></p> + +<p><dd>will output the options which are available. Without the USB +drive inserted run</dd></p> + +<p><dd><code>flashnul -p</code></dd></p> + +<p><dd>There will be two lists: one for available physical drives and a +second for available logical disks. Insert the USB drive and re-run the +command. This will enable you to identify the index number and drive +letter for the flash device. You almost certainly want the index +number.</dd></p> + +<p><dd>With the Debian ISO in the same directory as the flashnul files +and assuming an index number of 1, write it to the USB drive +with:</dd></p> + +<p><dd><code>flashnul 1 -L debian.iso</code></dd></p> + +<p><dd>You now have a second chance to verify you are writing to the +correct device before typing "yes" because there will about half a +screen of information to check. Actually, prior to writing, you could +also read from the drive with</dd></p> + +<p><dd><code>flashnul 1 -R</code></dd></p> + +<p><dd>and watch for the LED on it flashing.</dd></p> + +<dt><strong><a href="https://launchpad.net/win32-image-writer/">Win32 +Disk Imager</a></strong></dt> <dd>After downloading the binary file, +unzip it and run win32diskimager. Insert the USB storage device. Its +drive letter should now appear under the <i>Device</i> option in the +interface. You can check it is the correct one by reading from the +storage device to a file of your choice and looking for the device's LED +flashing.</dd> + +<p><dd>To write the Debian ISO to the device have <i>Save as type:</i> +as <q>*.*</q>, select the ISO and click on <i>Write</i>.</dd></p> + +<dt><strong><a href="http://www.linuxliveusb.com/">LinuxLive USB +Creator</a></strong></dt> <dd>Download the LiLi installer and execute it +to install its files. Start the program with the USB device inserted and +use your knowledge of its size to guide you in whether it has been +correctly identified. Choose an ISO to write to the drive and, in STEP +4, have only <i>Format the key . . . . </i> ticked.</dd> + +<dt><strong><a href="http://unetbootin.sourceforge.net/">UNetbootin</a></strong></dt> +<dd>Download the Windows package and run it without the USB drive +connected to the machine. Insert the device and change <i>Type:</i> to +<i>Hard Disk</i> and then back to <i>USB Drive</i>. Its drive letter +should now appear in the <i>Drive:</i> box. Select your ISO and +<i>OK</i> it for writing to the drive.</dd> +</dl> + +# ============================================================ + <toc-add-entry name="whatlabel">How should I label the CDs?</toc-add-entry>