[CentOS] How to add network driver for network installation

MOKRANI Rachid Rachid.MOKRANI at ifp.fr
Tue Jan 27 16:12:47 UTC 2009


Sorry I make a mistake in my last email : MORE EASY FOR READING  



But it's not working :-(

1 - After installing CentOS 5.2 from scratch, I need to add the
following rpm for recognized my network card :
http://centos.toracat.org/ajb/CentOS-5/e1000e/kmod-e1000e-0.5.11.2_NAPI-
1.el5.x86_64.rpm 

OK it's working after install the following files. I have the network.
Good !
rpm -qlp kmod-e1000e-0.5.11.2_NAPI-1.el5.x86_64.rpm
/lib/modules/2.6.18-92.el5
/lib/modules/2.6.18-92.el5/extra
/lib/modules/2.6.18-92.el5/extra/e1000e
/lib/modules/2.6.18-92.el5/extra/e1000e/e1000e.ko



2 - for my network installation I do the following for trying to add the
new e1000e.ko module.
Something is mistake :-( but I don't know what . a dependency ? please
HELP !


% mkdir /my_isolinux
% cp -r /my_centos_DVD/isolinux /my_isolinux 
% cd /my_isolinux/isolinux 
% ls -1 
boot.cat boot.msg general.msg initrd.img isolinux.bin isolinux.cfg
memtest options.msg param.msg rescue.msg splash.lss TRANS.TBL vmlinuz


% mkdir INITRD
% mv initrd.img INITRD
% cd INITRD
% ls -1
initrd.img
% gunzip < initrd.img  | cpio -i --make-directories 
% ls -1 
bin dev etc init initrd.img modules proc sbin selinux sys tmp var 
% rm initrd.img 
% cd modules 
% ls -1 
module-info modules.alias modules.cgz modules.dep pci.ids 
% mkdir MODULES 
% cp modules.cgz MODULES 
% cd MODULES
% gunzip < modules.cgz | cpio -i --make-directories
% ls -1
2.6.18-92.el5
modules.cgz
% rm modules.cgz
% ls -al 2.6.18-92.el5/x86_64/e100*
-rwxr--r-- 1 root root 167808 jan 27 16:42
2.6.18-92.el5/x86_64/e1000e.ko
-rwxr--r-- 1 root root 204616 jan 27 16:42 2.6.18-92.el5/x86_64/e1000.ko
-rwxr--r-- 1 root root  84872 jan 27 16:42 2.6.18-92.el5/x86_64/e100.ko
%rm 2.6.18-92.el5/x86_64/e1000e.ko

"I Change my module "

% cp /lib/modules/2.6.18-92.el5/extra/e1000e/e1000e.ko
2.6.18-92.el5/x86_64/e1000e.ko 
% find 2.6.18-92.el5 -print | cpio -o -Hnewc | gzip -c9 > modules.cgz 
% mv modules.cgz  ../ 
% cd ../ 
% rm -rf MODULES 
% cd ../ 
% pwd 
/my_isolinux/isolinux/INITRD 
% find . -print | cpio -o -Hnewc | gzip -c9 > ../initrd.img_NEW 
% cd ..
% rm -rf INITRD
% mv initrd.img_NEW initrd.img
% ls -1
boot.cat
boot.msg
general.msg
initrd.img
isolinux.bin
isolinux.cfg
memtest
options.msg
param.msg
rescue.msg
splash.lss
TRANS.TBL
vmlinuz


Burn an ISO and  boot on the new CD. The intel network card is always
not recognized :-(



__________________________

Ce message (et toutes ses pièces jointes éventuelles) est confidentiel et établi à l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'IFP décline toute responsabilité au titre de ce message.

This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP should not be liable for this message.

Visitez notre site Web / Visit our web site : http://www.ifp.fr
__________________________


More information about the CentOS mailing list