| 1 |
<!-- retain these comments for translator revision tracking -->
|
| 2 |
<!-- $Id$ -->
|
| 3 |
|
| 4 |
<sect1 condition="supports-floppy-boot" id="create-floppy">
|
| 5 |
<title>Creating Floppies from Disk Images</title>
|
| 6 |
<para>
|
| 7 |
|
| 8 |
Bootable floppy disks are generally used as a last resort to boot the
|
| 9 |
installer on hardware that cannot boot from CD or by other means.
|
| 10 |
|
| 11 |
</para><para arch="powerpc">
|
| 12 |
|
| 13 |
Booting the installer from floppy disk reportedly fails on Mac USB
|
| 14 |
floppy drives.
|
| 15 |
|
| 16 |
</para><para>
|
| 17 |
|
| 18 |
Disk images are files containing the complete contents of a floppy
|
| 19 |
disk in <emphasis>raw</emphasis> form. Disk images, such as
|
| 20 |
<filename>boot.img</filename>, cannot simply be copied to floppy
|
| 21 |
drives. A special program is used to write the image files to floppy
|
| 22 |
disk in <emphasis>raw</emphasis> mode. This is required because these
|
| 23 |
images are raw representations of the disk; it is required to do a
|
| 24 |
<emphasis>sector copy</emphasis> of the data from the file onto the
|
| 25 |
floppy.
|
| 26 |
|
| 27 |
</para><para>
|
| 28 |
|
| 29 |
There are different techniques for creating floppies from disk images.
|
| 30 |
This section describes how to create floppies from disk images on
|
| 31 |
different platforms.
|
| 32 |
|
| 33 |
</para><para>
|
| 34 |
|
| 35 |
Before you can create the floppies, you will first need to download them
|
| 36 |
from one of the Debian mirrors, as explained in
|
| 37 |
<xref linkend="downloading-files"/>. <phrase arch="i386">If you already
|
| 38 |
have an installation CD-ROM or DVD, the floppy images may also be included
|
| 39 |
on the CD/DVD.</phrase>
|
| 40 |
|
| 41 |
</para><para>
|
| 42 |
|
| 43 |
No matter which method you use to create your floppies, you should
|
| 44 |
remember to flip the write-protect tab on the floppies once you have
|
| 45 |
written them, to ensure they are not damaged unintentionally.
|
| 46 |
|
| 47 |
</para>
|
| 48 |
|
| 49 |
<sect2><title>Writing Disk Images From a Linux or Unix System</title>
|
| 50 |
<para>
|
| 51 |
|
| 52 |
To write the floppy disk image files to the floppy disks, you will
|
| 53 |
probably need root access to the system. Place a good, blank floppy
|
| 54 |
in the floppy drive. Next, use the command
|
| 55 |
|
| 56 |
<informalexample><screen>
|
| 57 |
$ dd if=<replaceable>filename</replaceable> of=/dev/fd0 bs=1024 conv=sync ; sync
|
| 58 |
</screen></informalexample>
|
| 59 |
|
| 60 |
where <replaceable>filename</replaceable> is one of the floppy disk image
|
| 61 |
files.
|
| 62 |
<filename>/dev/fd0</filename> is a commonly used name of the floppy
|
| 63 |
disk device, it may be different on your workstation<phrase arch="sparc">
|
| 64 |
(on Solaris, it is <filename>/dev/fd/0</filename>)</phrase>.
|
| 65 |
The command may return to the
|
| 66 |
prompt before Unix has finished writing the floppy disk, so look for
|
| 67 |
the disk-in-use light on the floppy drive and be sure that the light
|
| 68 |
is out and the disk has stopped revolving before you remove it from
|
| 69 |
the drive. On some systems, you'll have to run a command to eject the
|
| 70 |
floppy from the drive <phrase arch="sparc"> (on Solaris, use
|
| 71 |
<command>eject</command>, see the manual page)</phrase>.
|
| 72 |
|
| 73 |
</para><para>
|
| 74 |
|
| 75 |
Some systems attempt to automatically mount a floppy disk when you
|
| 76 |
place it in the drive. You might have to disable this feature before
|
| 77 |
the workstation will allow you to write a floppy in <emphasis>raw
|
| 78 |
mode</emphasis>. Unfortunately, how to accomplish this will vary
|
| 79 |
based on your operating system.
|
| 80 |
<phrase arch="sparc">
|
| 81 |
On Solaris, you can work around
|
| 82 |
volume management to get raw access to the floppy. First, make sure
|
| 83 |
that the floppy is auto-mounted (using <command>volcheck</command> or
|
| 84 |
the equivalent command in the file manager). Then use a
|
| 85 |
<command>dd</command> command of the form given above, just replace
|
| 86 |
<filename>/dev/fd0</filename> with
|
| 87 |
<filename>/vol/rdsk/<replaceable>floppy_name</replaceable></filename>,
|
| 88 |
where <replaceable>floppy_name</replaceable> is the name the floppy
|
| 89 |
disk was given when it was formatted (unnamed floppies default to the
|
| 90 |
name <filename>unnamed_floppy</filename>). On other systems, ask your
|
| 91 |
system administrator.
|
| 92 |
</phrase>
|
| 93 |
|
| 94 |
</para><para arch="powerpc">
|
| 95 |
|
| 96 |
If writing a floppy on powerpc Linux, you will need to eject it. The
|
| 97 |
<command>eject</command> program handles this nicely; you might need
|
| 98 |
to install it.
|
| 99 |
|
| 100 |
</para>
|
| 101 |
|
| 102 |
</sect2>
|
| 103 |
|
| 104 |
&floppy-i386.xml; <!-- can be used for other arches -->
|
| 105 |
&floppy-powerpc.xml;
|
| 106 |
|
| 107 |
</sect1>
|
| 108 |
|