]> CyberLeo.Net >> Repos - FreeBSD/releng/10.3.git/blob - release/doc/en_US.ISO8859-1/installation/article.xml
Remove a few references to 9.2 and earlier.
[FreeBSD/releng/10.3.git] / release / doc / en_US.ISO8859-1 / installation / article.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V5.0-Based Extension//EN"
3         "../../../share/xml/freebsd50.dtd" [
4 <!ENTITY % release PUBLIC "-//FreeBSD//ENTITIES Release Specification//EN" "release.ent">
5 %release;
6 <!ENTITY local.rel "10.3">
7 ]>
8
9 <article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
10   <info><title>&os; &release.current; Installation Instructions</title>
11
12     <author><orgname>The &os; Project</orgname></author>
13
14     <pubdate>$FreeBSD$</pubdate>
15
16     <copyright>
17       <year>2016</year>
18       <holder role="mailto:doc@FreeBSD.org">The &os; Documentation Project</holder>
19     </copyright>
20
21     <legalnotice xml:id="trademarks" role="trademarks">
22       &tm-attrib.freebsd;
23       &tm-attrib.intel;
24       &tm-attrib.sparc;
25       &tm-attrib.general;
26     </legalnotice>
27
28   <abstract>
29     <para>This article gives some brief instructions on installing
30       &os; &release.current; and upgrading the systems running earlier
31       releases.</para>
32   </abstract>
33 </info>
34
35   <sect1 xml:id="install">
36     <title>Installing &os;</title>
37
38     <para>The <uri
39         xlink:href="&url.books.handbook;/bsdinstall.html">Installing
40           &os;</uri>
41       chapter of the <uri
42         xlink:href="&url.books.handbook;/">&os;
43         Handbook</uri> provides more in-depth information about the
44       installation program itself, including a guided walk-through with
45       screenshots.</para>
46   </sect1>
47
48   <sect1 xml:id="upgrade">
49     <title>Upgrading &os;</title>
50
51     <para>If you are upgrading from a previous release of &os;, please
52       read <uri
53       xlink:href="http://www.FreeBSD.org/releases/&local.rel;R/relnotes.html#upgrade">upgrading
54       section in the Release Notes</uri> for notable
55       incompatibilities carefully.</para>
56
57     <sect2>
58       <title>Upgrading from Source</title>
59
60       <para>The procedure for doing a source code based update is
61         described in
62         <uri xlink:href="&url.books.handbook;/synching.html"></uri> and
63         <uri xlink:href="&url.books.handbook;/makeworld.html"></uri>.</para>
64
65       <para>For SVN use the <filename>releng/&local.rel;</filename> branch
66         which will be where any upcoming Security Advisories or Errata
67         Notices will be applied.</para>
68     </sect2>
69
70     <sect2>
71       <title>Upgrading Using <quote>&os; Update</quote></title>
72
73       <para>The &man.freebsd-update.8; utility supports binary
74         upgrades of &arch.i386; and &arch.amd64; systems running
75         earlier FreeBSD releases. Systems running
76         <literal>9.3-RELEASE</literal>,
77         <literal>10.3-RC[12]</literal> can upgrade as follows:</para>
78
79       <screen>&prompt.root; freebsd-update fetch
80 &prompt.root; freebsd-update install</screen>
81
82       <para>Now the &man.freebsd-update.8; utility can fetch bits
83         belonging to &release.current;.  During this process
84         &man.freebsd-update.8; will ask for help in merging
85         configuration files.</para>
86
87       <screen>&prompt.root; freebsd-update upgrade -r &local.rel;-RELEASE</screen>
88
89       <para>Due to changes in the way that &os; is packaged on the
90         release media, two complications may arise in this process if
91         upgrading from FreeBSD 9.3:</para>
92
93       <orderedlist>
94         <listitem>
95           <para>The &os;, which previously could appear in either
96             <filename>/boot/kernel</filename> or
97             <filename>/boot/GENERIC</filename>, now only appears as
98             <filename>/boot/kernel</filename>.  As a result, any
99             kernel appearing in <filename>/boot/GENERIC</filename>
100             will be deleted.  Please carefully read the output printed
101             by &man.freebsd-update.8; and confirm that an updated
102             kernel will be placed into
103             <filename>/boot/kernel</filename> before proceeding beyond
104             this point.</para>
105         </listitem>
106
107         <listitem>
108           <para>The &os; source tree in <filename>/usr/src</filename>
109             (if present) will be deleted.  (Normally the
110             &man.freebsd-update.8; utility will update a source tree,
111             but in this case the changes in release packaging result
112             in the &man.freebsd-update.8; utility not recognizing that
113             the source tree from the old release and the source tree
114             from the new release correspond to the same part of
115             &os;.)</para>
116         </listitem>
117       </orderedlist>
118
119       <screen>&prompt.root; freebsd-update install</screen>
120
121       <para>The system must now be rebooted with the newly installed
122         kernel before the non-kernel components are updated.</para>
123
124       <screen>&prompt.root; shutdown -r now</screen>
125
126       <para>After rebooting, &man.freebsd-update.8; needs to be run
127         again to install the new userland components:</para>
128
129       <screen>&prompt.root; freebsd-update install</screen>
130
131       <para>At this point, users of systems being upgraded from &os;
132         9.3-RELEASE or earlier will be prompted by
133         &man.freebsd-update.8; to rebuild all third-party applications
134         (e.g., ports installed from the ports tree) due to updates in
135         system libraries.</para>
136
137       <para>After updating installed third-party applications (and
138         again, only if &man.freebsd-update.8; printed a message
139         indicating that this was necessary), run
140         &man.freebsd-update.8; again so that it can delete the old (no
141         longer used) system libraries:</para>
142
143       <screen>&prompt.root; freebsd-update install</screen>
144
145       <para>Finally, reboot into &release.current;</para>
146
147       <screen>&prompt.root; shutdown -r now</screen>
148     </sect2>
149   </sect1>
150 </article>