*관리자 모드로 cmd 실행
*powershell 실행
*wsl 설치돼있는지 확인
wslconfig.exe /l
*설치된 wsl ubuntu 삭제하기
wslconfig.exe /u Ubuntu-version
*윈도우의 wsl기능 활성화
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
*가상머신 플랫폼 활성화
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
* wsl -l -v 을이용하여 버전을 확인
*wsl version 2 이면 아래 명령어 실행
wsl --set-default-version 2
*Linux 커널 업데이트 패키지 다운로드
wsl.exe --install or wsl.exe --update
*리눅스 버전 확인
lsb_release -a
*Disable 명령어
dism.exe /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart
dism.exe /online /disable-feature /featurename:VirtualMachinePlatform /norestart
참고한 site 주소
https://teang1995.tistory.com/19
https://hikwail.tistory.com/34
https://netmarble.engineering/journey-to-wsl2-and-trouble-shooting
https://learn.microsoft.com/ko-kr/windows/wsl/install-manual
DISM(배포 이미지 서비스 및 관리)은 Windows 이미지를 서비스하는 데 사용되는 명령줄 도구
https://learn.microsoft.com/ko-kr/windows-hardware/manufacture/desktop/dism-reference--deployment-image-servicing-and-management?view=windows-11
댓글 영역