CentOS 7.6 - Initrd.img not loading updated driver
1
vote
1
answer
2827
views
I have been trying to load an updated initrd.img file with updated drivers on booting the Centos 7.6 ISO, however it seems to still load the old driver even though I have replaced the driver.
##Steps taken:##
###Extracted initrd image from ISO:###
1. Mounted CentOS 7.6 ISO
2. Copied the initrd.img from isolinux/initrd.img to temporary folder (/tmp/image)
3. Created a new folder at /tmp/image/initrd
4. Extracted the initrd.img the folder by running
xz -dc /dev/null | cpio -c -o | xz -9 --check=crc32 > ../initrd.img
3. Copy the generated initrd.img back into the ISO at isolinux/initrd.img and images/pxe/initrd.img
##Expected Results##
After updating the driver in the initrd.img and copying it into the ISO, I expect the new driver (e1000e version 3.6.0) to be loaded in after the ISO install boot process is complete.
##Actual Results##
I am able to boot from the ISO and install Centos 7 from it, however after installing Centos, running the following command:
modinfo e1000e
Gives the old version of the driver that was on the initrd.img initially (e1000e version 3.2.6) rather than version 3.6.0 which I loaded onto the initrd.img image.
I am not too sure what I am doing wrong, whether I am creating the driver incorrectly, loading the driver incorrectly, creating the initrd.img incorrectly or anything else.
Any help would be appreciated as I have been trying to get this working for the past few days. This is my first post, so let me know if I am doing anything wrong or if any additional information is required debug this issue.
Cheers
Asked by luj
(11 rep)
Apr 8, 2020, 03:54 AM
Last activity: Apr 28, 2023, 06:07 AM
Last activity: Apr 28, 2023, 06:07 AM