add network module initrd
Hi guys
How do I add a network module to a pxe initrd... I have managed to mount the initrd but when i make install and modprobe the module, it installs it into the /lib/modules/kernel-version.... of the system i am doing it from, instead of into the mounted initrd |
you need to use mkinitrd to create a new initrd image which includes your module.
|
Quote:
|
am sure you can unpack the current one and modify it to add your module and add load statements for it, initrd are gzipped cpio archives.
|
Code:
zcat initrd.img | cpio --make-directories --extract |
Quote:
where exactly ? |
when you extract the initrd you should find an init file in there if you are using a redhat based initrd, others may use a different initialization script. you will also see a libs directory where the modules are stored.
|
Quote:
|
All times are GMT -5. The time now is 11:55 AM. |