Skip to content

Commit 9f6a60b

Browse files
committed
Fix a few issues
1 parent e5b7193 commit 9f6a60b

4 files changed

Lines changed: 23 additions & 21 deletions

File tree

WSL/compare-versions.md

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

1010
# Comparing WSL 2 and WSL 1
1111

12-
The primary goals of updating the Windows Subsystem for Linux to a new version are to **increase file system performance** and support **full system call compatibility**. WSL 2 uses the latest and greatest in virtualization technology to run a Linux kernel inside of a lightweight utility virtual machine (VM). However, WSL 2 is not a traditional VM experience - learn more about the [WSL 2 architecture](#wsl-2-architecture) below.
12+
The primary goals of updating the Windows Subsystem for Linux to a new version are to **increase file system performance** and support **full system call compatibility**.
13+
14+
WSL 2 uses the latest and greatest in virtualization technology to run a Linux kernel inside of a lightweight utility virtual machine (VM). However, WSL 2 is not a traditional VM experience. [Learn more about the WSL 2 architecture](#wsl-2-architecture).
1315

1416
## Comparing features
1517

@@ -31,8 +33,9 @@ Already using WSL 1 and want to upgrade to WSL 2? Follow the instructions to [up
3133
In order to optimize for the fastest performance speed, be sure to store your project files in the Linux file system (not the Windows file system).
3234

3335
For example, when storing your WSL project files:
34-
- Use the Linux file system root directory: `\\wsl$\Ubuntu-18.04\home\<user name>\Project`
35-
- Not the Windows file system root directory: `C:\Users\<user name>\Project`
36+
37+
* Use the Linux file system root directory: `\\wsl$\Ubuntu-18.04\home\<user name>\Project`
38+
* Not the Windows file system root directory: `C:\Users\<user name>\Project`
3639

3740
Project files that you are working with using a WSL distribution (like Ubuntu) must be in the Linux root file system to take advantage of faster file system access.
3841

@@ -72,8 +75,9 @@ The actual speed increase will depend on which app you're running and how it is
7275

7376
Linux binaries use system calls to perform functions such as accessing files, requesting memory, creating processes, and more. Whereas WSL 1 used a translation layer that was built by the WSL team, WSL 2 includes its own Linux kernel with full system call compatibility. Benefits include:
7477

75-
- A whole new set of apps that you can run inside of WSL, such as **[Docker](https://code.visualstudio.com/blogs/2020/03/02/docker-in-wsl2)** and more.
76-
- Any updates to the Linux kernel are immediately ready for use. (You don't have to wait for the WSL team to implement updates and add the changes).
78+
* A whole new set of apps that you can run inside of WSL, such as **[Docker](https://code.visualstudio.com/blogs/2020/03/02/docker-in-wsl2)** and more.
79+
80+
* Any updates to the Linux kernel are immediately ready for use. (You don't have to wait for the WSL team to implement updates and add the changes).
7781

7882
### WSL 2 uses a smaller amount of memory on startup
7983

@@ -89,10 +93,10 @@ However, if you are running an older version of Windows (Build 18945 or less), y
8993

9094
To find the IP address of the virtual machine powering your Linux distribution:
9195

92-
- From your WSL distribution (ie Ubuntu), run the command: `ip addr`
93-
- Find and copy the address under the `inet` value of the `eth0` interface.
94-
- If you have the grep tool installed, find this more easily by filtering the output with the command: `ip addr | grep eth0`
95-
- Connect to your Linux server using this IP address.
96+
* From your WSL distribution (ie Ubuntu), run the command: `ip addr`
97+
* Find and copy the address under the `inet` value of the `eth0` interface.
98+
* If you have the grep tool installed, find this more easily by filtering the output with the command: `ip addr | grep eth0`
99+
* Connect to your Linux server using this IP address.
96100

97101
The picture below shows an example of this by connecting to a Node.js server using the Edge browser.
98102

@@ -127,7 +131,7 @@ This isn't the default case in WSL 2. WSL 2 has a virtualized ethernet adapter w
127131

128132
WSL 2 distributions currently cannot reach IPv6-only addresses. We are working on adding this feature.
129133

130-
## WSL 2 Virtual Hardware Disk limitations
134+
## Expanding the size of your WSL 2 Virtual Hardware Disk
131135

132136
WSL 2 uses a Virtual Hardware Disk (VHD) to store your Linux files. If you reach its max size you may need to expand it.
133137

WSL/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ms.localizationpriority: high
1010

1111
## Learn more here
1212

13-
* [About the Windows Subsystem for Linux](about.md)
14-
* [What's new with WSL2](wsl2-index.md)
13+
* [What is the Windows Subsystem for Linux?](about.md)
14+
* [What's new with WSL2?](wsl2-index.md)
1515
* [Compare WSL 2 and WSL 1](compare-versions.md)
1616
* [Read frequently asked questions](faq.md)
1717

WSL/install-on-server.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ Now that you've downloaded a Linux distribution, in order to extract its content
5959
6060
3.Add your distro path to the Windows environment PATH (`C:\Users\Administrator\Ubuntu` in this example), using PowerShell:
6161
62-
```powershell
63-
$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
64-
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";C:\Users\Administrator\Ubuntu", "User")
65-
```
66-
You can now launch your distribution from any path by typing `<distro>.exe`. For example: `ubuntu.exe`.
62+
```powershell
63+
$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
64+
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";C:\Users\Administrator\Ubuntu", "User")
65+
```
6766

67+
You can now launch your distribution from any path by typing `<distro>.exe`. For example: `ubuntu.exe`.
6868

6969
Now that it is installed, you must [initialize your new distribution instance](initialize-distro.md) before using it.

WSL/release-notes.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
---
22
title: Release Notes for Windows Subsystem for Linux
33
description: Release notes for the Windows Subsystem for Linux. Updated weekly.
4-
keywords: BashOnWindows, bash, wsl, windows, windows subsystem for linux, windowssubsystem, ubuntu
4+
keywords: release notes, wsl, windows, windows subsystem for linux, windowssubsystem, ubuntu
55
author: benhillis
6-
ms.date: 07/31/2017
6+
ms.date: 05/15/2020
77
ms.topic: article
8-
ms.assetid: 36ea641e-4d49-4881-84eb-a9ca85b1cdf4
9-
ms.custom: seodec18
108
ms.localizationpriority: high
119
---
1210

0 commit comments

Comments
 (0)