other:win10wsl
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:win10wsl [2022/08/25 17:57] – [Disk usage] jypeter | other:win10wsl [2022/08/26 17:55] – [Updating WSL 1 to WSL 2] Improved jypeter | ||
---|---|---|---|
Line 36: | Line 36: | ||
* Install the [[other: | * Install the [[other: | ||
+ | * Know how to use copy-paste in a Powershell FIXME | ||
* It will be useful to be able to [[other: | * It will be useful to be able to [[other: | ||
* Have at least some basic knowledge of Linux... | * Have at least some basic knowledge of Linux... | ||
Line 127: | Line 128: | ||
* Disk size after upgrading to //Ubuntu 20.04.4 LTS// with '' | * Disk size after upgrading to //Ubuntu 20.04.4 LTS// with '' | ||
+ | ==== Hyper-V requirements ==== | ||
+ | |||
+ | WSL 2 needs the //Virtual Machine Platform// to be enabled on your computer. If you have never used WSL before, you can probably go directly to the [[other: | ||
+ | |||
+ | If you have problems, or if you are updating WSL 1 to WSL 2, use '' | ||
+ | |||
+ | If you get a '' | ||
===== Base installation ===== | ===== Base installation ===== | ||
Line 270: | Line 278: | ||
Description: | Description: | ||
Release: | Release: | ||
- | Codename: | + | Codename: |
+ | |||
+ | stdu@sadira034:/ | ||
+ | DISTRIB_ID=Ubuntu | ||
+ | DISTRIB_RELEASE=20.04 | ||
+ | DISTRIB_CODENAME=focal | ||
+ | DISTRIB_DESCRIPTION=" | ||
+ | NAME=" | ||
+ | VERSION=" | ||
+ | ID=ubuntu | ||
+ | ID_LIKE=debian | ||
+ | PRETTY_NAME=" | ||
+ | VERSION_ID=" | ||
+ | HOME_URL=" | ||
+ | SUPPORT_URL=" | ||
+ | BUG_REPORT_URL=" | ||
+ | PRIVACY_POLICY_URL=" | ||
+ | VERSION_CODENAME=focal | ||
+ | UBUNTU_CODENAME=focal</ | ||
* [[other: | * [[other: | ||
Line 1009: | Line 1035: | ||
===== Miscellaneous ===== | ===== Miscellaneous ===== | ||
+ | |||
+ | ==== Updating WSL 1 to WSL 2 ==== | ||
+ | |||
+ | === Am I using WSL 1 or WSL 2 ? === | ||
+ | |||
+ | If you have never used WSL on this computer (and for **this user**), WSL 2 will be installed directly when you follow the [[other: | ||
+ | |||
+ | If you are not sure if you are currently using WSL 1 or WSL 2, you can check [[https:// | ||
+ | |||
+ | * '' | ||
+ | * < | ||
+ | Recherche de mises à jour en cours... Veuillez patienter | ||
+ | Aucune mise à jour n’est disponible. | ||
+ | Version du noyau : 5.10.102.1</ | ||
+ | |||
+ | * '' | ||
+ | * < | ||
+ | Distribution par défaut : Ubuntu | ||
+ | Version par défaut : 2 | ||
+ | Activez la fonctionnalité Windows de plateforme de machine virtuelle et assurez-vous que la virtualisation est activée dans le BIOS. | ||
+ | Pour plus d’informations, | ||
+ | |||
+ | |||
+ | === Prerequisites === | ||
+ | |||
+ | * If WSL 1 is already running, you should have no problem with the [[other: | ||
+ | * For WSL 2, you also need to meet the [[other: | ||
+ | |||
+ | === Updating! === | ||
+ | |||
+ | |||
+ | [[https:// | ||
+ | |||
+ | After rebooting, go back to the [[other: | ||
+ | |||
+ | ==== Potentially useful stuff ==== | ||
* Determining from **inside** the running Linux if you are using WSL (or another type of virtual machine)\\ < | * Determining from **inside** the running Linux if you are using WSL (or another type of virtual machine)\\ < |
other/win10wsl.txt · Last modified: 2023/12/06 14:24 by jypeter