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/24 15:29] – [Disk space] Started updating jypeter | other:win10wsl [2022/08/25 16:59] – [Disk space] started improving the section jypeter | ||
---|---|---|---|
Line 31: | Line 31: | ||
- | ==== Computer memory | + | ==== The basics before starting |
- | FIXME | + | Once you have verified that your Windows is recent enough, you should also: |
+ | |||
+ | * Install the [[other: | ||
+ | * Have at least some basic knowledge of Linux... | ||
+ | * Get some [[other: | ||
+ | ==== Computer CPU and memory ==== | ||
+ | |||
+ | Contrary to other virtual machines, WSL is well integrated with the Windows operating system and the hardware drivers and has a **low default CPU and memory footprint**! | ||
+ | |||
+ | * You should be able to //play// with WSL even with 8 Gb of RAM, but 16 Gb is recommended | ||
+ | * Of course, depending on what you need to do on your computer, a better processor will always help | ||
+ | * WSL+Ubuntu will use more CPU and RAM if you use it for running CPU and/or memory intensive processes! As would be the case with any Windows application... :-) | ||
+ | |||
+ | |||
+ | ==== Disk usage ==== | ||
+ | |||
+ | === Overview === | ||
+ | |||
+ | * '' | ||
+ | * The Linux installation(s) will be installed (and updated) on '' | ||
+ | * They can only be relocated to other partitions afterwards | ||
+ | |||
+ | * => We should **start with at least 10 Gb of free space on '' | ||
+ | * The initial installation will not use much space (2-3 Gb), but we always need space on '' | ||
+ | |||
+ | === How does it work? === | ||
+ | WSL+Linux seems to use a combination of actual Windows files/ | ||
- | ==== Disk space ==== | + | * Check [[https:// |
+ | * Check the following threads if you want to reduce the size of the '' | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
< | < | ||
Line 61: | Line 91: | ||
-rwxrwxrwx 1 root root 2.6G Aug 24 15:24 / | -rwxrwxrwx 1 root root 2.6G Aug 24 15:24 / | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | drivers | ||
+ | |||
+ | stdu@sadira034:/ | ||
+ | 9.1G / | ||
+ | |||
+ | stdu@sadira034:/ | ||
+ | 9.1G / | ||
FIXME | FIXME | ||
Line 192: | Line 231: | ||
-rwxrwxrwx 1 root root 63M Aug 24 14:52 / | -rwxrwxrwx 1 root root 63M Aug 24 14:52 / | ||
- | * Update | + | * Update |
- | * '' | + | * <code>stdu@sadira034: |
- | * Use the Left arrow to select '' | + | No LSB modules are available. |
- | * [[other: | + | Distributor ID: Ubuntu |
+ | Description: | ||
+ | Release: | ||
+ | Codename: | ||
+ | |||
+ | stdu@sadira034: | ||
+ | [sudo] password for stdu: | ||
+ | Get:1 http:// | ||
+ | Get:2 http:// | ||
+ | [...] | ||
+ | 278 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 174 MB of archives. | ||
+ | After this operation, 305 MB of additional disk space will be used. | ||
+ | Do you want to continue? [Y/n] Y | ||
+ | [...] | ||
+ | |||
+ | stdu@sadira034: | ||
+ | No LSB modules are available. | ||
+ | Distributor ID: Ubuntu | ||
+ | Description: | ||
+ | Release: | ||
+ | Codename: | ||
+ | | ||
+ | |||
+ | * Update the //Linux kernel// used by WSL, after stopping the running WSL instances | ||
+ | * < | ||
+ | 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 23/ | ||
+ | Les mises à jour WSL automatiques sont activées. | ||
+ | |||
+ | Version du noyau : 5.10.16 | ||
+ | |||
+ | PS C:\> wsl -l -v | ||
+ | NAME STATE | ||
+ | * Ubuntu | ||
+ | |||
+ | PS C:\> wsl --terminate Ubuntu | ||
+ | |||
+ | PS C:\> wsl -l -v | ||
+ | NAME STATE | ||
+ | * Ubuntu | ||
+ | |||
+ | PS C:\> wsl --update | ||
+ | Recherche de mises à jour en cours... Veuillez patienter | ||
+ | Téléchargement de mises à jour en cours... Veuillez patienter. | ||
+ | Installation en cours des mises à jour... Veuillez patienter | ||
+ | Cette modification sera effective au prochain redémarrage complet de WSL. Pour forcer un redémarrage, | ||
+ | Version du noyau : 5.10.102.1 | ||
+ | |||
+ | PS C:\> wsl --status | ||
+ | [...] | ||
+ | Version du noyau : 5.10.102.1 | ||
+ | PS C:\> wsl cat / | ||
+ | Linux version 5.10.102.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Mar 2 00:30:59 UTC 2022</ | ||
===== After the base installation ===== | ===== After the base installation ===== | ||
other/win10wsl.txt · Last modified: 2023/12/06 14:24 by jypeter