WSL: wsl.exe --mount is not supported on ARM64

Version

Microsoft Windows [Version 10.0.22621.1194]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.83.1

Distro Version

Ubuntu 22.04.1 LTS

Other Software

No response

Repro Steps

Hello! I run: wsl --mount \\.\PHYSICALDRIVE1 --bare

Expected Behavior

I expect the physical drive to be mounted.

Actual Behavior

I get:

wsl.exe --mount is not supported on ARM64.
Error code: Wsl/Service/WSL_E_WSL_MOUNT_NOT_SUPPORTED

Diagnostic Logs

No response

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 4
  • Comments: 26 (1 by maintainers)

Most upvoted comments

@camiloa17 I had the same error. For me, the issue was, that I have tried to install the regular Windows version of Docker Desktop and not the Windows ARM Beta (current latest installer).

Fixed with https://github.com/microsoft/WSL/releases/tag/2.3.21 on newer versions of Windows.

Hello Team, I am encountering issues while attempting to run Docker on my new ARM Surface Pro Copilot + PC, similar to those previously experienced.

running WSL command wsl.exe C:\Windows\System32\wsl.exe --mount --bare --vhd <HOME>\AppData\Local\Docker\wsl\disk\docker_data.vhdx: wsl.exe --mount is not supported on ARM64.
Error code: Wsl/Service/WSL_E_WSL_MOUNT_NOT_SUPPORTED
: exit status 0xffffffff
checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found.

SS of the issue image

What worked for me was downgrading to a lower Docker version, 4.38.0 in my case. You can try the following:

  1. Uninstall Docker Desktop
  2. Download Docker Desktop version 4.38.0. Make sure you choose Windows ARM Beta. Download link: https://docs.docker.com/desktop/release-notes/#4380
  3. Run the installer
  4. Run wsl --update in a CMD
  5. Start Docker Desktop

Hi @benhillis thanks for this work, it’s great to get parity on ARM64!

Can you please clarify the minimum Windows version where this is supported, please? For example I am testing on Win11Pro 22623.1250 and I see it’s not supported on that version.

> wsl.exe --mount --bare --vhd data.vhdx

wsl.exe --mount is not supported for ARM64 on this version of Windows
Error code: Wsl/Service/WSL_E_WSL_MOUNT_NOT_SUPPORTED

> wsl.exe --version
WSL version: 2.3.24.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.22623.1250

@camiloa17 I had the same error. For me, the issue was, that I have tried to install the regular Windows version of Docker Desktop and not the Windows ARM Beta (current latest installer).

Thank you @camiloa17! I was pulling my hair out trying to figure this out on my Surface Laptop 7. Worked like a charm!

Thanks @camiloa17, it worked for my Surface Pro 11.