Updated on 2023-05-15 GMT+08:00

Integrating the VMTools Driver into an ISO File

Scenarios

A Windows system with the Integrated Drive Electronics (IDE) hard drive and Virtio NIC is used on the cloud. Therefore, you need to integrate the VMTools driver into the ISO file of Windows before registering an image on the cloud platform. Typically, an ISO file contains all the files that would be included on an optical disc. Some software can be installed only from a CD-ROM drive. So, a virtual CD-ROM drive is required.

This section uses AnyBurn and UltraISO as examples to describe how to integrate the VMTools driver into an ISO file.

  • AnyBurn is lightweight CD/DVD/Blu-ray burning software with a free version.
  • UltraISO is an ISO CD/DVD image file handling tool. A free trial version is limited to ISO files of 300 MB or less. You are advised to buy a standard version.

Prerequisites

You have obtained an ISO file.

The ISO file name can contain only letters, digits, hyphens (-), and underscores (_). If the name does not meet the requirements, change it.

AnyBurn

  1. Download AnyBurn and install it on your local PC.
  2. Download the VMTools driver package and decompress it to your local PC.

    Download the package from https://ecs-instance-driver.obs.cn-north-1.myhuaweicloud.com/vmtools-windows.zip.

    For the mapping between Windows versions and VMTools packages, see Obtaining Required Software Packages.

  3. Use AnyBurn to open the ISO file.
    1. Open AnyBurn and select Edit Image File.

    2. Select the ISO file and click Next.

  4. Edit the ISO file to integrate the VMTools driver into it.
    1. Decompress the vmtools-windows.zip file downloaded in 2 to obtain vmtools-windows.iso, and then decompress vmtools-windows.iso to obtain the vmtools-windows folder.
      Figure 1 vmtools-windows folder
    2. Drag and drop the vmtools-windows folder to the parent node of the ISO file (or click Add and select the folder to add it to the parent node), and click Next.

    3. Select a path to save the new ISO file and specify a name for the new file. Select ISO as the file type. Click Create Now.

      After the new ISO file is generated, view the VMTools driver in it.

UltraISO

  1. Download UltraISO and install it on your local PC.

    Download address: https://www.ultraiso.com/

  2. Download the VMTools driver package and decompress it to your local PC.

    Download the package from https://ecs-instance-driver.obs.cn-north-1.myhuaweicloud.com/vmtools-windows.zip.

    For the mapping between Windows versions and VMTools packages, see Obtaining Required Software Packages.

  3. Use UltraISO to open the ISO file.
    Figure 2 Opening the ISO file

    Do not extract the ISO file or open it with some tool other than UltraISO, or the boot data will be lost.

  4. Decompress the vmtools-windows.zip file downloaded in 2 to obtain vmtools-windows.iso, and then decompress vmtools-windows.iso to obtain the vmtools-windows folder.
    Figure 3 vmtools-windows folder
  5. Drag and drop the vmtools-windows folder obtained in 4 to the parent node of the ISO file.
    Figure 4 Adding the vmtools-windows folder to the ISO file
  6. Use UltraISO to export the ISO file with the VMTools driver to an .iso file on your local PC.