之前错误的把 boot:windows 改成 boot:win,忘了这是 run-script-os 规定的写法。又改了回去。

This commit is contained in:
luk.lu
2022-09-19 11:02:15 +08:00
parent 5e4779faa0
commit 290ba0dca2
5 changed files with 35 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
echo Run PowerShell in Administrator mode
echo Enable [Windows Subsystem for Linux] feature
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
@@ -11,3 +13,8 @@ wsl --update
wsl --shutdown
wsl --list --online
wsl --install -d Debian
@REM 2022-09-13
@REM 发现安装 WSL 被简化了
@REM https://docs.microsoft.com/en-us/windows/wsl/install (2022-08-13)
@REM 只要 `wsl --install -d debian` 即可