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:59] – [Base installation] Added the output of 'cat /etc/*release*' after upgrade jypeter | other:win10wsl [2022/08/29 17:01] – [After the base installation] 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 ==== | ||
+ | |||
+ | <WRAP center round tip 60%> | ||
+ | You can skip reading this WSL // | ||
+ | |||
+ | Come back later if you have problems | ||
+ | </ | ||
+ | |||
+ | |||
+ | 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 (e.g. [[https:// | ||
+ | |||
+ | If you get a '' | ||
+ | |||
+ | Example: HP laptop with an **Intel** CPU, and **virtualization not activated in the BIOS** | ||
+ | * //Hyper-V// section of the '' | ||
+ | * < | ||
+ | Virtualisation activée dans le microprogramme : | ||
+ | Traduction d’adresse de second niveau : Oui | ||
+ | Prévention de l’exécution des données disponible : | ||
+ | * // | ||
+ | * {{ : | ||
+ | * //Hyper-V// section of the '' | ||
+ | * < | ||
===== Base installation ===== | ===== Base installation ===== | ||
Line 326: | Line 352: | ||
===== After the base installation ===== | ===== After the base installation ===== | ||
- | Once you have completed | + | After completing |
+ | * a //root// and //user// account | ||
+ | * the // | ||
+ | * pre-installed | ||
+ | * **no** graphics | ||
+ | * enough to play a bit with a Linux computer and test that the installation is working, but not enough to do some real work | ||
==== Opening a terminal ==== | ==== Opening a terminal ==== | ||
Line 1027: | Line 1058: | ||
===== Miscellaneous ===== | ===== Miscellaneous ===== | ||
+ | |||
+ | ==== Upgrading WSL 1 to WSL 2 ==== | ||
+ | |||
+ | <WRAP center round tip 60%> | ||
+ | You will be able to run existing WSL 1 installations with WSL 2, so upgrading should not be a problem! | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Determining which version of WSL is installed === | ||
+ | |||
+ | If you have never used WSL on a computer, WSL 2 will be installed directly when you follow the [[other: | ||
+ | |||
+ | You can determine if your installed Linux distributions are running on WSL 1 or WSL 2 by typing '' | ||
+ | |||
+ | * '' | ||
+ | * < | ||
+ | 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: | ||
+ | |||
+ | === Upgrading WSL === | ||
+ | |||
+ | |||
+ | [[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