<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Updating_to_FreeBSD_6.0</id>
		<title>Updating to FreeBSD 6.0 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Updating_to_FreeBSD_6.0"/>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;action=history"/>
		<updated>2026-05-03T09:47:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=10961&amp;oldid=prev</id>
		<title>Jimbo at 12:11, 3 January 2009</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=10961&amp;oldid=prev"/>
				<updated>2009-01-03T12:11:58Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:11, 3 January 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 101:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 101:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; boot kernel.old&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; boot kernel.old&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This should boot your old kernel, and you can examine logs to try to determine what happened. One thing to watch out for though, don't just build another kernel without saving your current one, because then the current buggy kernel will overwrite your current failsafe ''kernel.old''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This should boot your old kernel, and you can examine logs to try to determine what happened. One thing to watch out for though, don't just build another kernel without saving your current one, because then the current buggy kernel will overwrite your current failsafe ''kernel.old''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Common Tasks]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jimbo</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=10960&amp;oldid=prev</id>
		<title>Jimbo at 12:11, 3 January 2009</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=10960&amp;oldid=prev"/>
				<updated>2009-01-03T12:11:26Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:11, 3 January 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Do your homework===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Do your homework===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Google for &amp;quot;FreeBSD ''version'' ''your-particular-hardware''&amp;quot; to see if anyone has had problems... and to check if there were any solutions. You may want to use &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[http://www.&lt;/del&gt;google.com/bsd&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/del&gt;, and double check with an archive of FreeBSD-Questions or FreeBSD-Stable as well. You also MUST read through /usr/src/UPDATING. For future reference, much of this information was taken from the COMMON ITEMS section of UPDATING, but some of it may change in the future, so it's only smart to double check.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Google for &amp;quot;FreeBSD ''version'' ''your-particular-hardware''&amp;quot; to see if anyone has had problems... and to check if there were any solutions. You may want to use &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;google.com/bsd&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;, and double check with an archive of FreeBSD-Questions or FreeBSD-Stable as well. You also MUST read through /usr/src/UPDATING. For future reference, much of this information was taken from the COMMON ITEMS section of UPDATING, but some of it may change in the future, so it's only smart to double check.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Backups===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Backups===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:5271:newid:10960 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jimbo</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=5271&amp;oldid=prev</id>
		<title>Joe: Fixing busted link</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=5271&amp;oldid=prev"/>
				<updated>2006-02-24T15:03:08Z</updated>
		
		<summary type="html">&lt;p&gt;Fixing busted link&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:03, 24 February 2006&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Source Update (described in this document)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Source Update (described in this document)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Reinstall using a new install iso cd (keep good backups... nice to fall back on)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Reinstall using a new install iso cd (keep good backups... nice to fall back on)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Binary update using the freebsd-update port as described [http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|&lt;/del&gt;here]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Binary update using the freebsd-update port as described [http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/ here]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The complete FreeBSD Handbook section can be found here: [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html] This article is an attempt to more clearly layout some of the steps involved for this particular upgrade.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The complete FreeBSD Handbook section can be found here: [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html] This article is an attempt to more clearly layout some of the steps involved for this particular upgrade.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3743:newid:5271 --&gt;
&lt;/table&gt;</summary>
		<author><name>Joe</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=3743&amp;oldid=prev</id>
		<title>62.163.37.105: /* Customizing the kernal */</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=3743&amp;oldid=prev"/>
				<updated>2006-02-05T21:11:11Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Customizing the kernal&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:11, 5 February 2006&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  override the CPUTYPE if it needs to.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  override the CPUTYPE if it needs to.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Customizing the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;kernal&lt;/del&gt;===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Customizing the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;kernel&lt;/ins&gt;===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;For a major update like this, you may want to simply install the GENERIC kernel, and then customize it and rebuild when you know the major version change hasn't disrupted something on your system. See [[Kernels,_Custom]] for information on customizing a kernel. Note that your old kernel config file from 5.X CANNOT simply be copied and used for 6.X. If you are going to use a custom kernel, just make sure to use '''make kernel KERNFILE=''your kernel config file (full path)'' ''' below.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;For a major update like this, you may want to simply install the GENERIC kernel, and then customize it and rebuild when you know the major version change hasn't disrupted something on your system. See [[Kernels,_Custom]] for information on customizing a kernel. Note that your old kernel config file from 5.X CANNOT simply be copied and used for 6.X. If you are going to use a custom kernel, just make sure to use '''make kernel KERNFILE=''your kernel config file (full path)'' ''' below.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3681:newid:3743 --&gt;
&lt;/table&gt;</summary>
		<author><name>62.163.37.105</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=3681&amp;oldid=prev</id>
		<title>Joe: changed section title to be harder to ignore</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=3681&amp;oldid=prev"/>
				<updated>2005-12-24T05:49:15Z</updated>
		
		<summary type="html">&lt;p&gt;changed section title to be harder to ignore&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 05:49, 24 December 2005&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;There are potential problems updating a system from 5.1-5.3 to 6.0 directly. Although they do not affect everyone, it is highly recomended to upgrade at least to RELENG_5_4 or RELENG_5 (Read [[FreeBSD_Release_Branches]] for definitions of these tags) before upgrading to 6.0 . You can use the somewhat more general instructions in [[Upgrading_the_base_system]] to do the upgrade from 5.X to RELENG_5.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;There are potential problems updating a system from 5.1-5.3 to 6.0 directly. Although they do not affect everyone, it is highly recomended to upgrade at least to RELENG_5_4 or RELENG_5 (Read [[FreeBSD_Release_Branches]] for definitions of these tags) before upgrading to 6.0 . You can use the somewhat more general instructions in [[Upgrading_the_base_system]] to do the upgrade from 5.X to RELENG_5.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Getting &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/del&gt;Source==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Getting &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Up To Date &lt;/ins&gt;Source==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Use [[FreeBSD_Release_Branches]] to help you decide which release to follow.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Use [[FreeBSD_Release_Branches]] to help you decide which release to follow.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Select a supfile tag.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Select a supfile tag.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3511:newid:3681 --&gt;
&lt;/table&gt;</summary>
		<author><name>Joe</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=3511&amp;oldid=prev</id>
		<title>Joe: Walkthrough of updating from 5.4 to 6.0, mostly from /usr/src/UPDATING + HBK</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Updating_to_FreeBSD_6.0&amp;diff=3511&amp;oldid=prev"/>
				<updated>2005-12-23T14:14:43Z</updated>
		
		<summary type="html">&lt;p&gt;Walkthrough of updating from 5.4 to 6.0, mostly from /usr/src/UPDATING + HBK&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This article describes the source upgrade process from 5.X to 6.0 . It is essentially the same as the handbook chapter, modified to highlight a few potential pitfalls in the upgrade process. There are three basic updating options, although the source update can be considered the 'standard' method.&lt;br /&gt;
#Source Update (described in this document)&lt;br /&gt;
#Reinstall using a new install iso cd (keep good backups... nice to fall back on)&lt;br /&gt;
#Binary update using the freebsd-update port as described [http://www.daemonology.net/freebsd-upgrade-5.4-to-6.0/|here]&lt;br /&gt;
&lt;br /&gt;
The complete FreeBSD Handbook section can be found here: [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html] This article is an attempt to more clearly layout some of the steps involved for this particular upgrade.&lt;br /&gt;
&lt;br /&gt;
==Upgrading from older versions of 5.X==&lt;br /&gt;
There are potential problems updating a system from 5.1-5.3 to 6.0 directly. Although they do not affect everyone, it is highly recomended to upgrade at least to RELENG_5_4 or RELENG_5 (Read [[FreeBSD_Release_Branches]] for definitions of these tags) before upgrading to 6.0 . You can use the somewhat more general instructions in [[Upgrading_the_base_system]] to do the upgrade from 5.X to RELENG_5.&lt;br /&gt;
&lt;br /&gt;
==Getting the Source==&lt;br /&gt;
*Use [[FreeBSD_Release_Branches]] to help you decide which release to follow.&lt;br /&gt;
*Select a supfile tag.&lt;br /&gt;
*Use [[Updating the source tree]] to update your source tree.&lt;br /&gt;
&lt;br /&gt;
==System Preperation==&lt;br /&gt;
There are a few things you need to do before you launch into compiling your new kernel, particularly if you are jumping across major versions.&lt;br /&gt;
&lt;br /&gt;
===Do your homework===&lt;br /&gt;
Google for &amp;quot;FreeBSD ''version'' ''your-particular-hardware''&amp;quot; to see if anyone has had problems... and to check if there were any solutions. You may want to use [http://www.google.com/bsd], and double check with an archive of FreeBSD-Questions or FreeBSD-Stable as well. You also MUST read through /usr/src/UPDATING. For future reference, much of this information was taken from the COMMON ITEMS section of UPDATING, but some of it may change in the future, so it's only smart to double check.&lt;br /&gt;
&lt;br /&gt;
===Backups===&lt;br /&gt;
Everyone says to make backups, what is less obvious is what exactly should be backed up. For example... usually large data directories and home directories that are on their own partitions or drives do not need to be backed up (more than usual). These are simply unmounted and not touched again until the system is up and running. Most of your system can just be dumped to a larger file system and left. But you will want to keep a few files handy (possibly inside of /root/old_system/ or something similer)&lt;br /&gt;
*/etc/rc.conf&lt;br /&gt;
*/boot/loader.conf&lt;br /&gt;
*/etc/sysctl.conf&lt;br /&gt;
You may want to check the loader.conf file for particular hardware modules that will need special attention. (nvidia is a common one)&lt;br /&gt;
&lt;br /&gt;
===Double check your /etc/[[make.conf]] settings===&lt;br /&gt;
From the [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html handbook]:&lt;br /&gt;
   Examine the files /usr/share/examples/etc/make.conf&lt;br /&gt;
 (called /etc/defaults/make.conf in FreeBSD 4.X) and /etc/make.conf.&lt;br /&gt;
 The first contains some default defines - most of which are commented out.&lt;br /&gt;
 To make use of them when you rebuild your system from source, add them&lt;br /&gt;
 to /etc/make.conf. Keep in mind that anything you add to /etc/make.conf&lt;br /&gt;
 is also used every time you run make, so it is a good idea to set them&lt;br /&gt;
 to something sensible for your system.&lt;br /&gt;
   A typical user will probably want to copy the CFLAGS and NO_PROFILE (or&lt;br /&gt;
 NOPROFILE on FreeBSD 5.X and older) lines found in&lt;br /&gt;
 /usr/share/examples/etc/make.conf (or in /etc/defaults/make.conf on&lt;br /&gt;
 FreeBSD 4.X) to /etc/make.conf and uncomment them. Examine the other&lt;br /&gt;
 definitions (COPTFLAGS, NOPORTDOCS and so on) and decide if they are&lt;br /&gt;
 relevant to you.&lt;br /&gt;
From a recent /usr/src/UPDATING&lt;br /&gt;
 If CPUTYPE is defined in your /etc/make.conf, make sure to use the&lt;br /&gt;
   &amp;quot;?=&amp;quot; instead of the &amp;quot;=&amp;quot; assignment operator, so that buildworld can&lt;br /&gt;
   override the CPUTYPE if it needs to.&lt;br /&gt;
&lt;br /&gt;
===Customizing the kernal===&lt;br /&gt;
For a major update like this, you may want to simply install the GENERIC kernel, and then customize it and rebuild when you know the major version change hasn't disrupted something on your system. See [[Kernels,_Custom]] for information on customizing a kernel. Note that your old kernel config file from 5.X CANNOT simply be copied and used for 6.X. If you are going to use a custom kernel, just make sure to use '''make kernel KERNFILE=''your kernel config file (full path)'' ''' below.&lt;br /&gt;
&lt;br /&gt;
===Upgrade your ports...===&lt;br /&gt;
by whatever means you use.  This is not strictly needed, but may head off problems with the last step in this process. You can refer to [[ports]] for more information about this.&lt;br /&gt;
&lt;br /&gt;
==Compilation==&lt;br /&gt;
Follow these steps in order, as long as they do not produce error messages.&lt;br /&gt;
 '''su -'''          ''#Become root''&lt;br /&gt;
 Password:&lt;br /&gt;
 '''cd /usr/src'''   ''#or to whichever directory you put src in''&lt;br /&gt;
 '''make buildworld'''&lt;br /&gt;
This will build the system libraries and surrounding programs for the operating system to function&lt;br /&gt;
 '''make buildkernel'''&lt;br /&gt;
 '''make installkernel'''&lt;br /&gt;
Build and install the [[Kernel]] itself. Note that you will often see documentation that tells you to &lt;br /&gt;
*make kernel&lt;br /&gt;
This is just an alias that executes both of the above commands in sequence.&lt;br /&gt;
 '''shutdown -r now''' ''#Reboot the system''&lt;br /&gt;
From the boot prompt '''boot -s''' will launch in single user mode. Then do the following:&lt;br /&gt;
 fsck -p&lt;br /&gt;
 mount -u /&lt;br /&gt;
 mount -a&lt;br /&gt;
 cd src            ''#or /usr/src''&lt;br /&gt;
 adjkerntz -i      ''#if the CMOS clock is set to local time''&lt;br /&gt;
This should get you ready to install world.&lt;br /&gt;
*Local Terminal Access&lt;br /&gt;
Note that this assumes you are at a local terminal on the machine. Single user mode makes sure that system binaries are not being replaced while they are being used. If you really cannot have physical access to the machine, you might risk cutting off all other services other than ssh, and killing any unnecessary daemons (to minimize library usage) and attempting the remote upgrade, but this is neither supported nor recomended. If you continue in multiuser mode you should realize there is a significant probability that you will break your system.&lt;br /&gt;
 '''mergemaster -p'''&lt;br /&gt;
This script will bring you through each of your configuration files and ask you if you want to update to the new settings that it has found. This will really depend on the settings files that are being updated. A common tactic here is to record any changes that look like they disappeared from any files that you edited, and accept all changes. Then examining the changes in more detail after the system is up and running.&lt;br /&gt;
 '''make installworld'''&lt;br /&gt;
Install the world libraries and programs.&lt;br /&gt;
 '''mergemaster -i'''&lt;br /&gt;
Run this script again to check for changes from the installed world.&lt;br /&gt;
 '''shutdown -r now'''&lt;br /&gt;
This will reboot the system. Bring it up again in as normal with your new kernel running. Type '''uname -a''' on a prompt to verify the version.&lt;br /&gt;
 '''portupgrade -af'''&lt;br /&gt;
This is not optional or minor. Your ports have linked against system libraries that have been changed, sometimes drastically. If you do not run this command, you will likely have streams of funny-looking error messages from a wide variety of your ports. This will probably take longer than any other part of the install (up to several days for slower systems with GUI's installed, an hour or two for a server without any massive ports installed).&lt;br /&gt;
&lt;br /&gt;
'''Restore configuration files'''&lt;br /&gt;
&lt;br /&gt;
Restore from your notes taken during the mergemaster -p phase, and the saved configuration files in the [[#Backups]] step. You may need to also reinstall any binary modules (non-ports) that you may have had previously installed. nvidia video drivers and RAID card drivers are commonly in this category.&lt;br /&gt;
&lt;br /&gt;
==If there are problems==&lt;br /&gt;
First... did you do everything properly and in order?&lt;br /&gt;
===If things break in compiling world or kernel===&lt;br /&gt;
This is probably the best place for things to break, as they haven't actually changed anything yet. Firstly, check a few of the listed errors in /usr/src/UPDATING, and try a few of the debugging ideas in the handbook. If neither that nor Google works. Keep in mind, if your kernel compile breaks here you haven't actually broken anything, so you've only inconvenienced yourself.&lt;br /&gt;
You may want to try ''make clean'' before doing subsequent build attempts.&lt;br /&gt;
&lt;br /&gt;
===If your system won't boot to the new kernel===&lt;br /&gt;
By default, FreeBSD saves a copy of the old kernel as kernel.old . If you can't get it to boot... at the countdown loader, interrupt it and type the following&lt;br /&gt;
 unload&lt;br /&gt;
 boot kernel.old&lt;br /&gt;
This should boot your old kernel, and you can examine logs to try to determine what happened. One thing to watch out for though, don't just build another kernel without saving your current one, because then the current buggy kernel will overwrite your current failsafe ''kernel.old''.&lt;/div&gt;</summary>
		<author><name>Joe</name></author>	</entry>

	</feed>