Page 1 of 1

Cannot interact with VM - booted from RAW VMDK

Posted: 13. Sep 2020, 17:56
by spiri
Hello,

I have a physical hard disk with Windows 10 and Arch Linux installed for Multiboot (using Grub Bootloader).

Host ist Windows, Guest is Linux.

So I created a RAW VMDK image of my physical hard disk and I'm trying to boot my physical Linux on a VM.

Booting my physical Windows from Linux is working so I wanted to achieve the same thing in Windows.

I created the RAW VMDK file like this:

Code: Select all

vboxmanage internalcommands createrawvmdk -filename archlinux.vmdk -rawdisk \\.\\PhysicalDrive0
Everything is working so far, I run VirtualBox as Administrator with Extension Pack installed, then I select "Arch Linux" in Grub Boot Menu.

But the root partition of my Linux is LUKS-encrypted so I need to enter password to unlock the partition.

Beginning from here keyboard is not working anymore. Also Soft Keyboard not working. Also ACPI Shutdown & Ctrl+Alt+Del isn't responding anymore.

What can I do here to work around this problem?

Re: Cannot interact with VM - booted from RAW VMDK

Posted: 13. Sep 2020, 18:10
by scottgus1
You are attaching USB devices during the run of this guest. If any of these devices are the only physical keyboard attached to the PC, this interferes with Virtualbox's automatic keyboard handling.

Additionally, the keyboard and motherboard are different 'hardware' in the Virtualbox environment, so ACPI drivers and possibly keyboard drivers need to be reconfigured to run in Virtualbox. How to do this, though, I would not know.

Re: Cannot interact with VM - booted from RAW VMDK

Posted: 14. Sep 2020, 12:00
by spiri
Keyboard is working in the Grub Menu. I could prepare a key file stick and trying to boot directly to the graphical runlevel. Maybe it's working then.

Very sad. However, at least it works vice-versa, booting my physical Windows 10 from Linux.

Thank you for the support so far.