To create a Virtual Machine (VM) using the GUI, follow the steps below. To use VBoxManage, see Creating a New Virtual Machine Using VBoxManage.
In VirtualBox Manager window, click Home, then click New and follow the workflow.
If you don't see the New Virtual Machine workflow, change the experience level to Basic. See Experience Levels for VirtualBox Manager. In Expert mode you see all the options on one page.
The exact settings available depend on the architecture of the host platform.
Once created, the virtual machine is displayed in the Machines list in VirtualBox Manager, with the name that you specify. You can make changes later, in the Settings for the VM.
You must supply an operating system image, in ISO format, for the operating system you intend to install on the VM. Oracle VirtualBox does not supply the OS or any license required to use it.
Windows 10 with Visio. The name is also used to help Oracle VirtualBox suggest the appropriate OS and related field contents automatically, unless you have selected the OS Type.The supported OSs are grouped into types. If you want to install something very unusual that is not listed, select Other as the OS.
Depending on your selection, Oracle VirtualBox will enable or disable certain VM settings that your guest OS may require. This is particularly important for 64-bit guests (see 64-bit Guests).
If you prefer to install the OS manually, deselect Install OS Using Unattended Installation. The selected ISO image is attached to the new VM and you must install the OS from there.
If you chose Unattended Installation, Oracle VirtualBox you must supply certain configuration options to be used in the installation.
See also Creating a New Virtual Machine Using VBoxManage for details of how to configure unattended installation from the command line.
For Windows guests, enter the Product Key supplied with Windows.
Enter the Host Name for the VM. By default, this is the same as the VM name.
Enter the Domain Name for the VM.
Based on the OS you have chosen, Oracle VirtualBox suggests a suitable default size for Base Memory. This is the amount of RAM that Oracle VirtualBox should allocate to the virtual machine (VM) every time it is started. The guest OS will report this size as the VM's installed RAM.
Choose this setting carefully. The memory you give to the VM will not be available to your host OS while the VM is running.
Do not specify more than you can spare, whilst ensuring you allocate enough for your guest OS and applications to run properly. For example, if your host machine has 4 GB of RAM and you enter 2048 MB as the base memory for a VM, you will have 2 GB left for all the other software on your host while that VM is running.
A guest OS may require at least 1 or 2 GB of memory to install and boot up. If you intend to run more than one VM at a time, plan accordingly. A VM will not start if it does not have enough RAM to boot.
Always ensure that the host OS has enough RAM remaining. If insufficient RAM remains, the system might excessively swap memory to the hard disk, which will effectively bring the host system to a standstill.
For Processors, select the number of virtual processors to assign to the VM. Do not assign more than half of the total processor threads from the host machine.
Choose the Disk Size for a new, dynamically allocated, virtual hard disk image to be created in the VM folder.
For other options when allocating virtual storage, see Virtual Storage.Select Use EFI to boot the guest OS using Extended Firmware Interface (EFI).
You can create a VM on the command line using VBoxManage. See also VBoxManage createvm.
The following example uses various VBoxManage commands to specify the VM and configure an unattended guest installation for an Oracle Linux VM on a Linux host.
It then shows the use of the VBoxManage unattended install command to install and configure the guest OS.
# VM="ol8-autoinstall"
# VBoxManage list ostypes
# VBoxManage createvm --name $VM --ostype "Oracle_64" --register
The VM has a unique UUID.
An XML settings file is generated.
# VBoxManage createhd --filename /VirtualBox/$VM/$VM.vdi --size 32768
Create storage devices for the VM.
# VBoxManage storagectl $VM --name "SATA Controller" --add sata --controller IntelAHCI # VBoxManage storageattach $VM --storagectl "SATA Controller" --port 0 --device 0 \ --type hdd --medium /VirtualBox/$VM/$VM.vdi
# VBoxManage storagectl $VM --name "IDE Controller" --add ide # VBoxManage storageattach $VM --storagectl "IDE Controller" --port 0 --device 0 \ --type dvddrive --medium /u01/Software/OL/OracleLinux-R7-U6-Server-x86_64-dvd.iso
(Optional) Configure some settings for the VM.
# VBoxManage modifyvm $VM --ioapic on
# VBoxManage modifyvm $VM --boot1 dvd --boot2 disk --boot3 none --boot4 none
# VBoxManage modifyvm $VM --memory 8192 --vram 128
Specify the Unattended Installation parameters, and then install the OS.
# VBoxManage unattended install $VM \ --iso=/u01/Software/OL/OracleLinux-R7-U6-Server-x86_64-dvd.iso \
--user=login --full-user-name=name --user-password password \
Note that the specified password is also used for the root user account on the guest.
--install-additions \
--time-zone=CET
Start the virtual machine.
# VBoxManage startvm $VM --type headless
The VM starts in headless mode, which means that it does not have a GUI.