安装方法一:Install a New Distro 安装方法二:Make your Current Distro Run Systemd WSL 中使用 systemctl 命令会报错,报错信息如下。 System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down WSL 并没有通过 systemd 启动,所以无法执行...
Then i tried to run the following command: wsl.exe --install Ubuntu-20.04 and got the error as : >> Copy Installing: Ubuntu 20.04 LTS Ubuntu 20.04 LTS has been installed. Catastrophic failure Error code: Wsl/InstallDistro/E_UNEXPECTED What may be reason and how can I install Ubuntu 20...
Windows Version Microsoft Windows [Versión 10.0.22631.3296] WSL Version 2.1.5.0 Are you using WSL 1 or WSL 2? WSL 2 WSL 1 Kernel Version 5.15.146.1-2 Distro Version No response Other Software No response Repro Steps wsl --install Expecte...
> wsl --install --distribution <Distro> // --distribution 可简写为 -d // 例如,安装 Debian: > wsl --install -d Debian 查看微软官方提供的子系统: > wsl --list --online // 可简写为 wsl -l -o The following is a list of valid distributions that can be installed. Install using 'wsl...
然后,可以运行wsl.exe --install test-distro-v1以尝试安装新分发版。 完成后,可以删除HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss\DistributionListUrl以还原到官方清单。 最佳做法 配置文件 /etc/wsl.conf并/etc/wsl-distribution.conf应包含。 它们应归其root:root所有,其权限应为0644 ...
Error code: Wsl/InstallDistro/0x80010002 when installing wsl (#11365), similarity score: 0.79 Closed similar issues: Error: 0x80040202 on trying to convert a distro from wsl1 to wsl2.. (#5970), similarity score: 0.79 Unable to switch distro to run WSL2 (#9153), similarity score: 0.78...
要更改版本,请使用wsl --set-version <distro name> 2命令将<distro name>替换为要更新的 Linux 发行版的名称。 例如,wsl --set-version Ubuntu-20.04 2会将 Ubuntu 20.04 发行版设置为使用 WSL 2。 如果在wsl --install命令可用之前手动安装了 WSL,则可能还需要启用 WSL 2 所使用的虚拟机可选组件并安装内...
We’ve also added some additional features to wsl.exe to help with this. By default when you runwsl--installwithout any additional parameters, you’ll installUbuntu. You can also install any distribution of your choice by runningwsl--install-d<Distro>. You can see a full l...
Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.
Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.