235 lines
10 KiB
HTML
235 lines
10 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta name="generator" content="HTML Tidy, see www.w3.org" />
|
|
<title>FreeBSD 9.1-RELEASE Installation Instructions</title>
|
|
<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.79" />
|
|
<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"
|
|
alink="#0000FF">
|
|
<div class="ARTICLE">
|
|
<div class="TITLEPAGE">
|
|
<h1 class="title"><a id="AEN2" name="AEN2">FreeBSD 9.1-RELEASE Installation
|
|
Instructions</a></h1>
|
|
|
|
<h3 class="corpauthor">The FreeBSD Project</h3>
|
|
|
|
<p class="copyright">Copyright © 2012 The FreeBSD Documentation Project</p>
|
|
|
|
<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>
|
|
<p>FreeBSD is a registered trademark of the FreeBSD Foundation.</p>
|
|
|
|
<p>Intel, Celeron, EtherExpress, i386, i486, Itanium, Pentium, and Xeon are trademarks or
|
|
registered trademarks of Intel Corporation or its subsidiaries in the United States and
|
|
other countries.</p>
|
|
|
|
<p>SPARC, SPARC64, SPARCengine, and UltraSPARC are trademarks of SPARC International, Inc
|
|
in the United States and other countries. SPARC International, Inc owns all of the SPARC
|
|
trademarks and under licensing agreements allows the proper use of these trademarks by
|
|
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 “™” or the “®” symbol.</p>
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
|
|
<blockquote class="ABSTRACT">
|
|
<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">
|
|
<hr />
|
|
<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"
|
|
target="_top">“Installing 	 FreeBSD”</a> chapter of the <a
|
|
href="http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/" target="_top">FreeBSD
|
|
	Handbook</a> provides more in-depth information about the installation program
|
|
itself, including a guided walk-through with screenshots.</p>
|
|
</div>
|
|
|
|
<div class="sect1">
|
|
<hr />
|
|
<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"
|
|
target="_top">upgrading section in the Release Notes</a> for notable incompatibilities
|
|
carefully.</p>
|
|
|
|
<div class="sect2">
|
|
<hr />
|
|
<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 	described in 	<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 	<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>
|
|
|
|
<p>For SVN use the <tt class="filename">releng/9.1</tt> branch 	which will be where
|
|
any upcoming Security Advisories or Errata 	Notices will be applied. The branch tag
|
|
to use for updating 	the source is <tt class="literal">RELENG_9_1</tt> for CVS.</p>
|
|
</div>
|
|
|
|
<div class="sect2">
|
|
<hr />
|
|
<h3 class="sect2"><a id="AEN36" name="AEN36">2.2 Upgrading Using “FreeBSD
|
|
Update”</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
|
|
	upgrades of i386 and amd64 systems running 	earlier FreeBSD releases. Systems
|
|
running 	<tt class="literal">7.[34]-RELEASE</tt>, 	<tt
|
|
class="literal">8.[12]-RELEASE</tt>, 	<tt class="literal">9.0-RELEASE</tt>, 	<tt
|
|
class="literal">9.1-BETA1</tt>, or 	<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 	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 	Notice <a
|
|
href="http://security.FreeBSD.org/advisories/FreeBSD-EN-12:01.freebsd-update.asc"
|
|
target="_top">FreeBSD-EN-12:01.freebsd-update</a>) 	which is needed in order to
|
|
upgrade to FreeBSD 	9.1-RELEASE.</p>
|
|
|
|
<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
|
|
	belonging to 9.1-RELEASE. During this process 	<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
|
|
	configuration files.</p>
|
|
|
|
<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 	release media, two
|
|
complications may arise in this process if 	upgrading from FreeBSD 7.x or 8.x:</p>
|
|
|
|
<ol type="1">
|
|
<li>
|
|
<p>The FreeBSD, which previously could appear in either 	 <tt
|
|
class="filename">/boot/kernel</tt> or 	 <tt class="filename">/boot/GENERIC</tt>, now
|
|
only appears as 	 <tt class="filename">/boot/kernel</tt>. As a result, any 	
|
|
kernel appearing in <tt class="filename">/boot/GENERIC</tt> 	 will be deleted. Please
|
|
carefully read the output printed 	 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
|
|
	 kernel will be placed into 	 <tt class="filename">/boot/kernel</tt> before
|
|
proceeding beyond 	 this point.</p>
|
|
</li>
|
|
|
|
<li>
|
|
<p>The FreeBSD source tree in <tt class="filename">/usr/src</tt> 	 (if present) will
|
|
be deleted. (Normally 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 will update a source
|
|
tree, 	 but in this case the changes in release packaging result 	 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
|
|
	 the source tree from the old release and the source tree 	 from the new release
|
|
correspond to the same part of 	 FreeBSD.)</p>
|
|
</li>
|
|
</ol>
|
|
|
|
<pre class="screen">
|
|
<samp class="prompt">#</samp> freebsd-update install
|
|
</pre>
|
|
|
|
<p>The system must now be rebooted with the newly installed 	kernel before the
|
|
non-kernel components are updated.</p>
|
|
|
|
<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 	again to
|
|
install the new userland components:</p>
|
|
|
|
<pre class="screen">
|
|
<samp class="prompt">#</samp> freebsd-update install
|
|
</pre>
|
|
|
|
<p>At this point, users of systems being upgraded from FreeBSD 	8.2-RELEASE or
|
|
earlier will be prompted 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> to rebuild all third-party
|
|
applications 	(e.g., ports installed from the ports tree) due to updates in
|
|
	system libraries.</p>
|
|
|
|
<p>After updating installed third-party applications (and 	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
|
|
	indicating that this was necessary), run 	<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
|
|
old (no 	longer used) system libraries:</p>
|
|
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<hr />
|
|
<p align="center"><small>This file, and other release-related documents, can be
|
|
downloaded from <a
|
|
href="http://www.FreeBSD.org/releases/">http://www.FreeBSD.org/releases/</a>.</small></p>
|
|
|
|
<p align="center"><small>For questions about FreeBSD, read the <a
|
|
href="http://www.FreeBSD.org/docs.html">documentation</a> before contacting <<a
|
|
href="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>>.</small></p>
|
|
|
|
<p align="center"><small>All users of FreeBSD 9.1-STABLE should subscribe to the <<a
|
|
href="mailto:stable@FreeBSD.org">stable@FreeBSD.org</a>> mailing list.</small></p>
|
|
|
|
<p align="center"><small>For questions about this documentation, e-mail <<a
|
|
href="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>>.</small></p>
|
|
</body>
|
|
</html>
|
|
|