Adding (Slipstream) custom drivers to ESX 4.1 CD
First of all, obtain the ESX install ISOs from the VMware web site, along with the required custom driver update(s), which are also supplied in ISO format.
Typically, network adapter drivers are the most common items which need updating.
Since the installation ISO will be modified, it's necessary to obtain an editor which can handle such modifications correctly.
MagicISO is strongly recommended for the task. There is a cost to license it, but at under $30.00, it's a very attractive price.
It is a Windows application.
PowerISO is not recommended since it changes the MD5 checksum and will render the output ISO useless.
WinSCP is recommended as the secure FTP solution for moving items between Linux and Windows.
Using an editor such as Notepad++ (notepad will alter the formatting), locate the appropriate line in the file (in this example, the tg3 driver)
Scroll to the right until the driver rpm details are visible.
Change the name to the updated driver rpm file name and save the changes.
Replace the file in the ESX installation ISO.
Using the Notepad++ editor, locate the line for the rpm and modify it with the name of the new rpm. Save the changes.
Replace the file in the ESX installation ISO.
Verify that the package for the driver exists.
If the package is absent (unlikely), add it in the same format.
If the file has been modified, save the changes and replace the file on the ESX installation ISO.
Copy the file to a working directory on a Linux system or the BFC.
Please be aware that it is packaged several times, so a utility such as 7-Zip will be able to handle this. Unpack and navigate the folders to vmkmod:
gunzip < initrd.img | cpio –i –-make-directories
1.Copy the driver module (tg3.so) to the directory usr/lib/vmware/vmkmod of the extracted RAMdisk.
2.Copy the pciids file (tg3.xml) to the directory usr/share/hwdata/pciids of the extracted RAMdisk.
3.Recreate the RAMdisk by running the following commands:
find ./ | cpio –H newc –o > initrd.cpio gzip initrd.cpiomv initrd.cpio.gz initrd.img
Please take care not to include the original RAMdisk (initrd.img). You'll need to move it before running the above commands.
1.Transfer the new initrd.img to the Windows system.
2.Replace the original isolinux/initrd.img with this new one.
3.Save the ISO.
4.Use the updated ISO to burn a DVD and perform a native ESX install to verify that all of the updates have been applied correctly.
5.Once the test installation has been confirmed, transfer the ISO to your designated directory, on the BFC.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|