~qbalazs/installation-guide/lp1030336

« back to all changes in this revision

Viewing changes to da/install-methods/create-floppy.xml

  • Committer: joeyh
  • Date: 2005-10-07 19:51:38 UTC
  • Revision ID: vcs-imports@canonical.com-20051007195138-c3d57b2617a79a4f
move manual to top-level directory, split out of debian-installer package

Show diffs side-by-side

added added

removed removed

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