콤푸타/Windows

[VMware] Virtualize Intel VT-x/EPT or AMD V/RVI 옵션 에러

어둠의다크 2022. 1. 8. 11:27

 

VM 안에서 64bit vm 을 만들 필요가 있어서.. VM CPU 가상화 옵션을 켰는데 다음과 같은 에러가 발생했다.

 

 

윈도우 가상화 옵션인 Hyper-v 또는 WSL과 연관이 있다는것 같아서 해당 옵션을 껐다

방법은 다음과 같은데..

윈도우키+R 을 누른다음 optionalfeatures 입력 후 엔터를 누르면

 

optionalfeatures

 

위 사진과 같은 창이 나타난다

여기서 Hyper-v와 Linux용 Windows 하위 시스템 체크를 풀면된다. (WSL2가 직접적으로 연관이 있는건지 확실하게는 모르겠음)

 

##################  2022/01/10  ##################

확인 해 보니 WSL2의 경우 Hyper-v 가상화 플랫폼 위에서 돌아가기 때문에 VM에서 가상화 옵션을 사용하려면 WSL2 사용은 포기해야 할 듯 하다.

실제로 optionalfeatures에서 다른것들을 다 끄고 WSL 옵션만 체크한 후 WSL2 사용을 시도 해 보니 사용이 되지 않는다.

그렇지만 WSL1 은 사용 가능한 것 처럼 보이는데..

###############################################

아 그리고 Home 버전에서는 Hyper-v 관련 옵션이 기본으로 없기 때문에 별도로 활성화 시켜주어야 한다.

 

hyper-v.bat
0.00MB

 

위 배치 파일을 다운받고 관리자 권한으로 실행시킨 후 재부팅 하고나면 관련 옵션이 생겨 있을 것이다.

어쨋든 위 방법대로 했는데도 가상머신에서 CPU 가상화 옵션이 먹히질 않는다..

 

조금 더 찾아보았더니

그룹 정책 편집기 -> 로컬 컴퓨터 정책 -> 컴퓨터 구성 -> 관리 템플릿 -> 시스템 -> Device Guard -> 가상화 보안 끄기 를 하라는데.. 또 Home 버전에는 그것이 없다.

상관 없는걸로..

 

조금 더.. 조금 더 찾아 보았더니

아까 확인했던 optionalfeatures 에서

Hyper-v 말고도

Windows 하이퍼바이저 플랫폼 (Windows Hypervisor Platform) 과

가상 머신 플랫폼 (Virtual Machine Platform) 체크를 해제 해 보란다.

체크를 해제하니 된다. 요시 그란도 씨즌!

 

 

참고

https://superuser.com/questions/1644294/vmware-workstation-does-not-support-nested-virtualization-on-this-host-module

 

VMware Workstation does not support nested virtualization on this host. Module 'HV' power on failed. Failed to start the virtual

I am trying to run Windows 10x64 on my VMware Workstation 16 Pro (16.1.1 build-17801498) with "virtualize Intel VT-x/EPT" checked (its needed for my assignment) but i keep getting the err...

superuser.com

 

https://superuser.com/questions/1510172/hyper-v-vs-virtual-machine-platform-vs-windows-hypervisor-platform-settings-in-p/1510175

 

Hyper-V vs Virtual Machine Platform vs Windows Hypervisor Platform settings in Programs and Features?

Windows 10 shows these three separate features that seem to be the same thing or related. Hyper-V (note that in latest Windows 10 version this has disappeared from the "Windows Features"

superuser.com