Windows 11で何も考えずに、Microsoft StoreからUbuntuをインストールしたところ、以下のエラーが出ました。
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x8007019e The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again. See https://aka.ms/wslinstall for details. Press any key to continue...書いてあるとおり https://aka.ms/wslinstall を見てみて、それに従ってPowerShellで
wsl --install
を実行し、完了後にPCを再起動したところ、Ubuntuが起動しました。
コメント