How to install Multipass on Windows

Hi @nobuto,

Thanks for reporting - you’re totally right that we need to improve it, and I’ve replied on the issue:

I am behind a corporate firewall and I use Proxifier at times to connect through the corporate firewall. Based on the Proxifer logs it seems like it is able to download a few KB. but in the command prompt it says connection failed.

[2019.11.27 21:29:24] multipass.exe (64924) *64 - resolve localhost : DNS
[2019.11.27 21:29:24] multipass.exe *64 - localhost:50051 (IPv6) matching Localhost rule : direct connection
[2019.11.27 21:29:24] multipass.exe *64 - localhost:50051 (IPv6) open directly
[2019.11.27 21:30:32] Explorer.EXE (27956) *64 - resolve DESKTOP-JLRP7H9 : DNS
[2019.11.27 21:30:32] Explorer.EXE (27956) *64 - resolve DESKTOP-JLRP7H9 : DNS
[2019.11.27 21:32:18] PCDist.exe - 70.2.140.151:15020 matching Default rule : using proxy 70.10.15.10:8080 HTTPS
[2019.11.27 21:32:18] PCDist.exe - 70.2.140.151:15020 open through proxy 70.10.15.10:8080 HTTPS
[2019.11.27 21:32:18] PCDist.exe - 70.2.140.151:15020 close, 56 bytes sent, 8 bytes received, lifetime <1 sec
[2019.11.27 21:32:25] multipass.exe *64 - localhost:50051 (IPv6) close, 932 bytes sent, 1468 bytes (1.43 KB) received, lifetime 03:01

I actually ran it at home PC and got the same result

C:\WINDOWS\system32>multipass launch --name foo
launch failed: The following errors occurred:
foo: timed out waiting for response

I just installed on Win10 and it works well. However, it isn’t clear where virtual images are stored. More importantly it isn’t clear how (or if) I can get virtual drive images stored on my big RAID drive, or am I stuck with them in some random location?

I’d expect the info command to show the local path to the virtual drive image.

2 Likes

It would be nice to know where the VM images are being stored

How to build Multipass for Windows? I do not find any windows specific code at canonical/multipass github repo. Where is it?

I just installed Multipass (1.1.0+win) on Windows 10 Pro (1909, build 18363.693) with Hyper-V, however contrary to install documentation I did not have to set my network connection to Private (It’s still Public). Has this issue been resolved?

A post was split to a new topic: Moving files to instances on Windows

multipass runs under local system account. It stores all data in system’s user profile, located here:
C:\Windows\System32\config\systemprofile
If you need to modify some stuff, then you need to work with psexec.exe -s “some commands here”, which allows you to execute commands under the local system account.

2 posts were split to a new topic: Upgrading Multipass on Windows

Question: How do I know what my credentials are?

Hi @malkebu-lan,

I’m not sure which credentials you are referring to. Could you please explain?

@malkebu-lan, if you’re asking about user and password, the user is ubuntu without a password. You can multipass shell <instance> (shell docs here), and if you’d like to SSH into the instance, import your keys inside, or use cloud-init’s ssh module to prepopulate.

here is the latest version of virtual box according to the official website 6.1.8 here is the link https://www.virtualbox.org/wiki/Downloads

Greetings,
I have had a difficult time trying to figure out how to move multipass off the default location on my C: Drive in my windows 10 pro host. My solution was to uninstall multipass and reconfigure my hyper-v where I had no other installed VMs to store the VM information at my desired location.

The settings for the location of where configuration and VMs are stored at is found at the "Hyper-V Settings for the host in the Hyper-V manager. Is it possible to move this elsewhere or to configure it during install.

Thank you very much for making a great tool.

Hi @bramcn0745, welcome!

We are planning to add a configure option for this: canonical/multipass#1215, you may want to subscribe there.

I think it would also be a good idea to indicate or put in as a “Known Issue” that if someone is planning to use the Multipass created VMs on Windows for installing Kubernetes they may run into issues when the instance get reboot. Windows Default Virtual switch assigns a new IP each time you reboot the instance or the Windows gets rebooted. This causes k8s cluster to not function.

I love Multipass and uses on Ubuntu and Mac with no issues. However sadly on Windows it causes the above issue.

Possible feature request:

  • Provide the ability to select a different virtual switch other than the Default

Provide the ability to select anything Virtual Switch other than Default

Ignore this comment, looks like someone had already documented the known issue. Thanks and apologies for the repost.

Still cant find the .exe. there are release notes for 1.8.1 but cant see any sort of download.

There’s apparently a choco installer too, that might be more convenient for some users: https://community.chocolatey.org/packages/multipass

Thanks