Contents

Windows partitions unavailable from WSL2

WSL2 fails to mount Windows partitions

Contents

Randomly, it happens that WSL2 terminal fails to mount Windows partitions. It is not mandatory to restart the computer to fix the problem.

Restart WSL2


If WSL2 terminal fails to mount Windows partitions and if the command ll /mnt/ gives the following result:

/post/2020/10/wsl2-mount-error/img/WSL2-mount-error.png

Rather than restarting the computer, the best is only to restart WSL2 by using the following command in a Power Shell terminal:

1
wsl --shutdown

Thereafter, relaunch a new WSL2 terminal and normally Windows partitions should be mount correctly.

/post/2020/10/wsl2-mount-error/img/WSL2-mount-ok.png