aurfalien at gmail.com
2009-Aug-19 23:56 UTC
[CentOS] centos 5.1 kickstart CD and intel 82576 driver
Hi all, I've got a Centos 5.1 kickstart that I must continue to use. How can I update the kick start image so that it recognizes Intel gigabit 82576 nic? BTW, I compiled the driver I need and have this igb.ko file. How do I incorporate that into my initrd.img file that I see on the kickstart CD that is probably my kickstart boot OS. Thank you very much in advance. aurf - -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090819/21a86d2b/attachment-0003.html>
aurfalien at gmail.com
2009-Aug-21 03:40 UTC
[CentOS] centos 5.1 kickstart CD and intel 82576 driver
Well, first of all, thanks so much for the overwhelming response to my post. I got it working and here is what I did; 1 - Get the source from Intel and compile in the same env as the kickstart OS. You will have an igb.ko file as a result. 2 - Mount the kickstart CD; a - cd to were you want it. b - gunzip < /media/CDROM/initrd.img | cpio -i --make-directories 3 - change to to the modules directory that was created in #2b above. a - gunzip < modules.cgz | (cd were you want it && cpio -idv) b - cp igb.ko were ever you wanted it from #a above/kernal-version/86x64 4 - change to the parent dir the of kernal-version and do; a - find kernal-version | cpio -ov -H crc | gzip > path to were u want it/modules.cgz 5 - modify the files in your modules dir from #2b above, Since 5.3 has support for this Itel NIC, I had to reverse engineer from 5.3 initrd.img the files; pci.ids modules.alias 6 - go into the parent dir from #2b were the contents of initrd.img were extracted and were you modifying the files in #3b and #4b; a - (find . | cpio --quiet -c -o) > ../initrd.img 7 - copy the iniitrd to your original isolinux dir that the kickstart Cd is based off of. 8 - change to that dir and do; a - mkisofs -o ../whatevername.iso -b isolinux.bin -c boot.cat -no- emul-boot -boot-load-size 4 -boot-info-table . 9 - use what ever burning sw to create a CD from iso. Hope this helps any one in a similar bind. On Aug 19, 2009, at 4:56 PM, aurfalien at gmail.com wrote:> Hi all, > > I've got a Centos 5.1 kickstart that I must continue to use. > > How can I update the kick start image so that it recognizes Intel > gigabit 82576 nic? > > BTW, I compiled the driver I need and have this igb.ko file. > > How do I incorporate that into my initrd.img file that I see on the > kickstart CD that is probably my kickstart boot OS. > > Thank you very much in advance. > > aurf --------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090820/a5bd59af/attachment-0003.html>