This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
windows:windows10:linuxsubsystem [2020/12/10 00:11] – lunetikk | windows:windows10:linuxsubsystem [2020/12/10 00:43] (current) – lunetikk | ||
---|---|---|---|
Line 10: | Line 10: | ||
Go to Windows features and activate " | Go to Windows features and activate " | ||
- | {{: | + | {{: |
Afterwards go to the Microsoft Store, search for Linux and install a distribution of your choice | Afterwards go to the Microsoft Store, search for Linux and install a distribution of your choice | ||
Line 26: | Line 26: | ||
Maybe start with [[linux: | Maybe start with [[linux: | ||
+ | ==== Mount shares ==== | ||
+ | < | ||
+ | #mount a local drive from your windows host on linux | ||
+ | mkdir /drivez | ||
+ | mount -t drvfs ' | ||
+ | </ | ||
+ | ===== Commands ===== | ||
+ | |||
+ | ==== Powershell ==== | ||
+ | |||
+ | Certain tasks like reboots cant be done inside Linux and need to be executed via Powershell | ||
+ | |||
+ | ^ Command | ||
+ | | wsl.exe --shutdown | ||
+ | | wsl.exe -t < | ||
+ | | Restart-Service LxssManager | ||
+ | | wsl.exe -l | List all Distros | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | ==== Rescue login via root ==== | ||
+ | |||
+ | Open regedit, go to " | ||
+ | |||
+ | Inside your Distrofolder you will find " | ||
+ | |||
+ | Reopen your shell and you should be root. | ||
+ | |||
+ | After your rescue job is done, reset the value to your default users UID (mostly 1000) | ||
+ | |||
+ | {{: | ||