Extracting the vSZ Image

The vSZ image for a kernel-based virtual machine (KVM) is distributed in QCOW2 format.
  1. Obtain the vSZ image in QCOW2 format.
  2. Copy the image to the KVM.
  3. Open the terminal window.
  4. Make the image bin file executable by entering the following command: chmod +x {file name of the controller QCOW2 bin} See Figure for an example.

    Make the bin file executable

  5. Extract and install the contents of the QCOW2 bin file.

    Extract the contents of the QCOW2 image

  6. At the Accept this agreement? [yes/no] prompt, enter yes.

    Accept the EULA terms

    The KVM continues to extract the contents of the image. When the extraction process is complete, the QCOW2 file appears in the same directory as the .bin file.

    The QCOW2 file appears in the same directory as the .bin file

    Note: If the “uudecode: command not found” error appears during the extraction process, install the “sharutils” package on the KVM, and then try extracting the image again.
  7. Resize the vSZ disk image, if necessary. By default, the vSZ disk size is 50GB. If you want to allocate more disk space to the vSZ, run the qemu-img command. The complete syntax is as follows: qemu-img resize {file name of the controller QCOW bin} +size