How to Verify if the Configured Guest OS details are matching with the installed OS details in a VM.
search cancel

How to Verify if the Configured Guest OS details are matching with the installed OS details in a VM.

book

Article ID: 339726

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

This article guides you through determining the correct guest operating system type for your virtual machines. Setting the wrong guest operating system type can lead to the following issues:

  • Template deployment fails
  • VMware Tools installation fails
  • Unable to install VMware Tools

Environment

VMware vSphere 5.x
VMware vSphere 6.x
VMware vSphere 7.x
VMware vSphere 8.x

Resolution

Determining the version of the guest operating system from within the virtual machine

To determine the version of guest operating system for Windows:
  1. Click Start > Run.
  2. Type winver.
  3. Click OK. A dialog appears and indicates the version of operating system that you are running.
  4. Record the information from two places within the About Windows dialog. The version displayed as a graphical image next to the flag, and the text version below the graphics.
To determine the version of guest operating system for Linux:
  1. Log in to the command-line console of the virtual machine.
  2. Find the file that describes your version of Linux. Run:

    # ls /etc/*-release

    The output appears similar to:

    # ls /etc/*-release
    lsb-release

     
  3. View the contents of the -release file:

    # cat /etc/lsb-release

    The content appears similar to:

    # cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=7.10
    DISTRIB_CODENAME=gutsy
    DISTRIB_DESCRIPTION="Ubuntu 7.10"

     
  4. Record the version information.

To determine the version of guest operating system for Novell Netware:

  1. Log in to the console of the virtual machine.
  2. Run the version command:

    :version

     
  3. Record the version information.

To determine the version of guest operating system for Solaris:

  1. Log in to the command-line console of the virtual machine.
  2. View the /etc/release file. Run:

    # cat /etc/release
     
  3. Record the version information.

Determining the current operating system setting of your virtual machine

To determine the current operating system setting of your virtual machine:

  1. Right-click the name of the virtual machine to examine and click Edit Settings in the vSphere Client.
  2. Click the Options tab at the top of the Virtual Machine Properties window.
  3. The Guest Operating System section on the right displays the class of OS and version, set it to match the description you recorded above. Take care to select the proper bit-size. For example, 32bit versus 64bit.

    Note: For more information about support for 64bit guest operating systems on 32bit Intel hardware
    with VT support, see System requirements to install a 64-bit guest operating system on a 32-bit host
  4. Click OK to apply the settings and exit the Virtual Machine Properties window.

If the version of the virtual machine's operating system that you recorded is not shown in the Virtual Machine Properties, confirm that your guest operating system is supported for this version of ESX/ESXi. For more information on Guest OS compatibility, see the Guest Operating System Installation Guide.

 

Additional Information

Refer to the section 'Change the Configured Guest Operating System' in the below document.

General Virtual Machine Options

ゲスト OS のタイプが正しく設定されていることを確認する