I want to run Win10 as VirtualBox vm in linux from the existing install on sda by attaching a vmdk file (virtualbox manual chapter 9: rawdisk). If the vmdk file is attached to the vm as SATA, then the vm displays "Welcome to GRUB! error: no such cryptodisk found" and goes into grub rescue. If it is atttached as IDE, then the vm goes to a UEFI shell with the EFI partition sda2 mounted as fs0, and W10 can be started by typing in the shell
Code: Select all
fs0:\efi\microsoft\boot\bootmgfw.efi
Code: Select all
System:
Host: Pluto Kernel: 5.13.12-artix1-1 x86_64 bits: 64 Desktop: Xfce 4.16.0
Distro: Artix Linux
VirtualBox 6.1.26-1
Machine:
Type: Laptop System: HP product: HP Notebook v: Type1ProductConfigId
Mobo: HP model: 8305 v: KBC Version 73.16 serial: <superuser required>
UEFI: Insyde v: F.25 date: 01/19/2017
Drives:
ID-1: /dev/sda vendor: BHT model: WR202HH032G E70215F5 size: 29.12 GiB
ID-2: /dev/sdb vendor: Aireye model: S1 120GB SSD size: 111.79 GiB