Editorial review of Allocating Disk Space and Committing to the Install
sections. Ignore Designing the Partition Layout for now as it belongs elsewhere. Sponsored by: iXsystems
This commit is contained in:
parent
70e133e25c
commit
14d6beeca2
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44901
1 changed files with 155 additions and 159 deletions
|
@ -891,9 +891,9 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
<para>This section shows the order of the
|
<para>This section shows the order of the
|
||||||
<application>bsdinstall</application> menus and the type of
|
<application>bsdinstall</application> menus and the type of
|
||||||
information that will be asked before the system is installed.
|
information that will be asked before the system is installed.
|
||||||
Use the up and down arrows to highlight a menu option, then the
|
Use the arrow keys to highlight a menu option, then the
|
||||||
<keycap>Space</keycap> key to select or deselect a menu item.
|
<keycap>Space</keycap> key to select or deselect that menu item.
|
||||||
Then, use <keycap>Enter</keycap> to save the selection and move
|
When finished, use <keycap>Enter</keycap> to save the selection and move
|
||||||
onto the next screen.</para>
|
onto the next screen.</para>
|
||||||
|
|
||||||
<sect2 xml:id="bsdinstall-keymap">
|
<sect2 xml:id="bsdinstall-keymap">
|
||||||
|
@ -1007,7 +1007,7 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
<para>Deciding which components to install will depend largely
|
<para>Deciding which components to install will depend largely
|
||||||
on the intended use of the system and the amount of disk space
|
on the intended use of the system and the amount of disk space
|
||||||
available. The &os; kernel and userland, collectively known
|
available. The &os; kernel and userland, collectively known
|
||||||
as the <quote>base system</quote>, are always installed.
|
as the <firstterm>base system</firstterm>, are always installed.
|
||||||
Depending on the architecture, some of these components may
|
Depending on the architecture, some of these components may
|
||||||
not appear:</para>
|
not appear:</para>
|
||||||
|
|
||||||
|
@ -1036,15 +1036,10 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><literal>ports</literal> - The &os; Ports
|
<para><literal>ports</literal> - The &os; Ports
|
||||||
Collection.</para>
|
Collection is a collection of files which automates the
|
||||||
|
|
||||||
<para>The ports collection is an easy and convenient way to
|
|
||||||
install software. The Ports Collection does not contain
|
|
||||||
the source code necessary to compile the software.
|
|
||||||
Instead, it is a collection of files which automates the
|
|
||||||
downloading, compiling and installation of third-party
|
downloading, compiling and installation of third-party
|
||||||
software packages. <xref linkend="ports"/> discusses how
|
software packages. <xref linkend="ports"/> discusses how
|
||||||
to use the ports collection.</para>
|
to use the Ports Collection.</para>
|
||||||
|
|
||||||
<warning>
|
<warning>
|
||||||
<para>The installation program does not check for
|
<para>The installation program does not check for
|
||||||
|
@ -1056,30 +1051,29 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><literal>src</literal> - System source code.</para>
|
<para><literal>src</literal> - The complete &os; source code for both the kernel
|
||||||
|
|
||||||
<para>&os; comes with full source code for both the kernel
|
|
||||||
and the userland. Although not required for the majority
|
and the userland. Although not required for the majority
|
||||||
of applications, it may be required to build certain
|
of applications, it may be required to build
|
||||||
software supplied as source (for example, device drivers
|
device drivers, kernel modules, or some applications from
|
||||||
or kernel modules), or for developing &os; itself.</para>
|
the Ports Collection. It is also used for developing &os;
|
||||||
|
itself. The full source tree requires 1 GB of disk space
|
||||||
<para>The full source tree requires 1 GB of disk space,
|
|
||||||
and recompiling the entire &os; system requires an
|
and recompiling the entire &os; system requires an
|
||||||
additional 5 GB of space.</para>
|
additional 5 GB of space.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1 xml:id="bsdinstall-netinstall">
|
<sect2 xml:id="bsdinstall-netinstall">
|
||||||
<title>Installing from the Network</title>
|
<title>Installing from the Network</title>
|
||||||
|
|
||||||
<para>The <emphasis>bootonly</emphasis> installation media does
|
<para>The menu shown in <xref
|
||||||
not hold copies of the installation files. When a
|
linkend="bsdinstall-netinstall-notify"/> only appears when
|
||||||
<emphasis>bootonly</emphasis> installation method is used, the
|
installing from a <filename>-bootonly.iso</filename>
|
||||||
files must be retrieved over a network connection as they are
|
<acronym>CD</acronym> as this installation media does
|
||||||
needed.</para>
|
not hold copies of the installation files. Since the installation
|
||||||
|
files must be retrieved over a network connection, this menu
|
||||||
|
indicates that the network interface must be first
|
||||||
|
configured.</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-netinstall-notify">
|
<figure xml:id="bsdinstall-netinstall-notify">
|
||||||
<title>Installing from the Network</title>
|
<title>Installing from the Network</title>
|
||||||
|
@ -1092,13 +1086,14 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>After the network connection has been configured as shown in
|
<para>To configure the network connection, press
|
||||||
<xref linkend="bsdinstall-config-network-dev"/>, a mirror site
|
<keycap>Enter</keycap> and follow the instructions in
|
||||||
is selected. Mirror sites cache copies of the &os; files.
|
<xref linkend="bsdinstall-config-network-dev"/>. Once the
|
||||||
Choose a mirror site located in the same region of the world as
|
interface is configured, select a mirror site that is
|
||||||
|
located in the same region of the world as
|
||||||
the computer on which &os; is being installed. Files can be
|
the computer on which &os; is being installed. Files can be
|
||||||
retrieved more quickly when the mirror is close to the target
|
retrieved more quickly when the mirror is close to the target
|
||||||
computer, and installation time will be reduced.</para>
|
computer, reducing installation time.</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-netinstall-mirror">
|
<figure xml:id="bsdinstall-netinstall-mirror">
|
||||||
<title>Choosing a Mirror</title>
|
<title>Choosing a Mirror</title>
|
||||||
|
@ -1111,26 +1106,20 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>Installation will continue as if the installation files
|
<para>Installation will then continue as if the installation files
|
||||||
were located on local media.</para>
|
were located on the local installation media.</para>
|
||||||
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 xml:id="bsdinstall-partitioning">
|
<sect1 xml:id="bsdinstall-partitioning">
|
||||||
<title>Allocating Disk Space</title>
|
<title>Allocating Disk Space</title>
|
||||||
|
|
||||||
<para>There are four ways to allocate disk space for &os;.
|
<para>The next menu is used to determine the method for
|
||||||
<emphasis>Guided</emphasis> partitioning automatically sets up
|
allocating disk space. The options available in the menu
|
||||||
disk partitions, while <emphasis>Manual</emphasis> partitioning
|
depend upon the version of &os; being installed.</para>
|
||||||
allows advanced users to create customized partitions. The
|
|
||||||
<acronym>ZFS</acronym> option, only available in &os; 10 and
|
|
||||||
later, will create an optionally encrypted root-on-ZFS system
|
|
||||||
with support for Boot Environments. Finally, there's the option
|
|
||||||
of starting a shell where command-line programs like
|
|
||||||
&man.gpart.8;, &man.fdisk.8;, and &man.bsdlabel.8; can be used
|
|
||||||
directly.</para>
|
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-part-guided-manual">
|
<figure xml:id="bsdinstall-part-guided-manual">
|
||||||
<title>Selecting Guided, Manual or Shell Partitioning</title>
|
<title>Partitioning Choices on &os; 9.x</title>
|
||||||
|
|
||||||
<mediaobject>
|
<mediaobject>
|
||||||
<imageobject>
|
<imageobject>
|
||||||
|
@ -1141,8 +1130,7 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-zfs-partmenu">
|
<figure xml:id="bsdinstall-zfs-partmenu">
|
||||||
<title>Selecting Guided, Manual, Shell or
|
<title>Partitioning Choices on &os; 10.x and Higher</title>
|
||||||
<acronym>ZFS</acronym> Partitioning</title>
|
|
||||||
|
|
||||||
<mediaobject>
|
<mediaobject>
|
||||||
<imageobject>
|
<imageobject>
|
||||||
|
@ -1151,9 +1139,19 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
|
<para><literal>Guided</literal> partitioning automatically sets up
|
||||||
|
the disk partitions, <literal>Manual</literal> partitioning
|
||||||
|
allows advanced users to create customized partitions from menu
|
||||||
|
options, and <literal>Shell</literal> opens a shell prompt where
|
||||||
|
advanced users can create customized partitions using
|
||||||
|
command-line utilities like &man.gpart.8;, &man.fdisk.8;, and &man.bsdlabel.8;.
|
||||||
|
<literal>ZFS</literal> partitioning, only available in &os; 10 and
|
||||||
|
later, creates an optionally encrypted root-on-ZFS system
|
||||||
|
with support for <firstterm>boot environments</firstterm>.</para>
|
||||||
|
|
||||||
<para>This section describes what to consider when laying out the
|
<para>This section describes what to consider when laying out the
|
||||||
disk partitions. It then demonstrates how to use both the
|
disk partitions. It then demonstrates how to use the different
|
||||||
Guided Partitioning and Manual Partitioning screens.</para>
|
partitioning methods.</para>
|
||||||
|
|
||||||
<sect2 xml:id="configtuning-initial">
|
<sect2 xml:id="configtuning-initial">
|
||||||
<title>Designing the Partition Layout</title>
|
<title>Designing the Partition Layout</title>
|
||||||
|
@ -1252,7 +1250,8 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
<sect2 xml:id="bsdinstall-part-guided">
|
<sect2 xml:id="bsdinstall-part-guided">
|
||||||
<title>Guided Partitioning</title>
|
<title>Guided Partitioning</title>
|
||||||
|
|
||||||
<para>If multiple disks are connected, choose the one where &os;
|
<para>When this method is selected, a menu will display the
|
||||||
|
available disk(s). If multiple disks are connected, choose the one where &os;
|
||||||
is to be installed.</para>
|
is to be installed.</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-part-guided-disk">
|
<figure xml:id="bsdinstall-part-guided-disk">
|
||||||
|
@ -1266,13 +1265,14 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>The entire disk or a portion of it can be allocated to
|
<para>Once the disk is selected, the next menu prompts to install
|
||||||
&os;. If
|
to either the entire disk or to create a partition using free space.
|
||||||
|
If
|
||||||
<guibutton>[ Entire Disk ]</guibutton> is
|
<guibutton>[ Entire Disk ]</guibutton> is
|
||||||
chosen, a general partition layout filling the whole disk is
|
chosen, a general partition layout filling the whole disk is
|
||||||
created. Selecting
|
automatically created. Selecting
|
||||||
<guibutton>[ Partition ]</guibutton> creates a
|
<guibutton>[ Partition ]</guibutton> creates a
|
||||||
partition layout in unused space on the disk.</para>
|
partition layout from the unused space on the disk.</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-part-entire-part">
|
<figure xml:id="bsdinstall-part-entire-part">
|
||||||
<title>Selecting Entire Disk or Partition</title>
|
<title>Selecting Entire Disk or Partition</title>
|
||||||
|
@ -1285,12 +1285,12 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>After the partition layout has been created, review it
|
<para>After the partition layout has been created, review it to
|
||||||
carefully for accuracy. If a mistake has been made, selecting
|
ensure it meets the needs of the installation. Selecting
|
||||||
<guibutton>[ Revert ]</guibutton> will reset the
|
<guibutton>[ Revert ]</guibutton> will reset the
|
||||||
partitions as they were previously, or
|
partitions to their original values and pressing
|
||||||
<guibutton>[ Auto ]</guibutton> will recreate the
|
<guibutton>[ Auto ]</guibutton> will recreate the
|
||||||
automatic &os; partitions. Partitions can be manually
|
automatic &os; partitions. Partitions can also be manually
|
||||||
created, modified, or deleted. When the partitioning is
|
created, modified, or deleted. When the partitioning is
|
||||||
correct, select <guibutton>[ Finish ]</guibutton> to
|
correct, select <guibutton>[ Finish ]</guibutton> to
|
||||||
continue with the installation.</para>
|
continue with the installation.</para>
|
||||||
|
@ -1309,8 +1309,8 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
<sect2 xml:id="bsdinstall-part-manual">
|
<sect2 xml:id="bsdinstall-part-manual">
|
||||||
<title>Manual Partitioning</title>
|
<title>Manual Partitioning</title>
|
||||||
|
|
||||||
<para>Manual partitioning goes straight to the partition
|
<para>Selecting this method opens the partition
|
||||||
editor.</para>
|
editor:</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-part-manual-create">
|
<figure xml:id="bsdinstall-part-manual-create">
|
||||||
<title>Manually Create Partitions</title>
|
<title>Manually Create Partitions</title>
|
||||||
|
@ -1323,11 +1323,10 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>Highlighting a drive (<filename>ada0</filename> in this
|
<para>Highlight the installation drive (<filename>ada0</filename> in this
|
||||||
example) and selecting
|
example) and select
|
||||||
<guibutton>[ Create ]</guibutton> displays a menu
|
<guibutton>[ Create ]</guibutton> to display a menu
|
||||||
for choosing the type of <emphasis>partitioning
|
of available partition schemes:</para>
|
||||||
scheme</emphasis>.</para>
|
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-part-manual-partscheme">
|
<figure xml:id="bsdinstall-part-manual-partscheme">
|
||||||
<title>Manually Create Partitions</title>
|
<title>Manually Create Partitions</title>
|
||||||
|
@ -1340,12 +1339,12 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para><acronym>GPT</acronym> partitioning is usually the most
|
<para><acronym>GPT</acronym> is usually the most
|
||||||
appropriate choice for PC-compatible computers. Older PC
|
appropriate choice for &arch.amd64; computers. Older computers
|
||||||
operating systems that are not compatible with
|
that are not compatible with
|
||||||
<acronym>GPT</acronym> may require <acronym>MBR</acronym>
|
<acronym>GPT</acronym> should use <acronym>MBR</acronym>.
|
||||||
partitioning instead. The other partitioning schemes are
|
The other partition schemes are
|
||||||
generally used for uncommon or older computer systems.</para>
|
generally used for uncommon or older computers.</para>
|
||||||
|
|
||||||
<table frame="none" rowsep="1" pgwide="1">
|
<table frame="none" rowsep="1" pgwide="1">
|
||||||
<title>Partitioning Schemes</title>
|
<title>Partitioning Schemes</title>
|
||||||
|
@ -1361,16 +1360,15 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
<tbody>
|
<tbody>
|
||||||
<row>
|
<row>
|
||||||
<entry>APM</entry>
|
<entry>APM</entry>
|
||||||
<entry>Apple Partition Map, used by &powerpc;
|
<entry>Apple Partition Map, used by &powerpc;.</entry>
|
||||||
&macintosh; (<link
|
|
||||||
xlink:href="http://support.apple.com/kb/TA21692">http://support.apple.com/kb/TA21692</link>).</entry>
|
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry>BSD</entry>
|
<entry>BSD</entry>
|
||||||
<entry>BSD Labels without an MBR, sometimes called
|
<entry><acronym>BSD</acronym> label without an
|
||||||
<quote>dangerously dedicated mode</quote>. See
|
<acronym>MBR</acronym>, sometimes called
|
||||||
&man.bsdlabel.8;.</entry>
|
<firstterm>dangerously dedicated mode</firstterm> as
|
||||||
|
non-<acronym>BSD</acronym> disk utilities may not recognize it.</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
|
@ -1387,7 +1385,7 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry>PC98</entry>
|
<entry>PC98</entry>
|
||||||
<entry>MBR ariant used by NEC PC-98 computers (<link
|
<entry><acronym>MBR</acronym> variant used by NEC PC-98 computers (<link
|
||||||
xlink:href="http://en.wikipedia.org/wiki/Pc9801">http://en.wikipedia.org/wiki/Pc9801</link>).</entry>
|
xlink:href="http://en.wikipedia.org/wiki/Pc9801">http://en.wikipedia.org/wiki/Pc9801</link>).</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
@ -1401,8 +1399,8 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<para>After the partitioning scheme has been selected and
|
<para>After the partitioning scheme has been selected and
|
||||||
created, selecting <guibutton>[ Create ]</guibutton>
|
created, select <guibutton>[ Create ]</guibutton>
|
||||||
again will create new partitions.</para>
|
again to create the partitions.</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-part-manual-addpart">
|
<figure xml:id="bsdinstall-part-manual-addpart">
|
||||||
<title>Manually Create Partitions</title>
|
<title>Manually Create Partitions</title>
|
||||||
|
@ -1419,15 +1417,13 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
at least three partitions:</para>
|
at least three partitions:</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<title>Standard &os; <acronym>GPT</acronym> Partitions</title>
|
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><literal>freebsd-boot</literal> - &os; boot
|
<para><literal>freebsd-boot</literal> - Holds the &os; boot
|
||||||
code.</para>
|
code.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><literal>freebsd-ufs</literal> - A &os; UFS file
|
<para><literal>freebsd-ufs</literal> - A &os; <acronym>UFS</acronym> file
|
||||||
system.</para>
|
system.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
@ -1439,48 +1435,48 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
|
|
||||||
<para>Another partition type worth noting is
|
<para>Another partition type worth noting is
|
||||||
<literal>freebsd-zfs</literal>, used for partitions that will
|
<literal>freebsd-zfs</literal>, used for partitions that will
|
||||||
contain a &os; <acronym>ZFS</acronym> file system. <xref
|
contain a &os; <acronym>ZFS</acronym> file system (<xref
|
||||||
linkend="filesystems-zfs"/>. &man.gpart.8; shows more of
|
linkend="filesystems-zfs"/>). Refer to &man.gpart.8; for descriptions of
|
||||||
the available <acronym>GPT</acronym> partition types.</para>
|
the available <acronym>GPT</acronym> partition types.</para>
|
||||||
|
|
||||||
<para>Multiple file system partitions can be used, and some
|
<para>Multiple file system partitions can be created and some
|
||||||
people may prefer a traditional layout with separate
|
people prefer a traditional layout with separate
|
||||||
partitions for the <filename>/</filename>,
|
partitions for the <filename>/</filename>,
|
||||||
<filename>/var</filename>, <filename>/tmp</filename>, and
|
<filename>/var</filename>, <filename>/tmp</filename>, and
|
||||||
<filename>/usr</filename> file systems. See <xref
|
<filename>/usr</filename> file systems. See <xref
|
||||||
linkend="bsdinstall-part-manual-splitfs"/> for an
|
linkend="bsdinstall-part-manual-splitfs"/> for an
|
||||||
example.</para>
|
example.</para>
|
||||||
|
|
||||||
<para>Size may be entered with common abbreviations:
|
<para>The <literal>Size</literal> may be entered with common abbreviations:
|
||||||
<emphasis>K</emphasis> for kilobytes, <emphasis>M</emphasis>
|
<emphasis>K</emphasis> for kilobytes, <emphasis>M</emphasis>
|
||||||
for megabytes, or <emphasis>G</emphasis> for gigabytes.</para>
|
for megabytes, or <emphasis>G</emphasis> for gigabytes.</para>
|
||||||
|
|
||||||
<tip>
|
<tip>
|
||||||
<para>Proper sector alignment provides the best performance,
|
<para>Proper sector alignment provides the best performance,
|
||||||
and making partition sizes even multiples of 4K bytes helps
|
and making partition sizes even multiples of 4K-bytes helps
|
||||||
to ensure alignment on drives with either 512-byte or
|
to ensure alignment on drives with either 512-byte or
|
||||||
4K-byte sectors. Generally, using partition sizes that are
|
4K-byte sectors. Generally, using partition sizes that are
|
||||||
even multiples of 1M or 1G is the easiest way to make sure
|
even multiples of 1M or 1G is the easiest way to make sure
|
||||||
every partition starts at an even multiple of 4K. One
|
every partition starts at an even multiple of 4K. There is one
|
||||||
exception: at present, the <emphasis>freebsd-boot</emphasis>
|
exception: the <emphasis>freebsd-boot</emphasis>
|
||||||
partition should be no larger than 512K due to boot code
|
partition should be no larger than 512K due to current boot code
|
||||||
limitations.</para>
|
limitations.</para>
|
||||||
</tip>
|
</tip>
|
||||||
|
|
||||||
<para>A mountpoint is needed if this partition will contain a
|
<para>A <literal>Mountpoint</literal> is needed if the partition will contain a
|
||||||
file system. If only a single UFS partition will be created,
|
file system. If only a single <acronym>UFS</acronym> partition will be created,
|
||||||
the mountpoint should be <filename>/</filename>.</para>
|
the mountpoint should be <filename>/</filename>.</para>
|
||||||
|
|
||||||
<para>A <emphasis>label</emphasis> is also requested. A label
|
<para>The <literal>Label</literal> is
|
||||||
is a name by which this partition will be known. Drive
|
a name by which the partition will be known. Drive
|
||||||
names or numbers can change if the drive is connected to
|
names or numbers can change if the drive is connected to
|
||||||
a different controller or port, but the partition label does
|
a different controller or port, but the partition label does
|
||||||
not change. Referring to labels instead of drive names
|
not change. Referring to labels instead of drive names
|
||||||
and partition numbers in files like
|
and partition numbers in files like
|
||||||
<filename>/etc/fstab</filename> makes the system more tolerant
|
<filename>/etc/fstab</filename> makes the system more tolerant
|
||||||
of changing hardware. GPT labels appear in
|
to hardware changes. <acronym>GPT</acronym> labels appear in
|
||||||
<filename>/dev/gpt/</filename> when a disk is attached. Other
|
<filename>/dev/gpt/</filename> when a disk is attached. Other
|
||||||
partitioning schemes have different label capabilities, and
|
partitioning schemes have different label capabilities and
|
||||||
their labels appear in different directories in
|
their labels appear in different directories in
|
||||||
<filename>/dev/</filename>.</para>
|
<filename>/dev/</filename>.</para>
|
||||||
|
|
||||||
|
@ -1488,9 +1484,9 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
<para>Use a unique label on every file system to avoid
|
<para>Use a unique label on every file system to avoid
|
||||||
conflicts from identical labels. A few letters from the
|
conflicts from identical labels. A few letters from the
|
||||||
computer's name, use, or location can be added to the label.
|
computer's name, use, or location can be added to the label.
|
||||||
For instance, <literal>labroot</literal> or
|
For instance, use <literal>labroot</literal> or
|
||||||
<literal>rootfs-lab</literal> for the UFS root partition on
|
<literal>rootfs-lab</literal> for the <acronym>UFS</acronym> root partition on
|
||||||
the lab's computer.</para>
|
the computer named <literal>lab</literal>.</para>
|
||||||
</tip>
|
</tip>
|
||||||
|
|
||||||
<example xml:id="bsdinstall-part-manual-splitfs">
|
<example xml:id="bsdinstall-part-manual-splitfs">
|
||||||
|
@ -1511,7 +1507,7 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
label values as described above.</para>
|
label values as described above.</para>
|
||||||
|
|
||||||
<para>By default, &os;'s <filename>gptboot</filename> expects
|
<para>By default, &os;'s <filename>gptboot</filename> expects
|
||||||
the first UFS partition found to be the
|
the first <acronym>UFS</acronym> partition to be the
|
||||||
<filename>/</filename> partition.</para>
|
<filename>/</filename> partition.</para>
|
||||||
|
|
||||||
<informaltable frame="none">
|
<informaltable frame="none">
|
||||||
|
@ -1583,23 +1579,23 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
installations was added in &os; 10.0-RELEASE. This
|
installations was added in &os; 10.0-RELEASE. This
|
||||||
partitioning mode only works with whole disks and will erase
|
partitioning mode only works with whole disks and will erase
|
||||||
the contents of the entire disk. The installer will
|
the contents of the entire disk. The installer will
|
||||||
automatically create partitions aligned to 4k boundaries, as
|
automatically create partitions aligned to 4k boundaries and
|
||||||
well as force <acronym>ZFS</acronym> to use 4k sectors. This
|
force <acronym>ZFS</acronym> to use 4k sectors. This
|
||||||
is safe even with 512 byte sector disks, and has the added
|
is safe even with 512 byte sector disks, and has the added
|
||||||
benefit of ensuring that pools created on 512 byte disks will
|
benefit of ensuring that pools created on 512 byte disks will
|
||||||
be able to have 4k sector disks added to them in the future,
|
be able to have 4k sector disks added in the future, either as
|
||||||
for additional storage space, or as replacements for failed
|
additional storage space or as replacements for failed
|
||||||
disks. The installer can also optionally employ GELI disk
|
disks. The installer can also optionally employ <acronym>GELI</acronym> disk
|
||||||
encryption as described in <xref
|
encryption as described in <xref
|
||||||
linkend="disks-encrypting-geli"/>.
|
linkend="disks-encrypting-geli"/>.
|
||||||
If encryption is enabled, a 2 GB unencrypted boot pool is
|
If encryption is enabled, a 2 GB unencrypted boot pool
|
||||||
created that contains the <filename>/boot</filename>
|
containing the <filename>/boot</filename>
|
||||||
directory, which holds the kernel and other files necessary
|
directory is created. It holds the kernel and other files necessary
|
||||||
to boot the system. A swap partition of a user selectable
|
to boot the system. A swap partition of a user selectable
|
||||||
size is also created, and all remaining space is used for the
|
size is also created, and all remaining space is used for the
|
||||||
<acronym>ZFS</acronym> pool.</para>
|
<acronym>ZFS</acronym> pool.</para>
|
||||||
|
|
||||||
<para>The main <acronym>ZFS</acronym> menu in the installer
|
<para>The main <acronym>ZFS</acronym> configuration menu
|
||||||
offers a number of options to control the creation of the
|
offers a number of options to control the creation of the
|
||||||
pool.</para>
|
pool.</para>
|
||||||
|
|
||||||
|
@ -1613,8 +1609,9 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>The most important option is selecting the vdev type and
|
<para>Select <keycap>T</keycap> to configure the <literal>Pool
|
||||||
one or more disks that will make up the vdev that will
|
Type</literal> and
|
||||||
|
the disk(s) that will
|
||||||
constitute the pool. The automatic <acronym>ZFS</acronym>
|
constitute the pool. The automatic <acronym>ZFS</acronym>
|
||||||
installer currently only supports the creation of a single
|
installer currently only supports the creation of a single
|
||||||
top level vdev, except in stripe mode. To create more complex
|
top level vdev, except in stripe mode. To create more complex
|
||||||
|
@ -1624,9 +1621,10 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
including stripe (not recommended, no redundancy), mirror
|
including stripe (not recommended, no redundancy), mirror
|
||||||
(best performance, least usable space), and RAID-Z 1, 2, and 3
|
(best performance, least usable space), and RAID-Z 1, 2, and 3
|
||||||
(with the capability to withstand the concurrent failure of 1,
|
(with the capability to withstand the concurrent failure of 1,
|
||||||
2, and 3 disks, respectively). A tooltip across the bottom of
|
2, and 3 disks, respectively). while selecting the pool type,
|
||||||
the screen while selecting the pool type provides advice about
|
a tooltip is displayed across the bottom of
|
||||||
the number of required disks for each type, and in the case of
|
the screen with advice about
|
||||||
|
the number of required disks, and in the case of
|
||||||
RAID-Z, the optimal number of disks for each
|
RAID-Z, the optimal number of disks for each
|
||||||
configuration.</para>
|
configuration.</para>
|
||||||
|
|
||||||
|
@ -1640,10 +1638,10 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>Once a pool type has been selected, a list of available
|
<para>Once a <literal>Pool Type</literal> has been selected, a list of available
|
||||||
disks is displayed, and the user is prompted to select one or
|
disks is displayed, and the user is prompted to select one or
|
||||||
more disks to make up the pool. The configuration is then
|
more disks to make up the pool. The configuration is then
|
||||||
validated, to ensure enough disks were selected. If not,
|
validated, to ensure enough disks are selected. If not,
|
||||||
select <guibutton><Change Selection></guibutton> to
|
select <guibutton><Change Selection></guibutton> to
|
||||||
return to the list of disks, or
|
return to the list of disks, or
|
||||||
<guibutton><Cancel></guibutton> to change the pool
|
<guibutton><Cancel></guibutton> to change the pool
|
||||||
|
@ -1674,11 +1672,11 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
<para>If one or more disks are missing from the list, or if
|
<para>If one or more disks are missing from the list, or if
|
||||||
disks were attached after the installer was started, select
|
disks were attached after the installer was started, select
|
||||||
<guibutton>- Rescan Devices</guibutton> to repopulate the list
|
<guibutton>- Rescan Devices</guibutton> to repopulate the list
|
||||||
of available disks. To ensure that the correct disk is
|
of available disks. To ensure that the correct disks are
|
||||||
selected, so as not to accidently destroy the wrong disks, the
|
selected, so as not to accidently destroy the wrong disks, the
|
||||||
<guibutton>- Disk Info</guibutton> menu can be used to inspect
|
<guibutton>- Disk Info</guibutton> menu can be used to inspect
|
||||||
each disk, including its partition table, and various other
|
each disk, including its partition table and various other
|
||||||
information, including the device model number and serial
|
information such as the device model number and serial
|
||||||
number, if available.</para>
|
number, if available.</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-zfs-disk_info">
|
<figure xml:id="bsdinstall-zfs-disk_info">
|
||||||
|
@ -1691,16 +1689,17 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>The menu also allows the user to enter a name for the
|
<para>The main <acronym>ZFS</acronym> configuration menu also
|
||||||
pool, disable forcing 4k sectors, enable or disable
|
allows the user to enter a pool name,
|
||||||
|
disable forcing 4k sectors, enable or disable
|
||||||
encryption, switch between <acronym>GPT</acronym>
|
encryption, switch between <acronym>GPT</acronym>
|
||||||
(recommended) and <acronym>MBR</acronym> partition table
|
(recommended) and <acronym>MBR</acronym> partition table
|
||||||
types, and select the desired amount of swap space. Once all
|
types, and select the amount of swap space. Once all
|
||||||
options have been set to the desired values, select the
|
options have been set to the desired values, select the
|
||||||
<guibutton>>>> Install</guibutton> option at the
|
<guibutton>>>> Install</guibutton> option at the
|
||||||
top of the menu.</para>
|
top of the menu.</para>
|
||||||
|
|
||||||
<para>If &man.geli.8; disk encryption was enabled, the
|
<para>If <acronym>GELI</acronym> disk encryption was enabled, the
|
||||||
installer will prompt twice for the passphrase to be used to
|
installer will prompt twice for the passphrase to be used to
|
||||||
encrypt the disks.</para>
|
encrypt the disks.</para>
|
||||||
|
|
||||||
|
@ -1736,25 +1735,31 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
<sect2 xml:id="bsdinstall-part-shell">
|
<sect2 xml:id="bsdinstall-part-shell">
|
||||||
<title>Shell Mode Partitioning</title>
|
<title>Shell Mode Partitioning</title>
|
||||||
|
|
||||||
<para>When creating advanced installations the basic interface
|
<para>When creating advanced installations, the
|
||||||
of bsdinstall may not provide the level of flexibility
|
<application>bsdinstall</application> paritioning menus may
|
||||||
required. Selecting the <guibutton>Shell</guibutton> option
|
not provide the level of flexibility
|
||||||
from the partitioning menu will drop the user to a shell. The
|
required. Advanced users can select the <guibutton>Shell</guibutton> option
|
||||||
user is expected to partition the drives and create the
|
from the partitioning menu in order to
|
||||||
desired file system(s), populate an &man.fstab.5; file in
|
manually partition the drives, create the
|
||||||
|
file system(s), populate
|
||||||
<filename>/tmp/bsdinstall_etc/fstab</filename>, and mount the
|
<filename>/tmp/bsdinstall_etc/fstab</filename>, and mount the
|
||||||
file systems under <filename>/mnt</filename>. Once this is
|
file systems under <filename>/mnt</filename>. Once this is
|
||||||
done, running <command>exit</command> will return to
|
done, type <command>exit</command> to return to
|
||||||
bsdinstall and continue the installation, starting with the
|
<application>bsdinstall</application> and continue the installation.</para>
|
||||||
extraction of the distribution sets.</para>
|
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 xml:id="bsdinstall-final-warning">
|
<sect1 xml:id="bsdinstall-final-warning">
|
||||||
<title>Committing to the Installation</title>
|
<title>Committing to the Installation</title>
|
||||||
|
|
||||||
<para>This is the last chance for aborting the installation to
|
<para>Once the disks are configured, the next menu provides the
|
||||||
prevent changes to the hard drive.</para>
|
last chance to make changes before the selected
|
||||||
|
hard drive(s) are formatted. If changes need to be made,
|
||||||
|
select <guibutton>[ Back ]</guibutton> to return to
|
||||||
|
the main partitioning menu.
|
||||||
|
<guibutton>[ Revert & Exit ]</guibutton>
|
||||||
|
will exit the installer without making any changes to the hard
|
||||||
|
drive.</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-final-confirmation">
|
<figure xml:id="bsdinstall-final-confirmation">
|
||||||
<title>Final Confirmation</title>
|
<title>Final Confirmation</title>
|
||||||
|
@ -1767,27 +1772,18 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>Select <guibutton>[ Commit ]</guibutton> and press
|
<para>To instead start the actual installation, select
|
||||||
<keycap>Enter</keycap> to proceed. If changes need to be made,
|
<guibutton>[ Commit ]</guibutton> and press
|
||||||
select <guibutton>[ Back ]</guibutton> to return to
|
<keycap>Enter</keycap>.</para>
|
||||||
the partition editor.
|
|
||||||
<guibutton>[ Revert & Exit ]</guibutton>
|
|
||||||
will exit the installer without making any changes to the hard
|
|
||||||
drive.</para>
|
|
||||||
|
|
||||||
<para>Installation time will vary depending on the distributions
|
<para>Installation time will vary depending on the distributions
|
||||||
chosen, installation media, and speed of the computer. There
|
chosen, installation media, and speed of the computer. A
|
||||||
will be a series of messages displayed indicating
|
series of messages will indicate the
|
||||||
progress.</para>
|
progress.</para>
|
||||||
|
|
||||||
<para>Firstly, the installer will write the partitions to the
|
<para>First, the installer formats the selected disk(s) and
|
||||||
disk, and perform a <command>newfs</command> to initialise the
|
initializes the partitions. Next, in the case of a bootonly
|
||||||
partitions.</para>
|
media, it downloads the selected components:</para>
|
||||||
|
|
||||||
<para>If doing a network install,
|
|
||||||
<application>bsdinstall</application> will then proceed to
|
|
||||||
download the required distribution files.</para>
|
|
||||||
<!-- XXXGA: What does it do if fetch fails? -->
|
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-distfile-fetching">
|
<figure xml:id="bsdinstall-distfile-fetching">
|
||||||
<title>Fetching Distribution Files</title>
|
<title>Fetching Distribution Files</title>
|
||||||
|
@ -1800,9 +1796,9 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>Next, the integrity of the distribution files is verified,
|
<para>Next, the integrity of the distribution files is verified
|
||||||
to ensure they have not been corrupted during download or
|
to ensure they have not been corrupted during download or
|
||||||
misread from the installation media.</para>
|
misread from the installation media:</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-distfile-verify">
|
<figure xml:id="bsdinstall-distfile-verify">
|
||||||
<title>Verifying Distribution Files</title>
|
<title>Verifying Distribution Files</title>
|
||||||
|
@ -1816,7 +1812,7 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>Finally, the verified distribution files are extracted to
|
<para>Finally, the verified distribution files are extracted to
|
||||||
the disk.</para>
|
the disk:</para>
|
||||||
|
|
||||||
<figure xml:id="bsdinstall-distfile-extract">
|
<figure xml:id="bsdinstall-distfile-extract">
|
||||||
<title>Extracting Distribution Files</title>
|
<title>Extracting Distribution Files</title>
|
||||||
|
@ -1830,9 +1826,9 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<para>Once all requested distribution files have been extracted,
|
<para>Once all requested distribution files have been extracted,
|
||||||
<application>bsdinstall</application> will then drop straight
|
<application>bsdinstall</application> displays the first
|
||||||
into the post-installation configuration tasks described in
|
post-installation menu. This series of menus is described in
|
||||||
<xref linkend="bsdinstall-post"/>.</para>
|
the next section.</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 xml:id="bsdinstall-post">
|
<sect1 xml:id="bsdinstall-post">
|
||||||
|
|
Loading…
Reference in a new issue