WSL2:为什么我必须在重新启动 PC 后关闭 WSL 才能重新启动 WSL [英] WSL2: Why do I have to shutdown WSL to restart WSL after restarting PC

查看:54
本文介绍了WSL2:为什么我必须在重新启动 PC 后关闭 WSL 才能重新启动 WSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Windows 使用 Ubuntu 设置了 WSL.它已经运行了一段时间,直到我升级到 WSL2.

I have my windows set up WSL with Ubuntu. It has been working fine for a while, until I upgraded to WSL2.

问题是:每次我启动我的电脑(或重新启动我的电脑)时,它都会失去从 Ubuntu 到 Windows 驱动器的连接.

The problem is: every time I start up my PC (or restarting my PC), it lost the connection from Ubuntu to Windows drives.

我收到这样的消息:

cd: Input/output error: /mnt/d/

上面的问题可以通过运行这个轻松解决:

The above problem could be solved easily by running this:

wsl.exe --shutdown

我想永久解决这个问题,而不是每次遇到问题就关闭 WSL.

I want to solve this problem permanently, instead of shutting down WSL every time I got the problem.

知道如何永久解决这个问题吗?

Any idea how to fix this permanently?

推荐答案

这听起来像是一个快速启动问题.尝试在控制面板中禁用它.

This sounds like a fast startup problem. Try disabling it in the Control Panel.

这篇关于WSL2:为什么我必须在重新启动 PC 后关闭 WSL 才能重新启动 WSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆