0354.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing Windows Subsystem for Linux (WSL) Inside VirtualBox VM</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Home Lab,Hypervisor,Install Guide,Debian,Subsystem,Run Linux Terminal On Windows,WSL,WSL Installation Guide,Windows,Ubuntu,Linux On Windows,Linux,Windows Subsystem For Linux,Install Linux Terminal Applications On Windows,How To Install Windows Subsystem For Linux,How To Install WSL,VirtualBox,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing Windows Subsystem for Linux (WSL) Inside VirtualBox VM">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="07/06/2024 01:30:17 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Installing Windows Subsystem for Linux (WSL) Inside VirtualBox VM</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>VirtualBox Settings</h2>
  26. <ol>
  27. <li>Launch VirtualBox</li>
  28. <li>Right click on the Windows 10 VM &gt; Settings...</li>
  29. <li>Select System from the left navigation &gt; Click the Processor Tab</li>
  30. <li>Check the Enable Nested VT-x/AMD-V box</li>
  31. <li>Click OK to close the settings dialog</li>
  32. <li>Right click on the Windows 10 VM &gt; Start &gt; Normal Start</li>
  33. </ol>
  34. <h2>Installing WSL2 Inside the VM</h2>
  35. <ol>
  36. <li>Launch Powershell as administrator</li>
  37. <li>Run the following command
  38. <div class="codeBlock">dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</div>
  39. </li>
  40. <li>Reboot</li>
  41. <li>If running Windows 2004 or newer, run the following additional commands to use WSL 2
  42. <div class="codeBlock">dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart<br />
  43. wsl --set-default-version 2</div>
  44. </li>
  45. <li>Click the Start Button &gt; Search Microsoft Store &gt; Select Microsoft Store</li>
  46. <li>Search for the Linux distribution to install (Debian, Ubuntu, etc)</li>
  47. <li>Select the Linux distribution and click the Get button in the upper right corner</li>
  48. <li>After the Linux distribution downloads and installs, select the distribution from the Start menu to launch it</li>
  49. <li>Input a username and password to be used in the Linux environment</li>
  50. </ol> </div>
  51. </div>
  52. </body>
  53. </html>