Updated on 2022-08-29 GMT+08:00

Creating an Empty VM

Prerequisites

VirtualBox has been installed.

Procedure

  1. Open VirtualBox and click New. In the displayed Create Virtual Machine dialog box, enter a VM name, select an 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 you want to install on the VM.

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

    You can reference the VM specifications or official OS requirements. The minimum value is 256 MB. You can set the memory size to 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 and click Next.
    Figure 4 Setting the hard disk file type
  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 to 20 GB.

    Figure 6 Setting the disk location and size
  7. Click Create.