[aklug] Re: Apparent failure of mind - lilo won't boot

From: Bruce Hill <bruce@slackwarebox.com>
Date: Mon Jul 11 2011 - 20:48:56 AKDT

On Mon, Jul 11, 2011 at 10:51:56PM -0500, David J. Weller-Fahy wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> * Bruce Hill <bruce@slackwarebox.com> [2011-07-11 00:45 -0500]:
> > On Sun, Jul 10, 2011 at 10:21:49PM -0500, David J. Weller-Fahy wrote:
> >
> > [snips throughout]
> >
> > It's too late for me to be up but I see one descrepancy perhaps. This
> > is my /etc/lilo.conf with /boot on RAID1:
>
> Apparently not too late for correctness! I believe you have found the
> answer, as evidenced by the palm print on my forehead. Sigh. ;)
>
> > initrd = /boot/initrd.gz
> >
> > You also need an initrd with / on LVM.
>
> Of course... now I need to figure out how initrd/initramfs works
> (probably the latter, as it seems to be the up and coming thing).
> However, the details are usually easy once the solution is identified.
> I'll dedicate a night to gaining that knowledge (already found [1], [2],
> and [3]).
>
> Also, I'll definitely report back as to the results... and as I'm
> documenting the process, I'll include a link.
>
> [1]: http://www.linux.com/learn/linux-training/92607-the-kernel-newbie-corner-qinitrdq-and-qinitramfsq-whats-up-with-that
> [2]: http://www.linux.com/learn/linux-career-center/114923-the-kernel-newbie-corner-qinitrdq-and-qinitramfsq-some-unfinished-business
> [3]: http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Introducing-initramfs-a-new-model-for-initial-RAM-disks/
>
> Thanks!
> - --
> dave [ please don't CC me ]

Don't know about those tutorials, but these 3 are easy to follow:

ftp://mirrors.kernel.org/slackware/slackware64-13.37/README_RAID.TXT
ftp://mirrors.kernel.org/slackware/slackware64-13.37/README_LVM.TXT
ftp://mirrors.kernel.org/slackware/slackware64-13.37/README.initrd

Those guides have worked for me in Gentoo as well as in Slackware.

The mkinitrd script for Slackware is interactive, and has some really nice
options ... many are Slackware specific.

The line from the README_LVM file:
mkinitrd -c -k 2.6.37.6-smp -m ext3 -f ext3 -r /dev/myvg/root -L
can probably be adapted for your system. (Don't remember if you posted
what you're actually installing.)

mkinitrd is just a script to create or rebuild an initrd (initial ramdisk)
using initramfs (simple cpio + gzip archive). Many guys write their own
script, but for me it's not necessary to reinvent the wheel. And iirc,
there is more than one AKLUGer with his own script.

Bruce

-- 
Happy Penguin Computers               >')
618 N. Gloster                        ( \
Tupelo, MS 38804                       ^^
support@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Jul 11 20:49:06 2011

This archive was generated by hypermail 2.1.8 : Mon Jul 11 2011 - 20:49:06 AKDT