Regen from r244867.

This commit is contained in:
Hiroki Sato 2012-12-30 16:51:45 +00:00
parent 9eedeb4145
commit 864ecd2dae
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40514

View file

@ -8,23 +8,23 @@
<link rel="STYLESHEET" type="text/css" href="docbook.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body class="ARTICLE" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"
<body class="article" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"
alink="#0000FF">
<div class="ARTICLE">
<div class="TITLEPAGE">
<h1 class="TITLE"><a id="AEN2" name="AEN2">FreeBSD 9.1-RELEASE Installation
<h1 class="title"><a id="AEN2" name="AEN2">FreeBSD 9.1-RELEASE Installation
Instructions</a></h1>
<h3 class="CORPAUTHOR">The FreeBSD Project</h3>
<h3 class="corpauthor">The FreeBSD Project</h3>
<p class="COPYRIGHT">Copyright &copy; 2012 The FreeBSD Documentation Project</p>
<p class="copyright">Copyright &copy; 2012 The FreeBSD Documentation Project</p>
<p class="PUBDATE">$FreeBSD:
release/9.1.0/release/doc/en_US.ISO8859-1/installation/article.sgml 243705 2012-11-30
16:15:35Z hrs $<br />
<p class="pubdate">$FreeBSD:
stable/9/release/doc/en_US.ISO8859-1/installation/article.xml 244867 2012-12-30 16:41:17Z
hrs $<br />
</p>
<div class="LEGALNOTICE"><a id="TRADEMARKS" name="TRADEMARKS"></a>
<div class="legalnotice"><a id="trademarks" name="trademarks"></a>
<p>FreeBSD is a registered trademark of the FreeBSD Foundation.</p>
<p>Intel, Celeron, EtherExpress, i386, i486, Itanium, Pentium, and Xeon are trademarks or
@ -39,22 +39,22 @@ its members.</p>
<p>Many of the designations used by manufacturers and sellers to distinguish their
products are claimed as trademarks. Where those designations appear in this document, and
the FreeBSD Project was aware of the trademark claim, the designations have been followed
by the &#8220;&trade;&#8221; or the &#8220;&reg;&#8221; symbol.</p>
by the &#8220;&#8482;&#8221; or the &#8220;®&#8221; symbol.</p>
</div>
<hr />
</div>
<blockquote class="ABSTRACT">
<div class="ABSTRACT"><a id="AEN16" name="AEN16"></a>
<div class="abstract"><a id="AEN16" name="AEN16"></a>
<p>This article gives some brief instructions on installing FreeBSD 9.1-RELEASE and
upgrading the systems running earlier releases.</p>
</div>
</blockquote>
<div class="SECT1">
<div class="sect1">
<hr />
<h2 class="SECT1"><a id="INSTALL" name="INSTALL">1 Installing FreeBSD</a></h2>
<h2 class="sect1"><a id="install" name="install">1 Installing FreeBSD</a></h2>
<p>The <a
href="http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall.html"
@ -64,71 +64,72 @@ href="http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/" target="_top">
itself, including a guided walk-through with screenshots.</p>
</div>
<div class="SECT1">
<div class="sect1">
<hr />
<h2 class="SECT1"><a id="UPGRADE" name="UPGRADE">2 Upgrading FreeBSD</a></h2>
<h2 class="sect1"><a id="upgrade" name="upgrade">2 Upgrading FreeBSD</a></h2>
<p>If you are upgrading from a previous release of FreeBSD, please read <a
href="http://www.FreeBSD.org/releases/9.1R/relnotes-detailed.html#UPGRADE"
href="http://www.FreeBSD.org/releases/9.1R/relnotes-detailed.html#upgrade"
target="_top">upgrading section in the Release Notes</a> for notable incompatibilities
carefully.</p>
<div class="SECT2">
<div class="sect2">
<hr />
<h3 class="SECT2"><a id="AEN28" name="AEN28">2.1 Upgrading from Source</a></h3>
<h3 class="sect2"><a id="AEN28" name="AEN28">2.1 Upgrading from Source</a></h3>
<p>The procedure for doing a source code based update is &#09;described in &#09;<a
href="http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/synching.html"
target="_top">http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/synching.html</a>
and &#09;<a
href="http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook//makeworld.html"
target="_top">http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook//makeworld.html</a>.</p>
href="http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html"
target="_top">http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html</a>.</p>
<p>For SVN use the <tt class="FILENAME">releng/9.1</tt> branch &#09;which will be where
<p>For SVN use the <tt class="filename">releng/9.1</tt> branch &#09;which will be where
any upcoming Security Advisories or Errata &#09;Notices will be applied. The branch tag
to use for updating &#09;the source is <tt class="LITERAL">RELENG_9_1</tt> for CVS.</p>
to use for updating &#09;the source is <tt class="literal">RELENG_9_1</tt> for CVS.</p>
</div>
<div class="SECT2">
<div class="sect2">
<hr />
<h3 class="SECT2"><a id="AEN36" name="AEN36">2.2 Upgrading Using &#8220;FreeBSD
<h3 class="sect2"><a id="AEN36" name="AEN36">2.2 Upgrading Using &#8220;FreeBSD
Update&#8221;</a></h3>
<p>The <a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> utility supports binary
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> utility supports binary
&#09;upgrades of i386 and amd64 systems running &#09;earlier FreeBSD releases. Systems
running &#09;<tt class="LITERAL">7.[34]-RELEASE</tt>, &#09;<tt
class="LITERAL">8.[123]-RELEASE</tt>, or
&#09;<tt class="LITERAL">9.1-RC[123]</tt> can upgrade as follows:</p>
running &#09;<tt class="literal">7.[34]-RELEASE</tt>, &#09;<tt
class="literal">8.[12]-RELEASE</tt>, &#09;<tt class="literal">9.0-RELEASE</tt>, &#09;<tt
class="literal">9.1-BETA1</tt>, or &#09;<tt class="literal">9.1-RC[123]</tt> can upgrade
as follows:</p>
<p>First, ensure that your current system is up to date; a &#09;change was recently made
to <a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> (Errata &#09;Notice <a
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> (Errata &#09;Notice <a
href="http://security.FreeBSD.org/advisories/FreeBSD-EN-12:01.freebsd-update.asc"
target="_top">FreeBSD-EN-12:01.freebsd-update</a>) &#09;which is needed in order to
upgrade to FreeBSD &#09;9.1-RELEASE.</p>
<pre class="SCREEN">
<samp class="PROMPT">#</samp> freebsd-update fetch
<samp class="PROMPT">#</samp> freebsd-update install
<pre class="screen">
<samp class="prompt">#</samp> freebsd-update fetch
<samp class="prompt">#</samp> freebsd-update install
</pre>
<p>Now the <a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> utility can fetch bits
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> utility can fetch bits
&#09;belonging to 9.1-RELEASE. During this process &#09;<a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> will ask for help in merging
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> will ask for help in merging
&#09;configuration files.</p>
<pre class="SCREEN">
<samp class="PROMPT">#</samp> freebsd-update upgrade -r 9.1-RELEASE
<pre class="screen">
<samp class="prompt">#</samp> freebsd-update upgrade -r 9.1-RELEASE
</pre>
<p>Due to changes in the way that FreeBSD is packaged on the &#09;release media, two
@ -137,79 +138,79 @@ complications may arise in this process if &#09;upgrading from FreeBSD 7.x or 8.
<ol type="1">
<li>
<p>The FreeBSD, which previously could appear in either &#09; <tt
class="FILENAME">/boot/kernel</tt> or &#09; <tt class="FILENAME">/boot/GENERIC</tt>, now
only appears as &#09; <tt class="FILENAME">/boot/kernel</tt>. As a result, any &#09;
kernel appearing in <tt class="FILENAME">/boot/GENERIC</tt> &#09; will be deleted. Please
class="filename">/boot/kernel</tt> or &#09; <tt class="filename">/boot/GENERIC</tt>, now
only appears as &#09; <tt class="filename">/boot/kernel</tt>. As a result, any &#09;
kernel appearing in <tt class="filename">/boot/GENERIC</tt> &#09; will be deleted. Please
carefully read the output printed &#09; by <a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> and confirm that an updated
&#09; kernel will be placed into &#09; <tt class="FILENAME">/boot/kernel</tt> before
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> and confirm that an updated
&#09; kernel will be placed into &#09; <tt class="filename">/boot/kernel</tt> before
proceeding beyond &#09; this point.</p>
</li>
<li>
<p>The FreeBSD source tree in <tt class="FILENAME">/usr/src</tt> &#09; (if present) will
<p>The FreeBSD source tree in <tt class="filename">/usr/src</tt> &#09; (if present) will
be deleted. (Normally the &#09; <a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> utility will update a source
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> utility will update a source
tree, &#09; but in this case the changes in release packaging result &#09; in the <a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> utility not recognizing that
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> utility not recognizing that
&#09; the source tree from the old release and the source tree &#09; from the new release
correspond to the same part of &#09; FreeBSD.)</p>
</li>
</ol>
<pre class="SCREEN">
<samp class="PROMPT">#</samp> freebsd-update install
<pre class="screen">
<samp class="prompt">#</samp> freebsd-update install
</pre>
<p>The system must now be rebooted with the newly installed &#09;kernel before the
non-kernel components are updated.</p>
<pre class="SCREEN">
<samp class="PROMPT">#</samp> shutdown -r now
<pre class="screen">
<samp class="prompt">#</samp> shutdown -r now
</pre>
<p>After rebooting, <a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> needs to be run &#09;again to
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> needs to be run &#09;again to
install the new userland components:</p>
<pre class="SCREEN">
<samp class="PROMPT">#</samp> freebsd-update install
<pre class="screen">
<samp class="prompt">#</samp> freebsd-update install
</pre>
<p>At this point, users of systems being upgraded from FreeBSD &#09;8.2-RELEASE or
earlier will be prompted by &#09;<a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> to rebuild all third-party
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> to rebuild all third-party
applications &#09;(e.g., ports installed from the ports tree) due to updates in
&#09;system libraries.</p>
<p>After updating installed third-party applications (and &#09;again, only if <a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> printed a message
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> printed a message
&#09;indicating that this was necessary), run &#09;<a
href="http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=FreeBSD+9.1-RELEASE">
<span class="CITEREFENTRY"><span
class="REFENTRYTITLE">freebsd-update</span>(8)</span></a> again so that it can delete the
<span class="citerefentry"><span
class="refentrytitle">freebsd-update</span>(8)</span></a> again so that it can delete the
old (no &#09;longer used) system libraries:</p>
<pre class="SCREEN">
<samp class="PROMPT">#</samp> freebsd-update install
<pre class="screen">
<samp class="prompt">#</samp> freebsd-update install
</pre>
<p>Finally, reboot into 9.1-RELEASE</p>
<pre class="SCREEN">
<samp class="PROMPT">#</samp> shutdown -r now
<pre class="screen">
<samp class="prompt">#</samp> shutdown -r now
</pre>
</div>
</div>