Re: How to add network driver for network installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
% mkdir /tmp/my_initrd
% 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 :-(



-----Message d'origine-----
De : centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] De la part de Fabian Arrotin
Envoyé : mardi 27 janvier 2009 14:00
À : CentOS mailing list
Objet : Re:  How to add network driver for network installation

If you want to do a network install you have to modify your initrd.img to include the specific network kmod.
That's what i did for the eeepc/CentOS 5.2 network setup You can also create a repo then that can be used during setup so that the network kmod will be installed on the filesystem too and that you have network access after the first reboot without having to manually install the driver/module

__________________________

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
__________________________

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux