<?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>SysAdmin Adventures &#187; initrd</title>
	<atom:link href="http://blog.tpa.me.uk/tag/initrd/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tpa.me.uk</link>
	<description>Tech notes from a Systems Administrator</description>
	<lastBuildDate>Mon, 06 Sep 2010 12:57:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Evil of InitRD</title>
		<link>http://blog.tpa.me.uk/2009/08/30/the-evil-of-initrd/</link>
		<comments>http://blog.tpa.me.uk/2009/08/30/the-evil-of-initrd/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 14:26:03 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[initrd]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">https://blog.tpa.me.uk/?p=8</guid>
		<description><![CDATA[I understand that there are rare situations in which an initrd can be useful. For example, when hardware is constantly being swapped out, or when you absolutely must have an identical kernel image, or if you are using LUKS for your / partition. However, in general an initrd is, in my opinion, a completely pointless [...]]]></description>
			<content:encoded><![CDATA[<p>I understand that there are rare situations in which an initrd can be useful. For example, when hardware is constantly being swapped out, or when you absolutely must have an identical kernel image, or if you are using LUKS for your / partition. However, in general an initrd is, in my opinion, a completely pointless level of complexity that you are better off without.</p>
<p>I&#8217;m currently managing in excess of 15 completely different Slackware installs across lots of different hardware and not one of them is running a &#8220;huge&#8221; kernel, or an initrd. If a module is absolutely essential to your system&#8217;s ability to boot, why in hell haven&#8217;t you compiled it into your kernel? It&#8217;s like having a your starter-motor in your car disconnected from the battery, but having a relay on its own mini-battery connect it up when you turn the ignition.. why would you do it? What&#8217;s the point? The car will not start without it, why is it not hard wired into the system? It&#8217;s the same for the kernel. If the system won&#8217;t start without it, compile it into the kernel. Don&#8217;t play about with an injection system you don&#8217;t even need.</p>
<p>Ok, so your root device is inside RAID &amp; LVM on a GPT partition. So, compile in mdadm support for your RAID level, LVM support and GPT partition support; job done.</p>
<p>For the less experienced, it&#8217;s also a good way to learn the basics of kernel compilation without needing to do much more than follow a standard process. All you need to do is use the config from the generic kernel you were going to boot anyway, and knowledge of what filesystem your root device is installed with and what storage controller your disk uses. Go into the kernel config, add them in [*], make, make modules_install, move and symlink the new kernel, update lilo, reboot. Once you&#8217;ve done it twice, it becomes so routine and easy you&#8217;ll wonder why you haven&#8217;t been doing it forever.</p>
<p>Then, once you&#8217;re more familiar with the process, you can start removing other parts of the kernel you don&#8217;t need, especially hardware controllers for hardware you don&#8217;t have, with each step making your kernel smaller and your system leaner and faster.</p>
<p>Have kernel, will compile.</p>
<p><em>Post followed-up by:<br />
<a href="http://blog.tpa.me.uk/2009/08/31/compiling-your-own-slackware-kernel/">Compiling your own Slackware kernel</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/08/30/the-evil-of-initrd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
