<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WiredRevolution.com &#187; oldonfig</title>
	<atom:link href="http://www.wiredrevolution.com/tag/oldonfig/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Wed, 18 Jan 2012 22:45:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Upgrade Gentoo Linux Kernel</title>
		<link>http://www.wiredrevolution.com/gentoo/upgrade-gentoo-linux-kernel?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=upgrade-gentoo-linux-kernel</link>
		<comments>http://www.wiredrevolution.com/gentoo/upgrade-gentoo-linux-kernel#comments</comments>
		<pubDate>Mon, 10 Nov 2008 13:05:18 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[gentoo-sources]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[grub.conf]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[menuconfig]]></category>
		<category><![CDATA[modules_install]]></category>
		<category><![CDATA[oldonfig]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=639</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/>Updating your kernel is important if you want to take advantage of new hardware support or bleeding edge features.  Aside from these obvious benefits it also allows you to keep up with security patches, system optimization, and overall stability issues. The first thing you have to do is emerge the latest gentoo-sources package. # emerge [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/setup-nfs-server-on-gentoo' rel='bookmark' title='Permanent Link: Setup NFS server on Gentoo'>Setup NFS server on Gentoo</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/update-your-entire-gentoo-linux-system' rel='bookmark' title='Permanent Link: Update your entire Gentoo Linux system'>Update your entire Gentoo Linux system</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/install-the-grub-boot-loader-to-the-mbr' rel='bookmark' title='Permanent Link: Install the GRUB boot loader to the MBR'>Install the GRUB boot loader to the MBR</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/><p>Updating your kernel is important if you want to take advantage of new hardware support or bleeding edge features.  Aside from these obvious benefits it also allows you to keep up with security patches, system optimization, and overall stability issues.</p>
<p>The first thing you have to do is emerge the latest <strong>gentoo-sources</strong> package.</p>
<pre>
# emerge -u gentoo-sources
</pre>
<p>The source will now be installed in <strong>/usr/src/linux-2.6.27-gentoo-r2</strong>.  Your specific version will differ from this one of course.</p>
<p>You now need to update the symlink to point to the new sources.</p>
<pre>
# cd /usr/src
# ln -s linux-2.6.27-gentoo-r2 linux
</pre>
<p>If your kernel is configured to store a copy of its current configuration in <strong>/proc/config.gz</strong> you can use those choices to start building your new kernel by copying and uncompressing this stored copy.</p>
<pre>
# zcat /proc/config.gz > /usr/src/linux/.config
</pre>
<p>If your current kernel doesn&#8217;t support this you can copy the configuration file from the old sources.</p>
<pre>
# cp /usr/src/linux-2.6.27-gentoo-r2/.config /usr/src/linux/.config
</pre>
<p>Move to the /usr/src/linux directory.</p>
<pre>
# cd /usr/src/linux
</pre>
<p>If you upgrade you kernel on a regular basis you can safely run <strong>make oldconfig</strong> to configure your new kernel options.  This will take your old kernel options and walk you through the configuration changes.</p>
<pre>
# make oldconfig
</pre>
<p>If its been awhile use <strong>make menuconfig</strong> instead. This will give you more context when making configuration choices.</p>
<pre>
# make menuconfig
</pre>
<p>Once the new kernel is configured it is time to build it as well as any modules you have specified.</p>
<pre>
# make &#038;&#038; make modules_install
</pre>
<p>If this completes successfully you new kernel image will be placed here: <strong>/usr/src/linux-2.6.27-gentoo-r2/arch/x86_64/boot/bzImage</strong>.</p>
<p>Copy this image to the <strong>/boot</strong> directory. You should rename it to differentiate it from past kernels.</p>
<pre>
# cp /usr/src/linux-2.6.27-gentoo-r2/arch/x86_64/boot/bzImage /boot/kernel-2.6.27-gentoo-r2
</pre>
<p>Finally in order to use this image you will have to update your bootloader, such as <strong>grub</strong>, and add a new entry for the kernel image you have just placed in the /boot directory.</p>
<p>Update <strong>grub.conf</strong> located here:<strong> /boot/grub/grub.conf</strong>. Keep your old kernel entry  until you have verified your new kernel works correctly.</p>
<pre>
# New Gentoo Kernel
title Gentoo Linux 2.6.27-r2
root(hd0,0)
kernel /boot/kernel-2.6.27-gentoo-r2 root=/dev/sda0

# old Gentoo Kernel
title Gentoo Linux 2.6.27-r1
root(hd0,0)
kernel /boot/kernel-2.6.27-gentoo-r1 root=/dev/sda0
</pre>
<p>To use the new kernel reboot and select this new entry at the bootloader screen.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/setup-nfs-server-on-gentoo' rel='bookmark' title='Permanent Link: Setup NFS server on Gentoo'>Setup NFS server on Gentoo</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/update-your-entire-gentoo-linux-system' rel='bookmark' title='Permanent Link: Update your entire Gentoo Linux system'>Update your entire Gentoo Linux system</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/install-the-grub-boot-loader-to-the-mbr' rel='bookmark' title='Permanent Link: Install the GRUB boot loader to the MBR'>Install the GRUB boot loader to the MBR</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/gentoo/upgrade-gentoo-linux-kernel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

