canonical / canonical/multipass

[Windows/Arm] Multipass fails to create a Hyper V Gen2 VM

Open
#2,905 6 comments 0 reactions 0 assignees View on GitHub
needs-info research
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

**Describe the bug**
When running ```multipass launch``` I get the following error

```
launch failed: The following errors occurred:
prosperous-saury: timed out waiting for response`
```

When looking in HyperV it looks like there is an issue with the image or boot loader.
image

The VM is created as Gen 2 VM. Gen 1 is not available. Might be related to Windows 11 on ARM (might be quite an edge case at the moment ;-))

**To Reproduce**
How, and what happened?
1. `multipass launch`

**Logs**
```
[prosperous-saury] [2776] Cmdlet: 'New-VM -Name prosperous-saury -Generation 2 -VHDPath "C:/ProgramData/Multipass/data/vault/instances/prosperous-saury/ubuntu-22.04-server-cloudimg-amd64.vhdx" -BootDevice VHD -SwitchName $switch.Name -MemoryStartupBytes 1073741824'
[prosperous-saury] [2776] Cmdlet: 'Set-VMFirmware -VMName prosperous-saury -EnableSecureBoot Off'
[prosperous-saury] [2776] Cmdlet: 'Set-VMProcessor -VMName prosperous-saury -Count 1'
[prosperous-saury] [2776] Cmdlet: 'Add-VMDvdDrive -VMName prosperous-saury -Path "C:/ProgramData/Multipass/data/vault/instances/prosperous-saury/cloud-init-config.iso"'
[prosperous-saury] [2776] Cmdlet: 'Set-VMMemory -VMName prosperous-saury -DynamicMemoryEnabled $false'
[prosperous-saury] [2776] Cmdlet: 'Set-VMNetworkAdapter -VMName prosperous-saury -StaticMacAddress "52:54:00:f4:cf:b3"'
[prosperous-saury] [2776] Cmdlet: 'Start-VM -Name prosperous-saury'
[prosperous-saury] Waiting for SSH to be up
```

**Additional info**
- OS: Win11 22H2 ARM
- `multipass 1.11.0+win
multipassd 1.11.0+win`
- `hyperv`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `multipass launch` on Windows 11 ARM and inspect the reported Hyper-V creation and boot behavior, including the logged VM commands and SSH timeout. Done means the Ubuntu 22.04 instance boots successfully as a Gen 2 VM and Multipass can connect to it over SSH.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
infrastructure, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.