VMware: Cleanup bootloader after upgrading from ESX 3.x to vSphere 4.0


After upgrading from VMware ESX 3.x to ESX 4.0 you can cleanup the bootloader from the older ESX 3.5 installation. You can do this from the console of by connection the host with ssh, give the command “cleanup-esx3”


Little note: You can run the cleanup-esx command as long as everything works for you in 4. If you use the -f flag, the software prompts you to confirm that you want to disable the ability to roll back to the ESX 3.x.x.

Thanks xchello from Dutch VMug for the tip!

About Author

2 thoughts on “VMware: Cleanup bootloader after upgrading from ESX 3.x to vSphere 4.0

  1. You can upgrade by:

    – VMware Update Manager with an upgrade baseline;

    1. Copy both files ESX host Service Console
    2. Put host in maintenance mode
    3. Run esxupdate with “update –bundle=/path/to/pre-upgrade-zip-file”
    4. Run esxupdate with “update –bundle=/path/to/upgrade-zip-file”
    5. Reboot
    6. Exit maintenance mode
    Tip how to put host in maintenance mode using CLI
    # vimsh -n -e /hostsvc/maintenance_mode_enter
    Execute pre-upgrade patching
    # esxupdate update --bundle=pre-upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip
    Execute upgrade patching
    # esxupdate update --bundle=upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip
    And after succesful patching reboot ESX host
    # reboot
    To exit from maintenance mode using CLI run
    # vimsh -n -e /hostsvc/maintenance_mode_exit

    – VMware Host Update Utility: (only from 3.* to 4.0 not possible to 4.1)


    – VMware console/putty with “esxupdate update”:


    Let me know if you need more information

Leave a Reply

Your email address will not be published. Required fields are marked *