Chinaunix首页 | 论坛 | 博客
  • 博客访问: 479402
  • 博文数量: 67
  • 博客积分: 2952
  • 博客等级: 少校
  • 技术积分: 679
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-24 10:50
文章分类

全部博文(67)

文章存档

2011年(9)

2010年(36)

2009年(8)

2008年(5)

2007年(5)

2006年(4)

我的朋友

分类: LINUX

2010-05-31 17:11:46

  新买的Cisco C200机器网卡是 Intel Corporation 82576NS Gigabit Network Connection, 在前面的博文中已经实现了CentOS 5.3的initrd.img的支持,可以网络安装。现在的打算也用同样的方法将驱动加到esx4.0的启动文件中,网络安装esx4.0.
 
1. 下载该网卡的驱动
 
2. 解压出igb.o和igb.xml
# rpm2cpio /root/temp/.rpm/vmware-esx-drivers-net-igb-400.1.3.19.12.1-1.0.4.164009.x86_64.rpm |cpio -div

2. 从光盘esx4.0的iso的isolinux中得到initrd.img, 该文件是cpio-initrd,可用cpio解压出来。
# mv initrd.img initrd.img.gz
# gunzip initrd.img.gz
# mkdir initrd
# cd initrd
# cpio -idv <../initrd
 
3. copy driver
  用igb.o覆盖usr/lib/vmware/vmkmod/igb.o
  用igb.xml 覆盖usr/share/hwdata/pciids/igb.xml
 
8.
# cd /tmp/initrd
# find .|cpio -c -o >../initrd.img
# gzip initrd.img
# cp initrd.img.gz /tftpboot/initrd.img
于是新的initrd.img已包含新的igb driver,可以使用pxe装Cisco C200机器。
 

Also, we need to update esx4.0 ISO package in PXE to include the latest rpm package and packages.xml.

Because the issue of PXE boot is only for installation, after installation, if we want to get network connection, we still need to do the following steps:

1.)    Insert vmware-esx-drivers-net-igb-400.1.3.19.12.1-1.0.4.164009.x86_64.rpm to VMware/RPMS/

2.)    Update VMware/RPMS/packageData.pkl, change the new igb driver’s string

3.)    Update packages.xml in root directory and change the new igb driver’s string

阅读(1124) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~