Today I've updated the popular removevmhba script to version 5.0. This version now includes the removal of the drivers in vSphere ESX 4.0 update 1 isos. Thanks to Dinny Davies who did excellent work again on finding a solution for removing them on vSphere ESX4 (he just beat me to it ). Check the original ESX 3.x.x version here, and the new ESX 4.x.x document here.
Go ahead, grab removevmhba from the downloads section and give it a try. It removes the drivers only during installation, so you don't need to bother disconnecting your SAN or zone out anything during installation (both Emulex and Qlogic - and also hardware initiated iSCSI adapters). It's much safer for a scripted installation of ESX using the UDA or EDA. After the installation you will have the drivers (since it is installed as a package) - so you will get connection back to your SAN.
Instructions
You can use an ESX server, but you need to have mkisofs installed and mkfs. So I just take a default Ubuntu installation or like Dinny, using a default CentOS installation. The script checks the requirements and quits with a message if they are not met.
Make sure you are logged in as root, and start the script with:
# removevmhba-updatenewbuildsv5.sh <ESX 3 or 4 iso>
The results should be:

Download
Download is for free, from here (I hope you enjoy it):
|