Updated on 2024-09-30 GMT+08:00

Installing a Windows OS and VirtIO Drivers

Scenarios

This section uses Windows Server 2019 64-bit as an example to describe how to install Windows on an ECS.

The installation procedure varies depending on the image file you use. Perform operations as prompted.

Set the time zone, KMS address, patch server, input method, and language based on service requirements.

Prerequisites

You have remotely logged in to the ECS and entered the installation page.

Procedure

Do not stop or restart the ECS during the OS installation. Otherwise, the OS installation will fail.

  1. Install the Windows OS.

    1. Configure Windows setup.
      Figure 1 Windows setup
    2. Click Next.

      The installation confirmation window is displayed.

      Figure 2 Installation confirmation
    3. Click Install now.

      The Select the operating system you want to install dialog box is displayed.

    4. Select the version of the OS to be installed and click Next.

      The Please read the license terms dialog box is displayed.

    5. Select I accept the license terms, and click Next.

      The Which type of installation do you want? dialog box is displayed.

      Figure 3 Installation type
    6. Select Custom (advanced).

      The Where do you want to install Windows? dialog box is displayed.

      • If the system displays a message indicating that no driver is found, go to 1.g.
        Figure 4 Installation path
      • If a disk is displayed, go to 1.i.
        Figure 5 Installation path
    7. Click Load driver and then Browse.
      Figure 6 Loading drivers
    8. Select a driver based on the disk type.
      • If the disk type is VBD, choose viostor > 2k19 > amd64 and click OK.
        Figure 7 Browsing for a folder
        Select the viostor.inf driver and click Next.
        Figure 8 Selecting the driver to install
      • If the disk type is SCSI, choose vioscsi > 2k19 > amd64 and click OK.
        Figure 9 Browsing for a folder

        Select the vioscsi.inf driver and click Next.

        Figure 10 Selecting the driver to install
    9. Select the disk and click Next.
      Figure 11 Installation path
      If the disk type is Offline, you can stop and then start the ECS, and restart the OS installation process.
      Figure 12 Offline disk
    10. The Installing Windows dialog box is displayed, and the OS installation starts.

      The installation takes about 50 minutes. The ECS restarts during the installation. After the ECS successfully restarts, log in to it again and configure the OS as prompted.

      You are required to set a password for the OS user.

      Supported special characters include !@$%^-_=+[{}]:,./?

      Figure 13 Installation progress

  2. Install drivers.

    1. Open Computer and double-click the CD drive.
      Figure 14 Starting the CD drive
    2. Double-click virtio-win-gt-x64 or virtio-win-gt-x86. Install drivers as prompted.
    3. After the installation is complete, start Device Manager and check that all the drivers shown in the red box are successfully installed.
      Figure 15 Device Manager

Follow-up Procedure

Check whether the resolution can be changed. If it cannot, address it based on the system boot modes.

Hold down the Windows key and press R on your keyboard, enter msinfo32 in the Run box, and press Enter. In the right pane of the System Information dialog box, locate BIOS Mode.