Manage Learn to apply best practices and optimize your operations.

UDA 1.4 and ESX 2.x.x Kickstart Installation – Updated

Two problems have been found with ESX 2.x.x installations with UDA.

Resolving the: “Error opening: kickstart file /tmp/ks.cfg: No such file or directory” message

Two problems have been found with ESX 2.x.x installations with UDA. We hope to resolve them soon. This information is offered as workaround.

The first problem is that PXE client (our ESX host) does not receive the KS configuration file in timely enough fashion. I believe this has to do with how the boot-loader in ESX 2.x.x handles the “pump” signals required to release and renew the IP address. However, it may be that the Apache web-service is the source of the problem.

The symptoms of the problem include a long wait at the “Determining host name and domain” message which finally results in an “Error opening: kickstart file /tmp/ks.cfg: No such file or directory” on the main kickstart screen. You can view extensive logging in at kickstart if you press either alt+F4 or alt+F5 respectively. In an Alt+F4 viewsystems seems to hang from a long time on “nodns is 0…” and in the Alt+F5 view systems to hang on the message “eth0 NIC link is up….” This problem seems to afflict HTTP communications particularly, this can be very easily rectified by configuring the UDA exports file to allow the PXE client to download the kickstart file using NFS rather than HTTP. The second problem is the default size of the RAM drive created by the ESX 2.x.x installation is not big enough. The results are shown in a message which reads “Unable to retrieve the first install image”.  This can be very easily corrected by increasing the amount of memory allocated to the RAM drive.

To reconfigure the UDA to work with ESX 2.5.4 carry out the following tasks

  1. Logon as root to the UDA using a secure shell client like putty
  2. edit the /etc/exports file with a text editor like nano:nano -w /etc/exports
  3. Copy the /solaris line with ctrl+k and ctrl+u to create this entry:/var/public/www/kickstart *(ro,nohide,insecure,no_root_squash,no_subtree_check,async)
  4. Save the file and Exit
  5. Restart the NFS service within the UDA withservice nfs restart
  6. Login as admin to the UDA using the web-admin interface with a web-browser
  7. Create a new template selecting ESX 2.x.x as your source
  8. Modify the boot parameters to beappend ip=dhcp ksdevice=eth0 load_ramdisk=1 ramdisk_size=10240 initrd=initrd.esx252 network ks=nfs:
    This creates a RAM drive of 10MB in size, and instructs kickstart to find the kickstart file on the NFS path, rather than an http path. Remember to replace the IP address here ( with the IP address of your UDA. 


    The source code of ESX is still delivered by http. Even with this fix – it does take some time for kickstart to make the transition from the “Determining host name and domain” message to download the ESX install image. In my system it took nearly 1 ½ minutes!


Update: Added some ESX 2.x.x kickstart files a while back. I discovered a problem where the /tmp partition was set to “grow”. This has been corrected.

Dig Deeper on VMware ESX and ESXi administrative tips