How to install intel i211 LAN driver to initrd.img
Hello,
Is anyone know how to install the Intel i211 LAN to initrd.img in Slackware? Thanks. |
Hello, welcome to LQ Slackware forum :)
Searching the Internet with Google, I found that the driver name is 'igb'. You could generate a new initrd with the 'mkinitrd' command as root. Code:
mkinitrd -m igb:ext4 another version add e.g. '-k 4.14.7') with the ext4 and igb modules. You must run 'lilo' again after generate a new initrd.gz file. |
Quote:
Thanks for your answer. I found the "igb" driver but I don't want to generate a new initrd.img file. I want to add the driver to an existed initrd.img file. Do you know how to do? Thanks. |
Why someone will want to load a LAN driver in initrd? What utility has to do that?
After all, this driver will do something useful AFTER the network services are started by /etc/rc.d/rc.M (the final multiuser stage) ;) |
Quote:
other modules will be avialable, but I don't know for sure. edit- I think I misunderstood the question 'I don't want to generate a new initrd.img file. I want to add the driver to an existed initrd.img file. Do you know how to do?' Adding directily a file to the initrd.gz would be just add the file to the compressed initrd.gz, but I don't know if this is a good practice. If you use Lilo, you should run lilo again anyway, with grub I think it isn't necessary. But if you run 'mkinitrd -m igb' you will see that some other files will be added as well, so I think it is better to run mkinitrd with a list of the modules you want. |
Quote:
|
Quote:
The initrd.img of the Slackware installer already contains the 'igb' driver but it also contains a DHCP client, plus the code to initialize the interface and get an IP address. It will be a lot of work to add this. I know because I added PXE support to Slackware Live. |
All times are GMT -5. The time now is 03:32 AM. |