Add pre-installation tasks relative to the USB memstick. Inform the

reader that installation floppies are no longer available for 8.X and
above.

PR:		docs/147347 and docs/149230
Patch submitted by:	Glen Barber <glen.j.barber@gmail.com>
This commit is contained in:
Marc Fonvieille 2010-08-07 08:53:39 +00:00
parent a4fd06c779
commit 34d4f8edeb
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=36185

View file

@ -629,6 +629,10 @@ pqb0.0.1.4.0 PQB0 PCI EIDE</screen>
<para>A CDROM or DVD</para>
</listitem>
<listitem>
<para>A USB Memory Stick</para>
</listitem>
<listitem>
<para>A DOS partition on the same computer</para>
</listitem>
@ -679,7 +683,7 @@ pqb0.0.1.4.0 PQB0 PCI EIDE</screen>
the operating system installed on your hard disk, but it can also be
configured to use a <quote>bootable</quote> floppy disk.
Most modern computers can also
boot from a CDROM in the CDROM drive.</para>
boot from a CDROM in the CDROM drive or from a USB disk.</para>
<tip>
<para>If you have FreeBSD on CDROM or DVD (either one you purchased
@ -690,12 +694,86 @@ pqb0.0.1.4.0 PQB0 PCI EIDE</screen>
FreeBSD without any other special preparation.</para>
</tip>
<para>To create a bootable memory stick, follow these
steps:</para>
<procedure>
<step>
<title>Acquire the Memory Stick Image</title>
<para>The memory stick image can be downloaded from the
<filename class="directory">ISO-IMAGES/</filename>
directory from
<literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/<replaceable>&lt;arch&gt;</replaceable>/ISO-IMAGES/<replaceable>&lt;version&gt;</replaceable>/&os;-&rel.current;-RELEASE-&lt;arch&gt;-memstick.img</literal>.
Replace <replaceable>&lt;arch&gt;</replaceable> and
<replaceable>&lt;version&gt;</replaceable> with the
architecture and the version number which you want to
install, respectively. For example, the memory stick
images for &os;/&arch.i386;&nbsp;&rel.current;-RELEASE are
available from <ulink
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/&arch.i386;/ISO-IMAGES/&rel.current;/&os;-&rel.current;-RELEASE-&arch.i386;-memstick.img"></ulink>.</para>
<para>The memory stick image has a <filename>.img</filename>
extension. The <filename
class="directory">ISO-IMAGES/</filename> directory
contains a number of different images, and the one you
will need to use will depend on the version of &os; you
are installing, and in some cases, the hardware you are
installing to.</para>
<important>
<para>Before proceeding, <emphasis>back up</emphasis> the
data you currently have on your USB stick, as this
procedure will <emphasis>erase</emphasis> it.</para>
</important>
</step>
<step>
<title>Prepare the Memory Stick</title>
<warning>
<para>The example below lists
<filename>/dev/da0</filename> as the target device from
which you will be booting. Be very careful that you
have the correct device as the output target, or you may
destroy your existing data.</para>
</warning>
<para>Set the <literal>kern.geom.debugflags</literal> sysctl
to be able to write a master boot record to the target
device.</para>
<screen><userinput>&prompt.root; sysctl kern.geom.debugflags=16</userinput></screen>
</step>
<step>
<title>Write the Image File to the Memory Stick</title>
<para>The <filename>.img</filename> file is
<emphasis>not</emphasis> a regular file you copy to the
memory stick. It is an image of the complete contents of
the disk. This means that you <emphasis>cannot</emphasis>
simply copy files from one disk to another. Instead, you
must use &man.dd.1; to write the image directly to the
disk:</para>
<screen>&prompt.root; <userinput>dd if=&rel.current;-RELEASE-&arch.i386;-memstick.img of=/dev/<replaceable>da0</replaceable> bs=64k</userinput></screen>
</step>
</procedure>
<para>To create boot floppy images, follow these steps:</para>
<procedure>
<step>
<title>Acquire the Boot Floppy Images</title>
<important>
<para>Please note, as of &os; 8.0, floppy disk images are
no longer available. Please see above for instructions
on how to install &os; using a USB memory stick or just
use a CDROM or a DVD.</para>
</important>
<para>The boot disks are available on your installation media
in the <filename>floppies/</filename> directory, and
can also be downloaded from the floppies directory, <literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/<replaceable>&lt;arch&gt;</replaceable>/<replaceable>&lt;version&gt;</replaceable>-RELEASE/floppies/</literal>.
@ -704,8 +782,8 @@ pqb0.0.1.4.0 PQB0 PCI EIDE</screen>
with the architecture and the version number
which you want to install, respectively.
For example, the boot floppy images for
&os;/&arch.i386;&nbsp;&rel.current;-RELEASE are available
from <ulink url="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE/floppies/"></ulink>.</para>
&os;/&arch.i386;&nbsp;&rel2.current;-RELEASE are available
from <ulink url="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel2.current;-RELEASE/floppies/"></ulink>.</para>
<para>The floppy images have a <filename>.flp</filename> extension.
The <filename>floppies/</filename> directory contains a number of