WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Failed to attach disk `system.vhd` after upgraded to WSL 2.5.9.0

Open RyutaSato opened this issue 6 months ago • 3 comments

Windows Version

Microsoft Windows [Version 10.0.26100.4351]

WSL Version

2.5.9.0

Are you using WSL 1 or WSL 2?

  • [x] WSL 2
  • [ ] WSL 1

Kernel Version

No response

Distro Version

AlmaLinux-9

Other Software

No response

Repro Steps

upgrade click AlmaLinux OS 9 application from Windows start menu or click other distro.

Expected Behavior

it's caused by WSL2.

Since upgrading to WSL 2.5.9.0, I have not been able to start it properly even once. I can't even access directories in WSL from the filesystem.

Actual Behavior

PS C:\Users\masked_user> wsl
ディスク 'C:\Program Files\WSL\system.vhd' を WSL2 にアタッチできませんでした: 指定されたファイルが見つかりません。
エラー コード: Wsl/Service/CreateInstance/CreateVm/MountDisk/HCS/ERROR_FILE_NOT_FOUND

Diagnostic Logs

WslLogs-2025-06-18_12-08-41.zip

RyutaSato avatar Jun 18 '25 03:06 RyutaSato

The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

Diagnostic information
Detected appx version: 2.5.9.0
Found no WSL traces in the logs

github-actions[bot] avatar Jun 18 '25 03:06 github-actions[bot]

After this, I installed 2.5.7 using the 2.5.7 installer( https://github.com/microsoft/WSL/releases/download/2.5.7/wsl.2.5.7.0.x64.msi ), but that did not solve the problem. However, when I tried installing again using the 2.5.9 installer( https://github.com/microsoft/WSL/releases/download/2.5.9/wsl.2.5.9.0.x64.msi ), it started up normally.

RyutaSato avatar Jun 18 '25 04:06 RyutaSato

same issue here Reinstalling https://github.com/microsoft/WSL/releases/download/2.5.7/wsl.2.5.7.0.x64.msi fixed it: 2.5.9 is buggy(blocker) for me.

cforce avatar Jun 18 '25 09:06 cforce