microsoft / microsoft/WSL

WSL after upgraded to version: 2.5.9.0, got issue of "Failed to attach disk 'C:\Program Files\WSL\system.vhd"

Open
#13,132 18 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

file system
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Windows Version

10.0.26100.4061

WSL Version

2.5.9.0

Are you using WSL 1 or WSL 2?
  • WSL 2
  • WSL 1
Kernel Version

6.6.87.2-1

Distro Version

Ubuntu version 2404.1.68.0

Other Software

docker --version
Docker version 26.1.4, build 5650f9b

Repro Steps

Try to run WSL
or
click Ubuntu icon to start it

Expected Behavior

WSL works

Actual Behavior

Failed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The system cannot find the file specified.
Error code: Wsl/Service/CreateInstance/CreateVm/MountDisk/HCS/ERROR_FILE_NOT_FOUND

Diagnostic Logs

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure when launching WSL or Ubuntu and review the reported mount error. No source files, tests, or diagnostic logs are identified in the issue; done means WSL can attach system.vhd and start normally.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.