summaryrefslogtreecommitdiff
path: root/nl/install-methods/create-floppy.xml
blob: a14602dac4208cf4f23d7f23988e9a22b01b0b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!-- retain these comments for translator revision tracking -->
<!-- original version: 45453 untranslated -->

 <sect1 condition="supports-floppy-boot" id="create-floppy">
 <title>Creating Floppies from Disk Images</title>
<para>

Bootable floppy disks are generally used as a last resort to boot the
installer on hardware that cannot boot from CD or by other means.

</para><para arch="powerpc">

Booting the installer from floppy disk reportedly fails on Mac USB
floppy drives.

</para><para arch="m68k">

Booting the installer from floppy disk is not supported on Amigas or
68k Macs.

</para><para>

Disk images are files containing the complete contents of a floppy
disk in <emphasis>raw</emphasis> form.  Disk images, such as
<filename>boot.img</filename>, cannot simply be copied to floppy
drives.  A special program is used to write the image files to floppy
disk in <emphasis>raw</emphasis> mode.  This is required because these
images are raw representations of the disk; it is required to do a
<emphasis>sector copy</emphasis> of the data from the file onto the
floppy.

</para><para>

There are different techniques for creating floppies from disk images.
This section describes how to create floppies from disk images on
different platforms.

</para><para>

Before you can create the floppies, you will first need to download them
from one of the Debian mirrors, as explained in
<xref linkend="downloading-files"/>. <phrase arch="i386">If you already
have an installation CD-ROM or DVD, the floppy images may also be included
on the CD/DVD.</phrase>

</para><para>

No matter which method you use to create your floppies, you should
remember to flip the write-protect tab on the floppies once you have
written them, to ensure they are not damaged unintentionally.

</para>

  <sect2><title>Writing Disk Images From a Linux or Unix System</title>
<para>

To write the floppy disk image files to the floppy disks, you will
probably need root access to the system.  Place a good, blank floppy
in the floppy drive.  Next, use the command

<informalexample><screen>
$ dd if=<replaceable>filename</replaceable> of=/dev/fd0 bs=1024 conv=sync ; sync
</screen></informalexample>

where <replaceable>filename</replaceable> is one of the floppy disk image
files.
<filename>/dev/fd0</filename> is a commonly used name of the floppy
disk device, it may be different on your workstation<phrase arch="sparc">
(on Solaris, it is <filename>/dev/fd/0</filename>)</phrase>.
The command may return to the
prompt before Unix has finished writing the floppy disk, so look for
the disk-in-use light on the floppy drive and be sure that the light
is out and the disk has stopped revolving before you remove it from
the drive. On some systems, you'll have to run a command to eject the
floppy from the drive <phrase arch="sparc"> (on Solaris, use
<command>eject</command>, see the manual page)</phrase>.

</para><para>

Some systems attempt to automatically mount a floppy disk when you
place it in the drive. You might have to disable this feature before
the workstation will allow you to write a floppy in <emphasis>raw
mode</emphasis>.  Unfortunately, how to accomplish this will vary
based on your operating system.
<phrase arch="sparc">
On Solaris, you can work around
volume management to get raw access to the floppy.  First, make sure
that the floppy is auto-mounted (using <command>volcheck</command> or
the equivalent command in the file manager). Then use a
<command>dd</command> command of the form given above, just replace
<filename>/dev/fd0</filename> with
<filename>/vol/rdsk/<replaceable>floppy_name</replaceable></filename>,
where <replaceable>floppy_name</replaceable> is the name the floppy
disk was given when it was formatted (unnamed floppies default to the
name <filename>unnamed_floppy</filename>).  On other systems, ask your
system administrator.
</phrase>

</para><para arch="powerpc">

If writing a floppy on powerpc Linux, you will need to eject it. The
<command>eject</command> program handles this nicely; you might need
to install it.

</para>

  </sect2>

&floppy-i386.xml; <!-- can be used for other arches -->
&floppy-m68k.xml;
&floppy-powerpc.xml;

 </sect1>