Я пытаюсь установить подсистему Windows для Linux в обновленной виртуальной машине Windows 10 (в Parallels на MacBook), но это частично не удается:
C:\Windows\system32>wsl --install
Installing: Windows Subsystem for Linux
Windows Subsystem for Linux has been installed.
Downloading: WSL Kernel
A error was encountered during installation, but installation may continue. Component: 'WSL Kernel' Error Code: 0x80072f7d
Downloading: Ubuntu
The requested operation is successful. Changes will not be effective until the system is rebooted.
WSL устанавливается, а ядро - нет. После перезапуска cmd открывается с таким результатом:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800701bc
Error: 0x800701bc WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel
Press any key to continue...
Как я могу решить эту проблему?
wsl --install
после включения вложенной виртуализации и в итоге все заработало.
Цитирую:
Использование вложенной виртуализации необходимо для использования WSL2 и нового Windows Docker для WSL2.
Источник: https://patrickwu.space/2020/02/14/wsl-on-mac/