mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 16:55:29 +03:00
Merge pull request #7513 from iNavFlight/MrD-RC-patch-1
Update Building in Windows 10 or 11 with Linux Subsystem.md
This commit is contained in:
commit
430a1942b8
1 changed files with 5 additions and 1 deletions
|
@ -148,7 +148,11 @@ If you see your Linux distribution is using WSL 2, this is the problem. WSL 2 is
|
|||
1. Put your files on the Linux file system
|
||||
2. Change to WSL 1
|
||||
|
||||
I opted for the latter. To do this, in the elevated PowerShell window, you can see the name of your distro. Mine is **Ubuntu-20.04**, so I'll use that in this example. Simply type
|
||||
#### Using the Linux file system (recommended)
|
||||
To use the Linux file system, make sure the distro is running. Open File Explorer and navigate to `\\wsl$`. In that path you will find your distros listed. At this point, map a network drive to your distro. Inside the distro, you can find your home directory at `/home/__username__/`. Create your GitHub folders here.
|
||||
|
||||
#### To switch back to WSL 1
|
||||
To do this, in the elevated PowerShell window, you can see the name of your distro. Mine is **Ubuntu-20.04**, so I'll use that in this example. Simply type
|
||||
```
|
||||
wsl --set-version Ubuntu-20.04 1
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue