Skip to content

Commit 5a585e1

Browse files
authored
wsl2-faq.md converted into yml (#1128)
* wsl2-faq.md converted into yml * wsl2-faq.md converted into yml * bookmark fixed * Bookmark fixed * bookmark fixed * missing hyperlink added
1 parent 4378fd6 commit 5a585e1

6 files changed

Lines changed: 70 additions & 60 deletions

File tree

WSL/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Individual Linux distributions can be run with either the WSL 1 or WSL 2 archite
5353

5454
* [Read Frequently Asked Questions](./faq.md)
5555

56-
* [Read Frequently Asked Questions about WSL 2](./wsl2-faq.md)
56+
* [Read Frequently Asked Questions about WSL 2](./wsl2-faq.yml)
5757

5858
* [Troubleshooting](./troubleshooting.md)
5959

WSL/compare-versions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ You can also use windows commands inside WSL's Linux [Terminal](https://en.wikip
5454
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.
5555

5656
> [!NOTE]
57-
> 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)
57+
> 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.yml#will-i-be-able-to-run-wsl-2-and-other-3rd-party-virtualization-tools-such-as-vmware--or-virtualbox-)
5858
5959
## What's new in WSL 2
6060

6161
WSL 2 is a major overhaul of the underlying architecture and uses virtualization technology and a Linux kernel to enable new features. The primary goals of this update are to increase file system performance and add full system call compatibility.
6262

6363
- [WSL 2 system requirements](./install-win10.md#step-2---check-requirements-for-running-wsl-2)
6464
- [Update from WSL 1 to WSL 2](./install-win10.md#set-your-distribution-version-to-wsl-1-or-wsl-2)
65-
- [Frequently Asked Questions about WSL 2](./wsl2-faq.md)
65+
- [Frequently Asked Questions about WSL 2](./wsl2-faq.yml)
6666

6767
### WSL 2 architecture
6868

WSL/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
- name: Frequently Asked Questions
4848
href: faq.md
4949
- name: WSL 2 FAQ
50-
href: wsl2-faq.md
50+
href: wsl2-faq.yml
5151
- name: Troubleshooting
5252
href: troubleshooting.md
5353
- name : Release Notes

WSL/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Please enable the Virtual Machine Platform Windows feature and ensure virtualiza
118118

119119
1. Check the [Hyper-V system requirements](/windows-server/virtualization/hyper-v/system-requirements-for-hyper-v-on-windows#:~:text=on%20Windows%20Server.-,General%20requirements,the%20processor%20must%20have%20SLAT.)
120120

121-
2. If your machine is a VM, please enable [nested virtualization](./wsl2-faq.md#can-i-run-wsl-2-in-a-virtual-machine) manually. Launch powershell with admin, and run:
121+
2. If your machine is a VM, please enable [nested virtualization](./wsl2-faq.yml#can-i-run-wsl-2-in-a-virtual-machine-) manually. Launch powershell with admin, and run:
122122

123123
```powershell
124124
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true

WSL/wsl2-faq.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

WSL/wsl2-faq.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
### YamlMime:FAQ
2+
metadata:
3+
title: WSL 2 Frequently Asked Questions
4+
description: "Find answers to frequently asked questions (FAQs) about the Windows Subsystem for Linux 2, like 'Can I run WSL 2 on a virtual machine?'."
5+
keywords: BashOnWindows, bash, wsl, wsl2, windows, windows subsystem for linux, windowssubsystem, ubuntu, debian, suse, windows 10, install
6+
ms.date: 05/30/2019
7+
ms.topic: article
8+
ms.assetid: 7afaeacf-435a-4e58-bff0-a9f0d75b8a51
9+
ms.custom: seodec18
10+
ms.localizationpriority: high
11+
12+
title: WSL 2 FAQs
13+
summary: Below is a list of frequently asked questions (FAQ) about the Windows Subsystem for Linux 2.
14+
15+
sections:
16+
- name: Ignored
17+
questions:
18+
- question: |
19+
Does WSL 2 use Hyper-V? Will it be available on Windows 10 Home?
20+
answer: |
21+
WSL 2 is available on all SKUs where WSL is currently available, including Windows 10 Home.
22+
23+
The newest version of WSL uses Hyper-V architecture to enable its virtualization. This architecture will be available in the 'Virtual Machine Platform' optional component. This optional component will be available on all SKUs. You can expect to see more details about this experience soon as we get closer to the WSL 2 release.
24+
25+
- question: |
26+
What will happen to WSL 1? Will it be abandoned?
27+
answer: |
28+
We currently have no plans to deprecate WSL 1. You can run WSL 1 and WSL 2 distros side by side, and can upgrade and downgrade any distro at any time. Adding WSL 2 as a new architecture presents a better platform for the WSL team to deliver features that make WSL an amazing way to run a Linux environment in Windows.
29+
30+
- question: |
31+
Will I be able to run WSL 2 and other 3rd party virtualization tools such as VMware, or VirtualBox?
32+
answer: |
33+
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](https://www.virtualbox.org/wiki/Changelog-6.0) and [VMware's changes here](https://blogs.vmware.com/workstation/2020/01/vmware-workstation-tech-preview-20h1.html). 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).
34+
35+
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](https://docs.microsoft.com/en-us/virtualization/api/) 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](https://devblogs.microsoft.com/visualstudio/hyper-v-android-emulator-support/), and VirtualBox 6 and above which are both now compatible with Hyper-V.
36+
37+
- question: |
38+
Can I access the GPU in WSL 2? Are there plans to increase hardware support?
39+
answer: |
40+
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.
41+
42+
- question: |
43+
Will WSL 2 be able to use networking applications?
44+
answer: |
45+
Yes, in general networking applications will be faster and work better since we have full system call compatibility. However, the new architecture uses virtualized networking components. This means that in initial preview builds WSL 2 will behave more similarly to a virtual machine, e.g: WSL 2 will have a different IP address than the host machine. We are committed to making WSL 2 feel the same as WSL 1, and that includes improving our networking story.
46+
47+
- question: |
48+
Can I run WSL 2 in a virtual machine?
49+
answer: |
50+
Yes! You need to make sure that the virtual machine has nested virtualization enabled. This can be enabled in your parent Hyper-V host by running the following command in a PowerShell window with Administrator privileges:
51+
52+
`Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true`
53+
54+
Make sure to replace '&lt;VMName&gt;' with the name of your virtual machine.
55+
56+
- question: |
57+
Can I use wsl.conf in WSL 2?
58+
answer: |
59+
WSL 2 supports the same wsl.conf file that WSL 1 uses. This means that any configuration options that you had set in a WSL 1 distro, such as automounting Windows drives, enabling or disabling interop, changing the directory where Windows drives will be mounted, etc. will all work inside of WSL 2. You can learn more about the configuration options in WSL in the [Distro Management](./wsl-config.md) page.
60+
61+
[1]: https://www.virtualbox.org/wiki/Changelog-6.0
62+
[2]: https://docs.microsoft.com/virtualization/api/
63+
[3]: https://devblogs.microsoft.com/visualstudio/hyper-v-android-emulator-support/
64+
[4]: https://blogs.vmware.com/workstation/2020/01/vmware-workstation-tech-preview-20h1.html
65+

0 commit comments

Comments
 (0)