Create the virtual machine

Create a new virtual machine as usual.

After defining the machine name and the operating system click on Next and assign your machine a preferred RAM size.

On the next dialog page you’re asked whether to create a new disk or to use an existing one. At this time don’t choose anything but move the created virtual disk image from the first section to the directory of your new virtual machine.

Now choose the disk image which you have just moved to your virtual machine’s directory.

The new virtual machine should appear in the left panel afterwards.

Boot the virtual machine

Now turn on your virtual machine. If your kernel doesn’t boot correctly the reason can be that you had other disks used in your previous system for which you have defined mount points in /etc/fstab that are no longer available.

In this case boot from a rescue system. You can use an ISO with a bootable linux of your choice, here the Arch Linux ISO was used. You need to add it as a storage in your virtual machine. Therefore right-click linux_from_usb in your virtual machine list and open the settings. In the Storage section you’ll see the storage tree where you have to add your ISO.

When booting from the ISO you need to mount your migrated partition, and edit your file system table.