|
Lines 54-59
Link Here
|
| 54 |
</personname> |
54 |
</personname> |
| 55 |
</author> |
55 |
</author> |
| 56 |
</authorgroup> |
56 |
</authorgroup> |
|
|
57 |
|
| 58 |
<authorgroup> |
| 59 |
<author> |
| 60 |
<personname> |
| 61 |
<firstname>Allan</firstname> |
| 62 |
<surname>Jude</surname> |
| 63 |
</personname> |
| 64 |
|
| 65 |
<contrib>Updated for root-on-ZFS by </contrib> |
| 66 |
</author> |
| 67 |
</authorgroup> |
| 57 |
</info> |
68 |
</info> |
| 58 |
|
69 |
|
| 59 |
<sect1 xml:id="bsdinstall-synopsis"> |
70 |
<sect1 xml:id="bsdinstall-synopsis"> |
|
Lines 159-165
Link Here
|
| 159 |
&intel; EM64T architecture. Examples of these |
170 |
&intel; EM64T architecture. Examples of these |
| 160 |
processors include the &intel; &core; 2 Duo, Quad, |
171 |
processors include the &intel; &core; 2 Duo, Quad, |
| 161 |
Extreme processor families, the &intel; &xeon; 3000, |
172 |
Extreme processor families, the &intel; &xeon; 3000, |
| 162 |
5000, and 7000 sequences of processors, and the |
173 |
5000, and 7000 sequences of processors, the |
|
|
174 |
&intel; &xeon; E3, E5 and E7 processors, and the |
| 163 |
&intel; &core; i3, i5 and i7 processors.</para> |
175 |
&intel; &core; i3, i5 and i7 processors.</para> |
| 164 |
|
176 |
|
| 165 |
<para>If you have a machine based on an nVidia nForce3 |
177 |
<para>If you have a machine based on an nVidia nForce3 |
|
Lines 1056-1061
Link Here
|
| 1056 |
ISO-8859-1</guimenuitem> is also a safe option if the |
1068 |
ISO-8859-1</guimenuitem> is also a safe option if the |
| 1057 |
choice of keymap is not clear.</para> |
1069 |
choice of keymap is not clear.</para> |
| 1058 |
</note> |
1070 |
</note> |
|
|
1071 |
|
| 1072 |
<para>In &os; 10.0-RELEASE and later, this menu has been |
| 1073 |
enhanced. The full selection of keymaps is shown, with the |
| 1074 |
default preselected. In addition, when selecting a different |
| 1075 |
keymap, a dialog is displayed that allows the user to try |
| 1076 |
the keymap and ensure it is correct before proceeding.</para> |
| 1077 |
|
| 1078 |
<figure xml:id="bsdinstall-keymap-10"> |
| 1079 |
<title>Enhanced Keymap Menu</title> |
| 1080 |
|
| 1081 |
<mediaobject> |
| 1082 |
<imageobject> |
| 1083 |
<imagedata fileref="bsdinstall/bsdinstall-keymap-10"/> |
| 1084 |
</imageobject> |
| 1085 |
</mediaobject> |
| 1086 |
</figure> |
| 1087 |
|
| 1059 |
</sect2> |
1088 |
</sect2> |
| 1060 |
|
1089 |
|
| 1061 |
<sect2 xml:id="bsdinstall-hostname"> |
1090 |
<sect2 xml:id="bsdinstall-hostname"> |
|
Lines 1213-1228
Link Here
|
| 1213 |
<sect1 xml:id="bsdinstall-partitioning"> |
1242 |
<sect1 xml:id="bsdinstall-partitioning"> |
| 1214 |
<title>Allocating Disk Space</title> |
1243 |
<title>Allocating Disk Space</title> |
| 1215 |
|
1244 |
|
| 1216 |
<para>There are three ways to allocate disk space for &os;. |
1245 |
<para>There are four ways to allocate disk space for &os;. |
| 1217 |
<emphasis>Guided</emphasis> partitioning automatically sets up |
1246 |
<emphasis>Guided</emphasis> partitioning automatically sets up |
| 1218 |
disk partitions, while <emphasis>Manual</emphasis> partitioning |
1247 |
disk partitions, while <emphasis>Manual</emphasis> partitioning |
| 1219 |
allows advanced users to create customized partitions. Finally, |
1248 |
allows advanced users to create customized partitions. The |
|
|
1249 |
<acronym>ZFS</acronym> option, only available in &os; 10 and |
| 1250 |
later, will create an optionally encrypted root-on-ZFS system |
| 1251 |
with support for Boot Environments Finally, |
| 1220 |
there's the option of starting a shell where command-line |
1252 |
there's the option of starting a shell where command-line |
| 1221 |
programs like &man.gpart.8;, &man.fdisk.8;, and &man.bsdlabel.8; |
1253 |
programs like &man.gpart.8;, &man.fdisk.8;, and &man.bsdlabel.8; |
| 1222 |
can be used directly.</para> |
1254 |
can be used directly.</para> |
| 1223 |
|
1255 |
|
| 1224 |
<figure xml:id="bsdinstall-part-guided-manual"> |
1256 |
<figure xml:id="bsdinstall-part-guided-manual"> |
| 1225 |
<title>Selecting Guided or Manual Partitioning</title> |
1257 |
<title>Selecting Guided, Manual or Shell Partitioning</title> |
| 1226 |
|
1258 |
|
| 1227 |
<mediaobject> |
1259 |
<mediaobject> |
| 1228 |
<imageobject> |
1260 |
<imageobject> |
|
Lines 1232-1237
Link Here
|
| 1232 |
</mediaobject> |
1264 |
</mediaobject> |
| 1233 |
</figure> |
1265 |
</figure> |
| 1234 |
|
1266 |
|
|
|
1267 |
<figure xml:id="bsdinstall-zfs-partmenu"> |
| 1268 |
<title>Selecting Guided, Manual, Shell or |
| 1269 |
<acronym>ZFS</acronym> Partitioning</title> |
| 1270 |
|
| 1271 |
<mediaobject> |
| 1272 |
<imageobject> |
| 1273 |
<imagedata fileref="bsdinstall/bsdinstall-zfs-partmenu"/> |
| 1274 |
</imageobject> |
| 1275 |
</mediaobject> |
| 1276 |
</figure> |
| 1277 |
|
| 1278 |
|
| 1235 |
<sect2 xml:id="bsdinstall-part-guided"> |
1279 |
<sect2 xml:id="bsdinstall-part-guided"> |
| 1236 |
<title>Guided Partitioning</title> |
1280 |
<title>Guided Partitioning</title> |
| 1237 |
|
1281 |
|
|
Lines 1427-1433
Link Here
|
| 1427 |
|
1471 |
|
| 1428 |
<para>Another partition type worth noting is |
1472 |
<para>Another partition type worth noting is |
| 1429 |
<literal>freebsd-zfs</literal>, used for partitions that will |
1473 |
<literal>freebsd-zfs</literal>, used for partitions that will |
| 1430 |
contain a &os; ZFS filesystem. See |
1474 |
contain a &os; <acronym>ZFS</acronym> filesystem. See |
| 1431 |
<xref linkend="filesystems-zfs"/>. &man.gpart.8; shows more |
1475 |
<xref linkend="filesystems-zfs"/>. &man.gpart.8; shows more |
| 1432 |
of the available <acronym>GPT</acronym> partition |
1476 |
of the available <acronym>GPT</acronym> partition |
| 1433 |
types.</para> |
1477 |
types.</para> |
|
Lines 1564-1569
Link Here
|
| 1564 |
<guibutton>[ Finish ]</guibutton> to continue with |
1608 |
<guibutton>[ Finish ]</guibutton> to continue with |
| 1565 |
the installation.</para> |
1609 |
the installation.</para> |
| 1566 |
</sect2> |
1610 |
</sect2> |
|
|
1611 |
|
| 1612 |
<sect2 xml:id="bsdinstall-part-zfs"> |
| 1613 |
<title>Root-on-ZFS Automatic Partitioning</title> |
| 1614 |
|
| 1615 |
<para>Support for automatic creation of root-on-ZFS |
| 1616 |
installations was added in &os; 10.0-RELEASE. This |
| 1617 |
partitioning mode only works with whole disks and will erase |
| 1618 |
the contents of the entire disk. The installer will |
| 1619 |
automatically create partitions aligned to 4k boundries, as |
| 1620 |
well as force <acronym>ZFS</acronym> to use 4k sectors. This |
| 1621 |
is safe even with 512 byte sector disks, and has the added |
| 1622 |
benefit of ensuring that pools created on 512 byte disks will |
| 1623 |
be able to have 4k sector disks added to them in the future, |
| 1624 |
for additional storage space, or as replacements for failed |
| 1625 |
disks. The installer can also optionally employ <link |
| 1626 |
linkend="disks-encrypting-geli">GELI</link> disk encryption. |
| 1627 |
If encryption is enabled, a 2 GB unencrypted boot pool is |
| 1628 |
created that contains the <filename>/boot</filename> |
| 1629 |
directory, which holds the kernel and other files necessary |
| 1630 |
to boot the system. A swap partition of a user selectable |
| 1631 |
size is also created, and all remaining space is used for the |
| 1632 |
<acronym>ZFS</acronym> pool.</para> |
| 1633 |
|
| 1634 |
<para>The main <acronym>ZFS</acronym> menu in the installer |
| 1635 |
offers a number of options to control the creation of the |
| 1636 |
pool.</para> |
| 1637 |
|
| 1638 |
<figure xml:id="bsdinstall-zfs-menu"> |
| 1639 |
<title><acronym>ZFS</acronym> Partitioning Menu</title> |
| 1640 |
|
| 1641 |
<mediaobject> |
| 1642 |
<imageobject> |
| 1643 |
<imagedata fileref="bsdinstall/bsdinstall-zfs-menu"/> |
| 1644 |
</imageobject> |
| 1645 |
</mediaobject> |
| 1646 |
</figure> |
| 1647 |
|
| 1648 |
<para>The most important option is selecting the vdev type |
| 1649 |
and one or more disks that will make up the vdev that will |
| 1650 |
constitute the pool. The automatic <acronym>ZFS</acronym> |
| 1651 |
installer currently only supports the creation of a single |
| 1652 |
top level vdev, except in stripe mode. To create more complex |
| 1653 |
pools, use <link |
| 1654 |
linkend="bsdinstall-part-shell">Shell Mode</link> to create |
| 1655 |
the pool. The installer supports the creation of various |
| 1656 |
pool types, including stripe (not recommended, no redundnacy), |
| 1657 |
mirror (best performance, least usable space), and RAID-Z 1, |
| 1658 |
2, and 3 (with the capability to withstand the concurrent |
| 1659 |
failure of 1, 2, and 3 disks respectively). A tooltip across |
| 1660 |
the bottom of the screen while selecting the pool type |
| 1661 |
provides advice about the number of required disks for each |
| 1662 |
type, and in the case of RAID-Z, the optimal number of disks |
| 1663 |
for each configuration.</para> |
| 1664 |
|
| 1665 |
<figure xml:id="bsdinstall-zfs-vdev_type"> |
| 1666 |
<title><acronym>ZFS</acronym> Pool Type</title> |
| 1667 |
|
| 1668 |
<mediaobject> |
| 1669 |
<imageobject> |
| 1670 |
<imagedata fileref="bsdinstall/bsdinstall-zfs-vdev_type"/> |
| 1671 |
</imageobject> |
| 1672 |
</mediaobject> |
| 1673 |
</figure> |
| 1674 |
|
| 1675 |
<para>Once a pool type has been selected, a list of available |
| 1676 |
disks is displayed, and the user is prompted to select one or |
| 1677 |
more disks to make up the pool. The configuration is then |
| 1678 |
validated, to ensure enough disks were selected. If not, |
| 1679 |
select <guibutton><Change Selection></guibutton> to |
| 1680 |
return to the list of disks, or |
| 1681 |
<guibutton><Cancel></guibutton> to change the pool |
| 1682 |
type.</para> |
| 1683 |
|
| 1684 |
<figure xml:id="bsdinstall-zfs-disk_select"> |
| 1685 |
<title>Disk Selection</title> |
| 1686 |
|
| 1687 |
<mediaobject> |
| 1688 |
<imageobject> |
| 1689 |
<imagedata fileref="bsdinstall/bsdinstall-zfs-disk_select"/> |
| 1690 |
</imageobject> |
| 1691 |
</mediaobject> |
| 1692 |
</figure> |
| 1693 |
|
| 1694 |
<figure xml:id="bsdinstall-zfs-vdev_invalid"> |
| 1695 |
<title>Invalid Selection</title> |
| 1696 |
|
| 1697 |
<mediaobject> |
| 1698 |
<imageobject> |
| 1699 |
<imagedata fileref="bsdinstall/bsdinstall-zfs-vdev_invalid"/> |
| 1700 |
</imageobject> |
| 1701 |
</mediaobject> |
| 1702 |
</figure> |
| 1703 |
|
| 1704 |
<para>If one or more disks is missing from the list, or if disks |
| 1705 |
were attached after the installer was started, select |
| 1706 |
<guibutton>- Rescan Devices</guibutton> to repopulate the list |
| 1707 |
of available disks. To ensure that the correct disk is |
| 1708 |
selected, so as not to accidently destroy the wrong disks, the |
| 1709 |
<guibutton>- Disk Info</guibutton> menu allows you to inspect |
| 1710 |
each disk, including its partition table, and various other |
| 1711 |
information, including the device model number and serial |
| 1712 |
number, if available.</para> |
| 1713 |
|
| 1714 |
<figure xml:id="bsdinstall-zfs-disk_info"> |
| 1715 |
<title>Analysing a Disk</title> |
| 1716 |
|
| 1717 |
<mediaobject> |
| 1718 |
<imageobject> |
| 1719 |
<imagedata fileref="bsdinstall/bsdinstall-zfs-disk_info"/> |
| 1720 |
</imageobject> |
| 1721 |
</mediaobject> |
| 1722 |
</figure> |
| 1723 |
|
| 1724 |
<para>The menu also allows the user to enter a name for the |
| 1725 |
pool, disable forcing 4k sectors, enable or disable |
| 1726 |
encryption, switch between GPT (recommended) and MBR partition |
| 1727 |
table types, and select the desired amount of swap |
| 1728 |
space. Once all options have been set to the desired values, |
| 1729 |
select the <guibutton>>>> Install</guibutton> option at the top of |
| 1730 |
the menu.</para> |
| 1731 |
|
| 1732 |
<para>If &man.geli.8; disk encryption was enabled, the installer |
| 1733 |
will prompt for the passphrase to be used to encrypt the disks |
| 1734 |
twice.</para> |
| 1735 |
|
| 1736 |
<figure xml:id="bsdinstall-zfs-geli_password"> |
| 1737 |
<title>Disk Encryption Password</title> |
| 1738 |
|
| 1739 |
<mediaobject> |
| 1740 |
<imageobject> |
| 1741 |
<imagedata fileref="bsdinstall/bsdinstall-zfs-geli_password"/> |
| 1742 |
</imageobject> |
| 1743 |
</mediaobject> |
| 1744 |
</figure> |
| 1745 |
|
| 1746 |
<para>The installer then offers a last chance to cancel before |
| 1747 |
the contents of the selected drives are destroyed to create |
| 1748 |
the <acronym>ZFS</acronym> pool.</para> |
| 1749 |
|
| 1750 |
<figure xml:id="bsdinstall-zfs-warning"> |
| 1751 |
<title>Last Chance</title> |
| 1752 |
|
| 1753 |
<mediaobject> |
| 1754 |
<imageobject> |
| 1755 |
<imagedata fileref="bsdinstall/bsdinstall-zfs-warning"/> |
| 1756 |
</imageobject> |
| 1757 |
</mediaobject> |
| 1758 |
</figure> |
| 1759 |
|
| 1760 |
<para>The installation then provides normally</para> |
| 1761 |
|
| 1762 |
</sect2> |
| 1763 |
|
| 1764 |
<sect2 xml:id="bsdinstall-part-shell"> |
| 1765 |
<title>Shell Mode Partitioning</title> |
| 1766 |
|
| 1767 |
<para>When creating advanced installations the basic interface |
| 1768 |
of bsdinstall may not provide the level of flexibility |
| 1769 |
required. Selecting the <guibutton>Shell</guibutton> option |
| 1770 |
from the partitioning menu will drop the user to a shell. The |
| 1771 |
user is expected to partition the drives and create the |
| 1772 |
desired file system(s), populate an &man.fstab.5; file in |
| 1773 |
<filename>/tmp/bsdinstall_etc/fstab</filename>, and mount the |
| 1774 |
file systems under <filename>/mnt</filename>. Once this is |
| 1775 |
done, running <command>exit</command> will return to |
| 1776 |
bsdinstall and continue the installation, starting with the |
| 1777 |
extraction of the distribution sets.</para> |
| 1778 |
</sect2> |
| 1567 |
</sect1> |
1779 |
</sect1> |
| 1568 |
|
1780 |
|
| 1569 |
<sect1 xml:id="bsdinstall-final-warning"> |
1781 |
<sect1 xml:id="bsdinstall-final-warning"> |