raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Discussions about using Linux guests in VirtualBox.

raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby JB007 » 16. Apr 2021, 16:03

vbox.log
(88.58 KiB) Downloaded 6 times
Getting the error while starting the VM. raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Oracle Virtual Box - VirtualBox-5.2.8-121009-Win.exe. (After installing i am able to see only 32bit OS while creating VM.)
Created a VM with Ubuntu32bit.
While starting the VM getting the error - raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Host OS: Windows 10 Enterprise 64bit OS.
CPU: Supports Intel Virtualization
BIOS: Enabled Intel Virtualization Vtx and VT-d
Hyper-V - Unchecked
Windows Hypervisor - unchecked
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity - set 0
HKEY_LOCAL_MACHINE|SYSTEM|CurrentControlSet|Control|DeviceGuard|EnableVirtualizationBasedSecurity|Enabled - set it to 0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\CredentialGuard - set to 0
Local Computer Policy > Computer Configuration > Administrative Templates > System > Device Guard
> Turn on Virtualization Based Security - set to Disabled
JB007
 
Posts: 6
Joined: 16. Apr 2021, 15:39

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby mpack » 16. Apr 2021, 16:47

For the Hyper-v issue see HMR3Init: Attempting fall back to NEM (Hyper-V is active)

VirtualBox 5.2.8? (released Feb 2018). That passed EOL quite some time ago.

And this is not helping either:
00:00:03.154864 Oracle VM VirtualBox Extension Pack (Version: 6.1.18 r142142; VRDE Module: VBoxVRDP unusable because of 'VBoxExtPackVMRegister returned VERR_VERSION_MISMATCH, pReg=0000000000000000 ErrInfo='Helper version mismatch - expected 0x3 got 0x10002'')

Extension pack version must match the host software version. They must never under any circumstances be from a newer version of the software. I hope the Guest Additions are not the same - I can't tell now because the log doesn't get that far.
mpack
Site Moderator
 
Posts: 33607
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby JB007 » 18. Apr 2021, 21:14

vbox.log
(77.37 KiB) Downloaded 6 times
Now I took VirtualBox-6.1.18-142142-Win and installed.
Created a VM using Ubuntu OS - ubuntu-20.04.2.0-desktop-amd64

While Starting VM a blank screen appears with a cursor blink.
JB007
 
Posts: 6
Joined: 16. Apr 2021, 15:39

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby scottgus1 » 19. Apr 2021, 03:42

Your host still has Hyper-V enabled.
scottgus1
Site Moderator
 
Posts: 11589
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby JB007 » 19. Apr 2021, 11:24

vbox.7z
(21.4 KiB) Downloaded 3 times
Disabled the Hyper-V. still the issue. seeing the blank screen.
JB007
 
Posts: 6
Joined: 16. Apr 2021, 15:39

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby mpack » 19. Apr 2021, 12:15

JB007 wrote:
vbox.7z
Disabled the Hyper-V.

No, you did not.

00:00:06.659935 HM: HMR3Init: Attempting fall back to NEM: VT-x is not available
00:00:06.834261 NEM: WHvCapabilityCodeHypervisorPresent is TRUE, so this might work...

The first line of the first reply in this thread gave you a link to a FAQ. Please read it.

In future, please check whether the log still contains this line. There is no point in asking your question again if you have not followed the FAQ and thus disabled Hyper-v.
mpack
Site Moderator
 
Posts: 33607
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby JB007 » 19. Apr 2021, 18:08

followed all the steps.
- Virtualization is enabled in BIOS
- Disabled Hyper-V/ Hyper-V Platform
- Disabled Windows Hypervisor
- ran bcdedit /set hypervisorlaunchtype off
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity - and set to 0
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\CredentialGuard\Enabled - and set to 0
- HKLM|SYSTEM|CurrentControlSet|Control|DeviceGuard|EnableVirtualizationBasedSecurity|Enabled and set it to 0

Still i get the issue - WHvCapabilityCodeHypervisorPresent is TRUE in the log file. and hence failing to open the VM.

Not sure what else i need to check and configure.
JB007
 
Posts: 6
Joined: 16. Apr 2021, 15:39

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby scottgus1 » 19. Apr 2021, 18:10

The tutorial mentions that unchecking things in "Windows Features" doesn't help, but you tried it anyway.

Also not mentioned are the Dism command or the shutdown command, or the power off & unplug?
scottgus1
Site Moderator
 
Posts: 11589
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby JB007 » 20. Apr 2021, 10:31

vbox.7z
(21.47 KiB) Downloaded 2 times
- Uninstalled Docker
- Virtualization is enabled in BIOS
- Disabled Hyper-V/ Hyper-V Platform
- Disabled Windows Hypervisor
- ran bcdedit /set hypervisorlaunchtype off
- ran DISM /Online /Disable-Feature:Microsoft-Hyper-V
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity - and set to 0
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\CredentialGuard\Enabled - and set to 0
- HKLM|SYSTEM|CurrentControlSet|Control|DeviceGuard|EnableVirtualizationBasedSecurity|Enabled and set it to 0
- shutdown -s -t 2 . shut for 2 min.

still on the log - WHvCapabilityCodeHypervisorPresent is TRUE.

Attached log, if anything you can find out that i need to verify on my end.
otherwise we can close this thread, there may be some issue with my laptop.

Thanks.
JB007
 
Posts: 6
Joined: 16. Apr 2021, 15:39

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby scottgus1 » 20. Apr 2021, 14:24

Definitely still have Hyper-V. After shutdown, did you pull the battery out of the laptop?

Is this a company laptop that the IT overlords have inserted their tendrils into?
scottgus1
Site Moderator
 
Posts: 11589
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby JB007 » 20. Apr 2021, 14:45

This is my office laptop. There may be some restriction might have been imposed by IT.
I will talk with IT will update if i get anything.

Thanks for all reply.
JB007
 
Posts: 6
Joined: 16. Apr 2021, 15:39

Re: raw-mode is unavailable courtesy of hyper-v. (verr_supdrv_no_raw_mode_hyper_v_root)

Postby scottgus1 » 20. Apr 2021, 16:31

JB007 wrote:This is my office laptop.

Sounds good. This too was covered by the tutorial:
If your computer is running in a corporate environment with IT overlords, they may have forced Hyper-V, and none of the above will help. You will have to get IT to turn off Hyper-V so that you can run Virtualbox.
scottgus1
Site Moderator
 
Posts: 11589
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 13 guests