<?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>Brandon W. King&#039;s Blog &#187; debian package</title>
	<atom:link href="http://www.brandonking.net/blog/tag/debian-package/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brandonking.net/blog</link>
	<description>Blogging about Python, Bioinformatics, Programming, System Administration, Cognitive Science, Philosophy and Life</description>
	<lastBuildDate>Wed, 09 Dec 2009 01:24:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Custom Debian Linux Kernel Debian package w/ initrd</title>
		<link>http://www.brandonking.net/blog/2006/12/06/custom-debian-linux-kernel-debian-package-w-initrd/</link>
		<comments>http://www.brandonking.net/blog/2006/12/06/custom-debian-linux-kernel-debian-package-w-initrd/#comments</comments>
		<pubDate>Wed, 06 Dec 2006 23:11:00 +0000</pubDate>
		<dc:creator>Brandon W. King</dc:creator>
				<category><![CDATA[Computers/IT]]></category>
		<category><![CDATA[Error Fixes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[debian package]]></category>
		<category><![CDATA[kernel]]></category>

		<guid isPermaLink="false">http://blog.brandonking.net/?p=21</guid>
		<description><![CDATA[My attempt to build a new Debian Linux Kernel was thwarted by initrd! Thanks to Diane Trout mentioning that when using make-kpkg, to build a kernel image, doesn&#8217;t automatically make an initrd image. I investigated further and found out if you use &#8211;initrd, it will automatically generate the initrd image.
Below are the instructions for building [...]]]></description>
			<content:encoded><![CDATA[<p>My attempt to build a new <span style="font-weight: bold;">Debian Linux Kernel</span> was thwarted by initrd! Thanks to <a href="http://alienghic.livejournal.com/">Diane Trout</a> mentioning that when using <span style="font-weight: bold;">make-kpkg</span>, to build a kernel image, doesn&#8217;t automatically make an initrd image. I investigated further and found out if you use <span style="font-weight: bold;">&#8211;initrd</span>, it will automatically generate the initrd image.</p>
<p>Below are the instructions for building a custom Debian Linux Kernel Debian package:</p>
<p>1) Install the following Debian packages (Need access to Universe repository for Ubuntu):</p>
<ul>
<li>kernel-package</li>
<li>initrd-tools</li>
</ul>
<p>2) Get the kernel source (choose version, I used 2.6.17):</p>
<p>apt-get install linux-source-2.6.17</p>
<p>3) Decompress /usr/src/linux-source-2.6.17.tar.bz2</p>
<p>4) cd /usr/src/linux-source-2.6.17</p>
<p>5) Switch to root if you haven&#8217;t done so already (sudo -s)</p>
<p>6) type &#8216;make menuconfig&#8217; to configure your kernel</p>
<p>It may require installing libncurses5 and libcurses5-dev.</p>
<p>7) type &#8216;make-kpkg &#8211;revision 1.0 &#8211;append-to-version -custom &#8211;initrd kernel_image&#8217;</p>
<p>Feel free to change the revision number or and use something other than custom (or omit &#8211;revision and &#8211;append-to-version to use defaults).<br />
 <img src='http://www.brandonking.net/blog/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> type &#8216;cd ..&#8217;</p>
<p>9) dpkg &#8211;install linux-image-2.6.17-custom_1.0_amd64.deb</p>
<p>Except using the .deb package name which was generated on your computer.</p>
<p>10) Reboot and enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brandonking.net/blog/2006/12/06/custom-debian-linux-kernel-debian-package-w-initrd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
