ESXi Free – how to upgrade to ESXi 5.1


If you’re running the free version of ESXi 5.0 in your homelab or testing it at work, you might be wondering what’s the easy way to upgrade existing ESXi 5.0 installation to the latest ESXi 5.1 without much effort and without breaking your existing installation, without re-installing everything. Your existing VMs won’t be affected.

I’ve already wrote about patching ESXi without vCenter, but this time the command used slightly differ, and here I’m showing you the the steps which needs to be accomplished to upgrade to the latest ESXi 5.1 version. More advanced users can skip, because they’ll probably know this method.

This article is meant to be for every user who don’t uses vSphere update manager for this process. I’m writing it down here for my own bookmarking needs as well. -:)

As you might already read in my article about the changes to the ESXi, there isn’t any vRAM limitation on the free ESXi 5.1 but there is still the 2 physical CPU limit together with the 32Gb physical RAM limit. If not I’d recommend to read those 2 articles:

The upgrade process from ESXi 5 free version to ESXi 5.1 free version is very straightforward. It takes 3 or 4 steps to complete. All the VMs running on the server must be shut down, because a reboot of the physical host is necessary.

ESXi 5 Free – upgrade to ESXi 5.1 – the steps:

01. Download the offline bundle for ESXi 5.1 at VMware (you’ll need to login through My VMware, or if you don’t have an account, you can create one for free) – file called VMware-ESXi-5.1.0-799733-depot.zip .

02. Activate SSH and shut down all your VMs running (if not already activated) . You can do it through the vSphere client. Configuration > Security Profile > Properties 

Enable SSh on VMware ESXi through GUI

03. Next thing you’ll need to do is to upload the bundle zip file which you just downloaded to the local (or shared) datastore of the ESXi server. You can use the vSphere client and the datastore browser for that or you can use the faster VeeamZIP Free by creating a copy job for the upload of the file to the datastore. You can also use the built in datastore browser via vSphere client…

03. Connect by using Putty and execute the following command:

Update: For the latest vSphere 5.1 U1 , just download this file:  update-from-esxi5.1-5.1_update01.zip

and upload it to one of your datastores.

Note: If you run the command with “install” switch, all your personalized drivers of officially unsupported NICs will be deleted. You might consider using the second command with the “update” switch instead.

Then run this command – this option preserves all drivers and VIBs:

esxcli software profile update -d /vmfs/volumes/datastore1/VMware-ESXi-5.1.0-799733-depot.zip -p ESXi-5.1.0-799733-standard

ESXi 5 upgrade to ESXi 5.1 - how to

04. Reboot the server and you’re done.

In case you want to revert back, just press Shift+R at the boot loader screen…

Comments

  1. says

    if we use the update command it generates the following error

    [DependencyError]
    VIB VMware_bootbank_esx-base_5.1.0-0.0.799733 requires esx-xlibs, but the requirement cannot be satisfied within the ImageProfile.
    Please refer to the log file for more details.

    this is on standard generic Build Number: 768111

    • JK says

      Use this instead.  esxcli software profile install -d /vmfs/volumes/datastore1/VMware-ESXi-5.1.0-799733-depot.zip -p ESXi-5.1.0-799733-standard

  2. Richard Robbins says

    When I attempt to download the file linked in step one above (and after I’ve logged in to My VMware, I receive an error that I’m not authorized to download the file.  I’m a free EXSi user only.  Do I need a new key?  Will my 5.0 key not suffice?  I’m a bit confused.

    — Rich

  3. Richard Robbins says

    I ended up just taking the 5.1 install image and doing an upgrade installation.  My old key continues to work with 5.1.

    — Rich

  4. Marc says

    Hello all, tried to upgrade ESXi 5.0U1 to 5.1 via instructions above (think you by the way), but get following error :
    Error: Unknown command or namespace software profile install -d /vmfs/volumes/Backups/esxi-updates/VMware-ESXi-5.1.0-799733-depot.zip

    any advise would be welcomed!
    thank you

  5. Richard Robbins says

    Why not just grabbing the 5.1 install image and doing an upgrade installation?  When you do so you will be given the choice of a fresh install or an upgrade of your existing install.

  6. Ryan says

    For those that are getting the error on VMWare’s site that says you don’t have permission: Click on the link to download the software, login, then click on the link again. You should now have access to download.

  7. asigurds says

    Upgraded to 5.1 by following the instructions. Now I’m unable to connect to the server.
    Going directly to the server address in a browser I get the following error message : 503 Service Unavailable

    When I log in via ssh, I’m unable to run any esxcli commands. I just get the following error : Connect to localhost failed: Connection failure

    Any help is appreciated.

    • Fred Reimer says

      Two things. 1) I believe you would need vCenter 5.1 in order to manage the upgraded ESX 5.1 host. 2) it turns off SSH during the upgrade, you can re-enable via the console and login.

    • asigurds says

      To answer my own question, I reset the host configuration through console and rebooted.
      Lost all my settings, but I was able to connect with the vSphere 5.1 client and reconfigure the host.

  8. Randy says

    I have ESXi 5.0.0.623860 on a bootable USB stick. I am unable to upgrade.
    I get a message ” The transaction is not supported: VIB VMware_bootbank_scsi-bnx2i_1.9.1d.v50.1-5vmw.510.0.0.799733 cannot be live installed.”
    I am in Maintenance mode.
    Any ideas?

  9. Stefan Walther says

    Unfo when you are a freebe uer you can not download the depo file, or am is missing something? 

    You are not entitled to download this product. VMware ESXi 5.1.0 Installable
    Download Trial or Buy Online

  10. Juan Gonzalez says

    Hi, this was actually pretty helpful! Thanks for such a good and simple explanation.  The only thing that gave me a hard time was finding out that I had to put the server on Maintenance mode and then reboot in order to make the command work.  Otherwise you’ll get the “cannot be live updated” error.

    I’m sure this is obvious for most of you VMWare wizards but for the newbies it’s a really important tip :-)

    Great work!

    • says

      Hi Juan,

      Thanks for the feedback. It’s probbably that I’m running a licensed version of ESXi, not the free one. As a vExpert I’ve been entitled for an enterprise plus. I haven’t had that message during my tests, but I’ll update the article with your informations.

      Best
      Vladan

  11. CaffeinatedTech says

    I had issues with my upgrade and ended up having to rollback. I tried both the update and the install method but had troubles.

    I was unable to power on any VMs, I just kept getting “General System Error”. Even with new blank VMs. Read some KB articles and tried various things but in the end just had to rollback.

    Not sure if installing fresh from a disc would make much difference, be a PITA if it didn’t, as I don’t have an optical drive in that machine.

  12. says

    I followed this procedure to basically go right from 5.0 update 1 to the latest 5.1 build (1021289). It worked for the most part, but I had problems installing vmware tools, it couldn’t find the tools ISO. Turns out some of the symlinks got messed up. The /locker directory was an endless loop of empty directories and links. I ended up having to remove it and create a symlink to /store. Once I did that, I could install VMware tools.

    I’m just hoping that was the only anomaly.

    Matt

  13. Jack says

    Keep getting
    ” VIB VMware_bootbank_esx-base_5.5.0-1.15.1623387 requires esx-xlibs, but the requirement cannot be satisfied within the ImageProfile.

    Funny thing is, the first time I did this it worked. Last 2 times I have had this problem :/

Trackbacks

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>