[ale] initrd.gz and Debian

James Sumners james.sumners at gmail.com
Wed Mar 30 18:28:48 EDT 2011


>From [1]:

"copy_modules_dir
              copies an entire module directory  from  /lib/modules/KERNELVER-
              SION/ into the initramfs image.

              Example: copy_modules_dir kernel/drivers/ata"

So you would create a hook script, as described in the manpage, and
have that script do the above. Then you would use initramsfs-tools to
build your new image.

[1] -- http://man.he.net/man8/initramfs-tools

On Wednesday, March 30, 2011, Brandon Colbert <colbert.brandon at gmail.com> wrote:
> Question,
>
> Does anyone know how to load a kernel module(megaraid_sas.ko) to the (inital ram disk) initrd.gz?
> We got some new servers that Debian does not have built in drivers for.
>
> I assume this is the method to use because we are using the pre-seeding method to build out servers.
>

-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59


More information about the Ale mailing list