Gentoo Archives: gentoo-user

From: "Benjamen R. Meyer" <bm_witness@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Creating an initrd for loading...
Date: Thu, 27 Mar 2008 18:33:01
Message-Id: 47EBE7E6.1030704@yahoo.com
In Reply to: Re: [gentoo-user] Creating an initrd for loading... by Florian Philipp
1 Florian Philipp wrote:
2 > On Thu, 2008-03-27 at 12:35 -0400, Benjamen R. Meyer wrote:
3 >> My main question comes down to this: I am using the 'genkernel' package
4 >> to build & install the kernel and initrd image. Both show up in /boot.
5 >> How much can I rely on genkernel to build a valid initrd image?
6 > Try "genkernel menuconfig all" to check for a valid kernel config before
7 > genkernel builds it. Refer to genkernel's man-page for further options.
8
9 Yes, I did that. I ran genkernel, and generated it all. The initrd just
10 doesn't seem to be working.
11
12
13 >> How can
14 >> I mount the initrd image to verify it has the modules, etc. and verify
15 >> it is a valid image?
16 > There is a wiki-entry about it: http://gentoo-wiki.com/HOWTO_Initramfs
17
18 Ok, so I used zcat to decompress the image, and then cpio to extract the
19 data to a temporary folder. (The instructions on the wiki didn't work
20 for some reason...complaints about finding cpio and zcat complaining
21 about arguments). Any how...
22
23 I snooped around the extracted files and was unable to find either the
24 qla2xxx module (or the qla2200 modules, or any modules for that matter)
25 or the qla2200 firmware. The firmware is on the hard drive (/dev/sda1 ->
26 /lib/firmward/qla2200_fw.bin), and so is the module -
27 /lib/modules/2.6.24-gentoo-r3/kernel/drivers/scsi/qla2xxx/qla2xxx.ko. Is
28 the initrd image invalid?? Or are they stored somehow in the files
29 non-obviously?
30
31 How could I easily add them to the initrd image? (This is really my
32 first time playing with initrd images...)
33
34 Thanks,
35
36 Ben
37
38 --
39 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Creating an initrd for loading... Florian Philipp <lists@××××××××××××××××××.net>