Installation Ubuntu 20.04 LTS
- Open Microsoft Store -> Search for Ubuntu
Move a WSL Distro to a non System Drive
C:\Users\Helmut> wsl --shutdown
C:\Users\Helmut> wsl --export Ubuntu-20.04 D:\WSL\Ubuntu-20.04.tar
C:\Users\Helmut> dir D:\WSL\Ubuntu-20.04.tar
Verzeichnis von D:\WSL
19.11.2021 10:11 4.171.202.560 Ubuntu-20.04.tar
1 Datei(en), 4.171.202.560 Bytes
0 Verzeichnis(se), 116.880.101.376 Bytes frei
C:\Users\Helmut> wsl --unregister Ubuntu-20.04
Registrierung wird aufgehoben…
C:\Users\Helmut>wsl --import Ubuntu-20.04 D:\WSL\Ubuntu-20.04 D:\WSL\Ubuntu-20.04.tar --version 2
Validate Distro:
C:\Users\Helmut\AppData\Local\Google\Cloud SDK> wsl -l -v
NAME STATE VERSION
Ubuntu-20.04 Stopped 2
Login into Distro:
C:\Users\Helmut> wsl -d Ubuntu-20.04
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.10.60.1-microsoft-standard-WSL2 x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Fri Nov 19 10:39:14 CET 2021
System load: 0.0 Processes: 8
Usage of /: 1.6% of 250.98GB Users logged in: 0
Memory usage: 0% IPv4 address for eth0: 172.25.83.50
Swap usage: 0%
root@User-PC:~# pwd
/root
root@User-PC:~# ps -elf
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
4 S root 1 0 0 80 0 - 225 - 10:39 ? 00:00:00 /init
5 S root 9 1 0 80 0 - 225 - 10:39 ? 00:00:00 /init
1 S root 10 9 0 80 0 - 225 - 10:39 ? 00:00:00 /init
4 S root 11 10 0 80 0 - 2509 do_wai 10:39 pts/0 00:00:00 -bash
0 R root 110 11 0 80 0 - 2655 - 10:42 pts/0 00:00:00 ps -elf
Be First to Comment