This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:win10wsl [2022/08/25 15:59] jypeter [Base installation] Added the output of 'cat /etc/*release*' after upgrade |
other:win10wsl [2022/08/26 07:21] jypeter [Miscellaneous] Added a WSL 1 to WSL 2 section |
||
---|---|---|---|
Line 1027: | Line 1027: | ||
===== Miscellaneous ===== | ===== Miscellaneous ===== | ||
+ | |||
+ | ==== Updating WSL 1 to WSL 2 ==== | ||
+ | |||
+ | <code>PS C:\Users\jypeter> wsl --update | ||
+ | Recherche de mises à jour en cours... Veuillez patienter | ||
+ | Aucune mise à jour n’est disponible. | ||
+ | Version du noyau : 5.10.102.1 | ||
+ | |||
+ | PS C:\Users\jypeter> wsl --status | ||
+ | Distribution par défaut : Ubuntu | ||
+ | Version par défaut : 2 | ||
+ | |||
+ | La dernière mise à jour effectuée du Sous-système Windows pour Linux date du 24/08/2022 | ||
+ | Les mises à jour WSL automatiques sont activées. | ||
+ | |||
+ | Version du noyau : 5.10.102.1</code> | ||
+ | |||
+ | ==== Potentially useful stuff ==== | ||
* Determining from **inside** the running Linux if you are using WSL (or another type of virtual machine)\\ <code>$ systemd-detect-virt | * Determining from **inside** the running Linux if you are using WSL (or another type of virtual machine)\\ <code>$ systemd-detect-virt |