(Arch newbie here) I am running Arch 4.10, and would like to install Windows 10 in a virtual machine, but on a separate partition.
Background:
My drive layout (GPT Partition schema):
Device Start End Sectors Size Type
/dev/sda1 2048 2097151 2095104 1023M EFI System
/dev/sda2 4194304 1052770303 1048576000 500G Microsoft basic data
/dev/sda3 1052770304 1743810559 691040256 329.5G Linux filesystem
/dev/sda4 1743810560 1953523711 209713152 100G Linux filesystem
/dev/sda5 2097152 4194303 2097152 1G Linux filesystem
Partition functions:
sda1
efi disk infosda3
arch home/opt datasda4
arch system
sda2
- Windows partition to be installed in virtualbox
I create a vmdk using:
sudo VBoxManage internalcommands createrawvmdk -filename "/opt/win_part.vmdk" -rawdisk /dev/sda2
followed by setting permissions and owner:
sudo chmod a+rwx /opt/win_part.vmdk && sudo chown user /opt/win_part.vmdk
Setting up the Virtual Machine by adding the:
- vmdk of the harddrive partition :
win_part.vmdk
- Windows ISO
- any additional settings.
Also installing the virtualbox-extras for USB3 support, etc.
Problem:
I proceed by booting the Windows 10 iso
in Virtualbox done like one would normally install Windows with a USB or DVD.
The issue comes when trying to install Windows to the hard drive, it is not detected by the Windows installer as seen below.
Then looking at if the hard drive is actually detected by the system: