Updated at: 2022-02-22 GMT+08:00

Creating an Empty VM

This section describes how to create an empty VM.

Prerequisites

VirtualBox has been installed.

Procedure

  1. Open VirtualBox and click New. In the displayed Create Virtual Machine dialog box, enter the VM name, select the OS type and version, and click Next.

    Take Ubuntu as an example. The type must be Linux.

    Ensure that the selected version is the same as that of the OS to be installed.

    Figure 1 Creating a VM
  2. In the Memory size dialog box, set the memory size and click Next.

    For details about how to set the memory, see the VM configuration and official requirements for the OS. The default minimum size is 256 MB. This document uses 512 MB as an example.

    Figure 2 Setting the memory size
  3. In the Hard disk dialog box, select Create a virtual hard disk now and click Create.
    Figure 3 Creating a virtual hard disk
  4. In the Hard disk file type dialog box, select VHD as the file type of the virtual hard disk and click Next.
    Figure 4 Selecting the file type of the virtual hard disk
  5. In the Storage on physical hard disk dialog box, select Dynamically allocated and click Next.
    Figure 5 Selecting the disk allocation mode
  6. In the File location and size dialog box, set the disk size and storage location.

    For example, you can set the disk size 20 GB.

    Figure 6 In the File location and size dialog box, set the disk size and storage location.
  7. Click Create.
close