Cannot interact with VM - booted from RAW VMDK

Discussions related to using VirtualBox on Windows hosts.
Post Reply
spiri
Posts: 19
Joined: 20. Aug 2020, 01:34

Cannot interact with VM - booted from RAW VMDK

Post 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?
Attachments
VBox.7z
(22.81 KiB) Downloaded 3 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Cannot interact with VM - booted from RAW VMDK

Post 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.
spiri
Posts: 19
Joined: 20. Aug 2020, 01:34

Re: Cannot interact with VM - booted from RAW VMDK

Post 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.
Post Reply