Skip to content

Commit 69fc9d3

Browse files
mattwojoHimanshunitrrgearygaleksandrpalexandair
authored
Incorporate PRs and add metadata label (#921)
* Add install button * Add links for more info on using VirtualBox * Update about.md (#813) * Update user-suport.md (#814) * Update user-suport.md * Update user-support.md * Grammar and specificity correction Co-authored-by: Matt Wojciakowski <[email protected]> * Use correct capitalization of VMware (#818) * Update wsl-config.md: Fix `memory` default (#820) This commit reflect change in default memory consumption introduced in `20175` build https://docs.microsoft.com/windows/wsl/release-notes#build-20175 * Fix a typo (#900) Fix a typo. * add code quotes around wsl --mount (#906) * Update troubleshooting.md (#907) Add a missing link to the github repo * Removed dead link in the build-custom-distro.md file (#917) The removed link ("Command-line UserVoice portal") leads to a 404 page that says: "This UserVoice instance is no longer available." * Add OKR metadata label * Change to secure link * fix link Co-authored-by: Himanshu maurya <[email protected]> Co-authored-by: Michael Geary <[email protected]> Co-authored-by: Alexander Georgievskiy <[email protected]> Co-authored-by: Aleksandar Nikolić <[email protected]> Co-authored-by: John Zabroski <[email protected]> Co-authored-by: soolo <[email protected]> Co-authored-by: Darian Benam <[email protected]>
1 parent a6f4086 commit 69fc9d3

9 files changed

Lines changed: 16 additions & 16 deletions

WSL/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can:
2020
* Tools: vim, emacs, tmux
2121
* Languages: [NodeJS](https://docs.microsoft.com/windows/nodejs/setup-on-wsl2), Javascript, [Python](https://docs.microsoft.com/windows/python/web-frameworks), Ruby, C/C++, C# & F#, Rust, Go, etc.
2222
* Services: SSHD, [MySQL](./tutorials/wsl-database.md), Apache, lighttpd, [MongoDB](./tutorials/wsl-database.md), [PostgreSQL](./tutorials/wsl-database.md).
23-
* Install additional software using own GNU/Linux distribution package manager.
23+
* Install additional software using your own GNU/Linux distribution package manager.
2424
* Invoke Windows applications using a Unix-like command-line shell.
2525
* Invoke GNU/Linux applications on Windows.
2626

@@ -67,6 +67,6 @@ Individual Linux distributions can be run with either the WSL 1 or WSL 2 archite
6767

6868
* [Reference WSL commands](./reference.md)
6969

70-
* [Build a custom distributions](./build-custom-distro.md)
70+
* [Build custom distributions](./build-custom-distro.md)
7171

7272
* [Read the WSL Release Notes](./release-notes.md)

WSL/build-custom-distro.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ Follow the instructions on the [Distro Launcher GitHub repo](https://github.com/
4141

4242
- [Distro Launcher GitHub repo](https://github.com/Microsoft/WSL-DistroLauncher)
4343
- [GitHub issue tracker for WSL](https://github.com/Microsoft/BashOnWindows/issues)
44-
- [Command-line UserVoice portal](https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/category/161892-bash)

WSL/compare-versions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ keywords: BashOnWindows, bash, wsl, windows, windowssubsystem, gnu, linux, ubunt
55
ms.date: 09/15/2020
66
ms.topic: conceptual
77
ms.localizationpriority: high
8+
ms.custom: contperfq1
89
---
910

1011
# Comparing WSL 1 and WSL 2
@@ -26,7 +27,7 @@ Feature | WSL 1 | WSL 2
2627
Integration between Windows and Linux| ✅|✅
2728
Fast boot times| ✅ | ✅
2829
Small resource foot print| ✅ |✅
29-
Runs with current versions of VMWare and VirtualBox| ✅ | ✅
30+
Runs with current versions of VMware and VirtualBox| ✅ | ✅
3031
Managed VM| ❌ | ✅
3132
Full Linux Kernel| ❌ |✅
3233
Full system call compatibility| ❌ | ✅
@@ -48,7 +49,7 @@ You can access your Linux root file system with Windows apps and tools like File
4849
WSL 2 is only available in Windows 10, Version 1903, Build 18362 or higher. Check your Windows version by selecting the **Windows logo key + R**, type **winver**, select **OK**. (Or enter the `ver` command in Windows Command Prompt). You may need to [update to the latest Windows version](ms-settings:windowsupdate). For builds lower than 18362, WSL is not supported at all.
4950

5051
> [!NOTE]
51-
> WSL 2 will work with [VMWare 15.5.5+](https://blogs.vmware.com/workstation/2020/05/vmware-workstation-now-supports-hyper-v-mode.html) and [VirtualBox 6+](https://www.virtualbox.org/wiki/Changelog-6.0).
52+
> WSL 2 will work with [VMware 15.5.5+](https://blogs.vmware.com/workstation/2020/05/vmware-workstation-now-supports-hyper-v-mode.html) and [VirtualBox 6+](https://www.virtualbox.org/wiki/Changelog-6.0). Learn more in our [WSL 2 FAQs.](./wsl2-faq.md#will-i-be-able-to-run-wsl-2-and-other-3rd-party-virtualization-tools-such-as-vmware-or-virtualbox)
5253
5354
## Whats new in WSL 2
5455

WSL/release-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.localizationpriority: high
1313
## Build 20211
1414
For general Windows information on build 20211 visit the [Windows blog](https://blogs.windows.com/windows-insider/2020/09/10/announcing-windows-10-insider-preview-build-20211/).
1515

16-
* Introduce wsl.exe --mount for mounting physical or virtual disks. For more information see [Access Linux filesystems in Windows and WSL 2](https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2/).
16+
* Introduce `wsl.exe --mount` for mounting physical or virtual disks. For more information see [Access Linux filesystems in Windows and WSL 2](https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2/).
1717
* Fix crash in LxssManager service when checking if the VM is idle. [GH 5768]
1818
* Support for compressed VHD files. [GH 4103]
1919
* Ensure that Linux user mode libs installed to c:\windows\system32\lxss\lib are preserved across OS upgrade. [GH 5848]

WSL/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.localizationpriority: high
99

1010
# Troubleshooting Windows Subsystem for Linux
1111

12-
For support with issues related to WSL, please see our GitHub repo:
12+
For support with issues related to WSL, please see our GitHub repo: https://github.com/Microsoft/wsl/issues
1313

1414
## Search for any existing issues related to your problem
1515

@@ -40,7 +40,7 @@ Lastly, if your issue is related to the Windows Terminal, Windows Console, or th
4040

4141
This is likely because your machine has not yet taken the backport for WSL 2. The simplest way to resolve this is by going to Windows Settings and clicking 'Check for Updates' to install the latest updates on your system. You can view the full instructions on taking the backport [here](https://devblogs.microsoft.com/commandline/wsl-2-support-is-coming-to-windows-10-versions-1903-and-1909/#how-do-i-get-it).
4242

43-
If you hit 'Check for Updates' and still do not receive the update you can install KB KB4566116 manually by [following this link](http://www.catalog.update.microsoft.com/Search.aspx?q=KB4566116).
43+
If you hit 'Check for Updates' and still do not receive the update you can install KB KB4566116 manually by [following this link](https://www.catalog.update.microsoft.com/Search.aspx?q=KB4566116).
4444

4545
### Error: 0x1bc when `wsl --set-default-version 2`
4646
This may happen when 'Display Language' or 'System Locale' setting is not English.

WSL/tutorials/wsl-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Let's use Docker to create a development container for an existing app project.
122122
123123
![VS Code run debug configuration](../media/vscode-run-config.png)
124124
125-
10. From inside VS Code, select **Run** > **Start debugging** (or just press the **F5** key). This will open a terminal inside VS Code and you should see a result saying something like: "Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C." Hold down the Control key and select the address displayed to open your app in your default web browser and see your project running inside of it's container.
125+
10. From inside VS Code, select **Run** > **Start debugging** (or just press the **F5** key). This will open a terminal inside VS Code and you should see a result saying something like: "Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C." Hold down the Control key and select the address displayed to open your app in your default web browser and see your project running inside of its container.
126126
127127
![VS Code running a docker container](../media/vscode-running-in-container.png)
128128
@@ -157,4 +157,4 @@ For more help with general troubleshooting issues in WSL, see the [Troubleshooti
157157
- [VS Code Blog: Guidelines for choosing a development environment](https://code.visualstudio.com/docs/containers/choosing-dev-environment#_guidelines-for-choosing-a-development-environment)
158158
- [VS Code Blog: Using Docker in WSL 2](https://code.visualstudio.com/blogs/2020/03/02/docker-in-wsl2)
159159
- [VS Code Blog: Using Remote Containers in WSL 2](https://code.visualstudio.com/blogs/2020/07/01/containers-wsl)
160-
- [Hanselminutes Podcast: Making Docker lovely for Developers with Simon Ferquel](https://hanselminutes.com/736/making-docker-lovely-for-developers-with-simon-ferquel)
160+
- [Hanselminutes Podcast: Making Docker lovely for Developers with Simon Ferquel](https://hanselminutes.com/736/making-docker-lovely-for-developers-with-simon-ferquel)

WSL/user-support.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ms.localizationpriority: high
1111

1212
Once you have [enabled WSL and installed a Linux distribution from the Microsoft Store](./install-win10.md), the first step you will be asked to complete when opening your newly installed Linux distribution is to create an account, including a **User Name** and **Password**.
1313

14-
- This **User Name** and **Password** is specific to your Linux distribution and has no bearing on your Windows user name.
14+
- This **User Name** and **Password** is specific to each separate Linux distribution that you install and has no bearing on your Windows user name.
1515

16-
- Once you create this **User Name** and **Password**, the account will be your default user for the distribution and automatically sign-in on launch.
16+
- Once you create a **User Name** and **Password**, the account will be your default user for the distribution and automatically sign-in on launch.
1717

1818
- This account will be considered the Linux administrator, with the ability to run `sudo` (Super User Do) administrative commands.
1919

@@ -29,7 +29,7 @@ Most distributions ship with an empty or minimal package catalog. We strongly re
2929
sudo apt update && sudo apt upgrade
3030
```
3131

32-
Windows does not automatically update or upgrade your Linux distribution(s). This is a task that the most Linux users prefer to control themselves.
32+
Windows does not automatically update or upgrade your Linux distribution(s). This is a task that most Linux users prefer to control themselves.
3333

3434
## Reset your Linux password
3535

WSL/wsl-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ These settings affect the VM that powers any WSL 2 distribution.
340340
| key | value | default | notes|
341341
|:----|:----|:----|:----|
342342
| kernel | string | The Microsoft built kernel provided inbox | An absolute Windows path to a custom Linux kernel. |
343-
| memory | size | 80% of your total memory on Windows * | How much memory to assign to the WSL 2 VM. |
343+
| memory | size | 50% of total memory on Windows or 8GB, whichever is less; on builds before 20175: 80% of your total memory on Windows | How much memory to assign to the WSL 2 VM. |
344344
| processors | number | The same number of processors on Windows | How many processors to assign to the WSL 2 VM. |
345345
| localhostForwarding | boolean | `true` | Boolean specifying if ports bound to wildcard or localhost in the WSL 2 VM should be connectable from the host via localhost:port. |
346346
| kernelCommandLine | string | Blank | Additional kernel command line arguments. |

WSL/wsl2-faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ We currently have no plans to deprecate WSL 1. You can run WSL 1 and WSL 2 distr
2525

2626
## Will I be able to run WSL 2 and other 3rd party virtualization tools such as VMware, or VirtualBox?
2727

28-
Some 3rd party applications cannot work when Hyper-V is in use, which means they will not be able to run when WSL 2 is enabled, such as VMware and VirtualBox. However, recently both VirtualBox and VMware have released versions that support Hyper-V and WSL2! You can learn more about [VirtualBox's changes here][1] and [VMware's changes here][4].
28+
Some 3rd party applications cannot work when Hyper-V is in use, which means they will not be able to run when WSL 2 is enabled, such as VMware and VirtualBox. However, recently both VirtualBox and VMware have released versions that support Hyper-V and WSL2. Learn more about [VirtualBox's changes here][1] and [VMware's changes here][4]. For troubleshooting issues, take a look at the [VirtualBox issue discussions in the WSL repo on GitHub](https://github.com/MicrosoftDocs/WSL/issues?q=is%3Aissue+virtualbox+sort%3Acomments-desc).
2929

3030
We are consistently working on solutions to support third-party integration of Hyper-V. For example, we expose a set of APIs called [Hypervisor Platform][2] that third-party virtualization providers can use to make their software compatible with Hyper-V. This lets applications use the Hyper-V architecture for their emulation such as [the Google Android Emulator][3], and VirtualBox 6 and above which are both now compatible with Hyper-V.
3131

3232
## Can I access the GPU in WSL 2? Are there plans to increase hardware support?
3333

34-
We have released support for accessing the GPU inside of WSL 2 distros! This means you can now use WSL for machine learning, artificial intelligence, and data science scenarios more easily when big data sets are involved. You can find a tutorial to [get started with GPU support here](./tutorials/gpu-compute). As of right now WSL 2 does not include serial support, or USB device support. We are investigating the best way to add these features.
34+
We have released support for accessing the GPU inside of WSL 2 distros! This means you can now use WSL for machine learning, artificial intelligence, and data science scenarios more easily when big data sets are involved. Check out the [get started with GPU support](./tutorials/gpu-compute.md) tutorial. As of right now WSL 2 does not include serial support, or USB device support. We are investigating the best way to add these features.
3535

3636
## Will WSL 2 be able to use networking applications?
3737

0 commit comments

Comments
 (0)