Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jhueppauff opened this issue Jan 30, 2023 · 3 comments
Open

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

jhueppauff opened this issue Jan 30, 2023 · 3 comments
Labels

Comments

@jhueppauff
Copy link

jhueppauff commented Jan 30, 2023

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
@jhueppauff jhueppauff added the bug label Jan 30, 2023
@sharder996
Copy link
Contributor

sharder996 commented Jan 30, 2023

Hey @jhueppauff,

The issue is that Multipass uses images with a kernel compiled for amd64 which isn't going to work on the ARM architecture.

@jhueppauff
Copy link
Author

Is there any support planned for ARM on Windows?

@sharder996
Copy link
Contributor

Multipass doesn't look at the host architecture and the use of amd64 images is hardcoded right now. Unfortunately, we don't have any plans at the moment to change this either.

@townsend2010 townsend2010 changed the title [Windows] Multipass fails to create a Hyper V Gen2 VM [Windows/Arm] Multipass fails to create a Hyper V Gen2 VM Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants