How To Install WSL2 On Windows 10 - Step By Step Walk Through Hindi - Windows Subsystem For Linux 2

preview_player
Показать описание
How To Install Windows Subsystem For Linux 2 WSL2 On Windows 10 2004 Step By Step Walk Through Hindi. Let me walk you through a detailed tutorial about installation windows subsystem for linux 2 wsl2 on windows 10 2004.

I will share will you secrets that no one else will tell you. There is a fair amount of architecture deep dive which will tickle the senses of the nerds.

Linux Kernel Update Package

Follow And Support Me

Install Windows 11 On VirtualBox On macOS

Install VirtualBox And VirtualBox Extension Pack On Mac

Install Windows 10 VM On Mac

Install Windows 11 VM On Linux

Install QEMU On Windows Correctly

Build Your Own Custom Windows 11 ISO To Cut The Crap

Install Visual Studio 2022 On A Windows 11 Virtual Machine

Run macOS Big Sur VM On Linux

Run macOS Monterey VM On Linux

Improvements and Fixes For macOS Monterey On Linux

Dual Boot macOS and Linux

How To Install And Use QEMU On macOS

Thank you for your continued patronage.

Follow And Support Me

My Channel

====================================================================
Track: In the Void
Music provided by YouTube Audio Library
====================================================================

Timestamps
00:00 Windows Sub System For Linux 2 ( WSL 2 ) Demonstration
00:20 Enable Virtualization Technology In PC Basic Input Output System ( BIOS )
01:03 Use 'winver' Command To Check Windows Installation Version Need Windows 10 May 2020 Update Or Join Windows Insider To Update To Latest Bits
01:32 Turn On Virtual Machine Platform And Windows Sussystem For Linux
02:23 Restart Windows
03:11 Check Out Different Flavours Of Linux On The Microsoft Store
04:22 Search And Download Ubuntu 20.04 LTS (Long Term Support) From The Microsoft Store
06:25 Download The Linux Kernel Update Package For WSL 2
06:55 Install The Linux Kernel Update Package For WSL 2
07:17 Install Ubuntu 20.04 LTS (Long Term Support)
08:30 Convert Ubuntu 20.04 LTS Installation From WSL 1 To WSL 2
09:34 Set WSL 2 To Default Installation Version For Any Linux Distribution
09:47 Run WSL 2 From Windows PowerShell
10:04 Run Ubuntu 20.04 LTS On WSL 2


Microsoft did a lot of work behind the scenes to make wsl 2 possible to fully explain all of the architecture changes that we did.

First you need to understand the architecture of the wsl 1, which is the current version that's widely available

In wsl 1, we have a translation based approach. So we have actual Linux user space binaries that are provided by the maintainers like canonical Debian open Sousa. These are the actual binaries that run, and whenever they have a system call like accessing memory, or files or network, we call down to yourself translation layer, we translate these system calls from a Linux system call to a Windows system call. And that goes down to the Windows NT kernel NT kernel sends a response back up to our translation layer we translate that back to something that Linux would understand anything the day we've implemented the application binary interface for Linux. This works great, because everything ran under the same kernel. However, there were some challenges, Windows and Linux have very different semantics. And so this could be complicated, especially when the semantics were diametrically opposed from each other, individual to we've moved to a virtualization based approach rather than a translation layer.

So we have your linux distribution which has all your user space binaries. And we put that inside of a lightweight utility VM. This is a VM, that is really fast it boots up and under a second, and does not hog tonnes of resources on your machine. And we've put a real Linux kernel inside of this. This is a kernel that is built by Microsoft maintained by Microsoft and is totally open source and all the source code is available on GitHub.

Whenever you have a system call from your Linux user space binaries. It comes down to this kernel and is immediately responded. So this means that you don't have to go through this translation layer, which is what leads to 100% system call compatibility and way faster file IO performance at the end of day this all runs on the windows hypervisor layer, and to power this VM.

And Microsoft also included all of your favourite windows integration features with w cells such as accessing all your windows files and running Windows executables straight from this Linux environment.
Рекомендации по теме
Комментарии
Автор

NYC, Bro video bnay sy phly Page pe script likh lain, Is sy apk galti ni krain gy. #SarmadBytes

sarmadahsan
Автор

I have seen your ISDS O1 Fix video and now this video . I think u r god of technology .

helpingguru
Автор

Eassy to learn thanks, yours efforts are very nformative

topgaming
Автор

Microsoft Windows [Version 10.0.19042.572]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>kali linux
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

masterhacker