<?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>Alien Pastures &#187; lilo</title>
	<atom:link href="http://alien.slackbook.org/blog/tag/lilo/feed/" rel="self" type="application/rss+xml" />
	<link>http://alien.slackbook.org/blog</link>
	<description>My thoughts on Slackware, life and everything</description>
	<lastBuildDate>Mon, 06 Feb 2012 00:27:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Robby&#8217;s libata switchover howto</title>
		<link>http://alien.slackbook.org/blog/robbys-libata-switchover-howto/</link>
		<comments>http://alien.slackbook.org/blog/robbys-libata-switchover-howto/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 14:25:26 +0000</pubDate>
		<dc:creator>alienbob</dc:creator>
				<category><![CDATA[Slackware]]></category>
		<category><![CDATA[ata]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[libata]]></category>
		<category><![CDATA[lilo]]></category>

		<guid isPermaLink="false">http://alien.slackbook.org/blog/?p=253</guid>
		<description><![CDATA[The new kernels in Slackware (post 13.0) have one important change compared to previous kernels. This change will affect anyone with Slackware installed on an IDE disk (like /dev/hda) who wants to upgrade to the latest state of affairs. The new kernels exclusively use &#8220;libata&#8221;. The last bits of the old IDE/ATA subsystem have finally [...]]]></description>
			<content:encoded><![CDATA[<p>The new kernels in Slackware (post 13.0) have one important change compared to previous kernels. This change will affect anyone with Slackware installed on an IDE disk (like <em>/dev/hda</em>) who wants to upgrade to the latest state of affairs.</p>
<p>The new kernels exclusively use &#8220;libata&#8221;. The last bits of the old IDE/ATA subsystem have finally been removed.</p>
<p>This means, that your IDE disk will be recognized as a &#8220;SCSI disk&#8221;. The device name &#8220;<em>/dev/hda</em>&#8221; will change to &#8220;<em>/dev/sda</em>&#8221; when you boot the new kernel. As a result, your computer will refuse to boot because the bootloader (grub or lilo) can not find the root device.</p>
<p>Robby Workman has written a <em>HOWTO</em> for anyone who wants to do this upgrade. The article was published as <a href="http://rlworkman.net/howtos/libata-switchover" target="_blank">http://rlworkman.net/howtos/libata-switchover</a>. By following the <em>HOWTO</em> you will not have any issues in upgrading to the new kernel.</p>
<p>I will print Robby&#8217;s <em>HOWTO</em> in full below to give it some more coverage:</p>
<blockquote><p><span style="color: #0000ff;">libata_switchover<br />
20100110<br />
rworkman</span></p>
<p><span style="color: #0000ff;">/*<br />
Thanks to David Somero, Old_Fogie, gegechris99, and GazL for valuable<br />
feedback and enhancements to this document.<br />
*/</span></p>
<p><span style="color: #0000ff;">This is written to provide one of several ways to retain a working system after upgrading from Slackware 13.0&#8242;s kernel to the newer kernel in -current (which removes support for the &#8220;old&#8221; ide subsytem, thereby causing all /dev/hd* devices to have /dev/sd* names.</span></p>
<p><span style="color: #0000ff;">1. Upgrade the kernel and kernel-modules packages normally.</span></p>
<p><span style="color: #0000ff;">2. Edit /etc/fstab to reflect the change from hd* to sd*.</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">If you have multiple SATA devices, and especially if you have some of<br />
both hd* and sd* devices present already, then you&#8217;re basically going<br />
to be playing a guessing game right now, and you probably want to<br />
consider using some of the persistent symlinks in /dev/disk/by-*/<br />
instead of raw device nodes.</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">* If you are using one of the generic kernels (requiring an initrd),<br />
then use the sd* name for the root device when creating the image<br />
(edit /boot/initrd-tree/rootdev and then re-run &#8220;mkinitrd&#8221;).</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">* You will almost surely want to remove the udev rules file for cdrom<br />
devices (it will be regenerated on the next boot with correct<br />
information reflecting the new libata stuff):<br />
# rm -f /etc/udev/rules.d/70-persistent-cd.rules</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">* Speaking of optical devices, if you have multiple disk drives and an<br />
optical drive using the old ide subsystem, then be aware that the<br />
optical drive will get a /dev/sr* name instead of /dev/sd* &#8212; this is<br />
relevant because you might see something like this (if your optical<br />
drive is currently /dev/hdb):</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">Old Name &#8211;&gt; New Name<br />
/dev/hda     /dev/sda<br />
/dev/hdb     /dev/sr0<br />
/dev/hdc     /dev/sdb</span></p>
<p><span style="color: #0000ff;">3. Run lilo.  Note that you have made no edits at all to it yet, unless<br />
you needed to edit it for the new kernel.  Specifically, do not make<br />
any changes with respect to hd* &#8211;&gt; sd*.</span></p>
<p><span style="color: #0000ff;">4. Reboot.  At the lilo prompt, press &lt;TAB&gt; and add an append for the<br />
real root device (which will no longer be /dev/hd*).  For example, if<br />
the old root device was /dev/hda1, and it will now be /dev/sda1, and<br />
the name of your kernel image is &#8220;Linux&#8221; then you would type this:</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">Linux root=/dev/sda1</span></p>
<p><span style="color: #0000ff;">5. Once the system comes back up, then fix /etc/lilo.conf, run lilo, and<br />
reboot again to be sure everything is correct.</span></p></blockquote>
<p>Good luck! Eric</p>
<p><em>PS: I have refreshed the copy of Robby&#8217;s text so that it reflects the updates he made to the original after feedback from several people.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://alien.slackbook.org/blog/robbys-libata-switchover-howto/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>initramfs unpacking failed: junk in compressed archive</title>
		<link>http://alien.slackbook.org/blog/initramfs-unpacking-failed-junk-in-compressed-archive/</link>
		<comments>http://alien.slackbook.org/blog/initramfs-unpacking-failed-junk-in-compressed-archive/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 08:47:42 +0000</pubDate>
		<dc:creator>alienbob</dc:creator>
				<category><![CDATA[Slackware]]></category>
		<category><![CDATA[initramfs]]></category>
		<category><![CDATA[initrd]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[lilo]]></category>

		<guid isPermaLink="false">http://alien.slackbook.org/blog/?p=119</guid>
		<description><![CDATA[Lilo, the 2.6.30.x kernel and Slackware on x86_64 Although Slackware -current still has a 2.6.29.x kernel, I am sure that people are experimenting with 2.6.30 kernels. In some cases, and only on Slackware for the x86_64 architecture so far, this may lead to boot problems. There is a problem that manifests itself when you are [...]]]></description>
			<content:encoded><![CDATA[<h3>Lilo, the 2.6.30.x kernel and Slackware on x86_64</h3>
<p>Although Slackware -current still has a 2.6.29.x kernel, I am sure that people are experimenting with 2.6.30 kernels. In some cases, and only on Slackware for the x86_64 architecture so far, this may lead to boot problems. There is a problem that manifests itself when you are using an initial ramdisk with your kernel. The error message that you may see (unless it scrolls off your screen too fast) is this:</p>
<blockquote><p><strong>&#8220;initramfs unpacking failed: junk in compressed archive</strong>&#8220;</p></blockquote>
<p>As a result, your computer will fail to boot.</p>
<p>Now, what is happening here?</p>
<p>By default, LILO loads your initial ramdisk (<span style="color: #0000ff;">/boot/initrd.img</span>) into the first 15MB of memory. This circumvents a BIOS limitation for older systems (typically, computers produced before 2001).</p>
<p>However, the linux kernel has been growing in size, and there are combinations of kernel and initrd that will no longer fit into the first 15MB of memory. This leads to boot failure. Because of the fact that the kernel and initrd files are compressed archives, the rule of thumb is that these issues appear when the combined size of your kernel and initrd files is larger than 8 MB. The kernel will then overwrite part of the initrd in memory, leading to the above error message.</p>
<p>For computers with a <span style="color: #0000ff;">x86_64</span> capable CPU, it is safe to assume that the computer has a BIOS without the 15MB limitation. In this case, you can add the following parameter to your &#8220;<span style="color: #0000ff;">/etc/lilo.conf</span>&#8221; file:</p>
<blockquote><p><strong>large-memory</strong></p></blockquote>
<p>This option instructs LILO to use a larger memory window when loading the initial ramdisk (do not forget to run the &#8220;lilo&#8221; command after making this change). It will cure the issue.</p>
<p>I think this should be added as a default option in the lilo.conf file generated by the liloconfig utility of slackware64.</p>
<p>Eric</p>
]]></content:encoded>
			<wfw:commentRss>http://alien.slackbook.org/blog/initramfs-unpacking-failed-junk-in-compressed-archive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

