VBoxManage createvm -name 'Windows XP' -ostype WindowsXP -register. First, create the virtual machine itself. And with that, we’ll start a new virtual machine called Windows XP which will run its namesake, Windows XP. And with that, we’ll start a new virtual machine called Windows XP which will run its namesake, Windows XP. In this example, you will create a Windows XP Virtual Machine on your Ubuntu 16.04 server. In this example, you will create a Windows XP Virtual Machine on your Ubuntu 16.04 server. Do this as you would create any normal VM. There are the basic commands you will need to use to create a virtual machine on the server. VBoxManage modifyhd ubuntu-core-16-amd64.vdi -resize 20480Īt this point, you can create the Ubuntu Core virtual machine ( VM) in VirtualBox. Let's resize that to a 20 GB image with the command: VBoxManage convertdd ubuntu-core-16-amd64.img ubuntu-core-16-amd64.vdi -format VDIĪlthough the resulting file is viable for VirtualBox, it's small. You now have a raw disk image that can convert into a form that VirtualBox can use. Once that file downloads, unpack the image with the command:
Open up a terminal window on your Linux host and issue the following command to download the compressed Ubuntu Core image file:
Let's walk through the process to download, install Ubuntu Core and log in - using VirtualBox running on an Elementary OS host as an example.īefore you continue, make sure you have an account with Ubuntu's single sign-on service and a secure shell key on your host system.