multipass icon indicating copy to clipboard operation
multipass copied to clipboard

[Windows] Could not unregister VM: Process failed to start

Open User670 opened this issue 3 years ago • 2 comments

Describe the bug On Windows 10 Home edition, using virtualbox, when running multipass launch :

[2022-03-15T06:25:08.948] [error] [<name>] Could not unregister VM: Process failed to start: 系统找不到指定的文件。
launch failed: Could not generate a new UUID: Process failed to start: 系统找不到指定的文件。

where <name> is the name passed into the --name parameter (or a random name should the parameter not exist). The Chinese in the error translates to "system cannot find specified file". Process exits with return code 2.

To Reproduce Windows 10 Home edition, version 21H2, internal version number 19044.1526. Virtual box v6.1.28. Prior to installing multipass, Virtual box already had an instance of Ubuntu Desktop installed, named ubuntu1804.

After installing multipass with the installer and switching the driver to virtual box, attempting to run multipass launch with or without a --name parameter produces the above error message. Furthermore, the existing Ubuntu Desktop in my virtual box also refuses to launch after this (Call to NEMR0InitVMPart2 failed: VERR_NEM_INIT_FAILED (VERR_NEM_VM_CREATE_FAILED)).

Expected behavior I expected it to launch...?

Logs Please provide logs from the daemon, see accessing logs on where to find them on your platform. multipass-user670-202203150637.zip

Additional info

  • OS: Windows 10 Home edition, version 21H2, internal version number 19044.1526
  • multipass version : multipass 1.8.0+win multipassd 1.8.0+win
  • multipass info --all: (nothing)

Additional context explained above

User670 avatar Mar 14 '22 22:03 User670

Hi @user670, you may be experiencing a conflict with Hyper-V components (possibly triggered by attempting to launch VMs after Multipass failed to set the right driver in the installer). Could you try to follow those instructions and let us know if it helps? Thanks.

ricab avatar Mar 15 '22 09:03 ricab

How to solve it?

JamesHello1990 avatar Aug 19 '22 17:08 JamesHello1990

Facing the same issue. @ricab I'm using Windows 11 Home. To my knowledge, it doesn't support Hyper-V.

Pradeep-Kurapati avatar Aug 15 '23 15:08 Pradeep-Kurapati

Hi @Pradeep-Kurapati, thanks for your feedback. you're right that Windows Home doesn't support Hyper-V entirely, but parts of it are still baked in. Quoting from the post linked above:

But I'm running Windows Home and don't have Hyper-V! Yes, you do. Windows Home can't run Hyper-V virtual machines, but it has most of the other Windows services that can enable > Hyper-V and block Virtualbox.

Have you tried following all of the instructions there? How about you, @JamesHello1990?

Here are a few other resources pointing to interference with Hyper-V components as the likely cause:

  • https://superuser.com/q/1515188
  • https://forums.virtualbox.org/viewtopic.php?t=97960
  • https://stackoverflow.com/q/59012338/

Please let us know what you find and, hopefully, what ends up working for you!

ricab avatar Aug 16 '23 16:08 ricab