It can be installed to other disks
Download Ubuntu installation package
Manually download Windows Subsystem for Linux (WSL) Distros | Microsoft Docs
Change the suffix (zip) and unzip it to another disk.
Open Ubuntu *. Exe and install it
Something went wrong
one
Error 0x800701bc WSL 2 ??????????????????
two
Error 0x80370102
The first problem is that the windows service required by WSL is not enabled
Solution
Start the corresponding service in settings
The following services need to be enabled: 1. Hyper-V 2. Virtual machine platform 3. Windows subsystem for Linux
PS: windows11 setting steps, Application – & gt; Optional function (pull to the bottom) – & gt; More windows services
The second problem is that the required files are not installed when wsl1 is upgraded to wsl2
Solution
Download the installation package and install it.
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_ update_ x64.msi
When installing in other paths, the boot subsystem is the root user. If you don’t want to start WSL, the default is the root user. You can follow the steps below.
1. Add a new user,
sudo add username
2. Grant permission (nothing can be done without permission)
sudo usermod -a -G adm username
sudo usermod -a -G sudo username
3. Default user configuration for Ubuntu
.\ubuntu2004.exe config --default-user username
If the author enters PowerShell under the installation directory, the absolute path can be used for configuration without entering the installation directory.
Read More:
- Solve the problem of non system disk or disk error, replace and strike any key when ready
- Error: unrecognized command line option “-std=c++11”, to solve the problem that ubuntu does not support c++11
- Solve the problem that the version of less is too high
- Solve the problem of Too many levels of symbolic links
- Solve the problem of error: cannot pass objects of non trivially copyable type ‘STD:: String’ in C / C + +
- How to Solve apt get update problem: usr/lib/apt/methods/HTTPS could not be found_PUBKEY 7EA0A9C3F273FCD8
- Solve the problem of error running xxxapplication command line is too long when compiling and running IntelliJ idea
- Record the location and cleaning of chrome junk files under appdata of Disk C
- Win10 must be optimized after installation to solve 100% disk occupation
- Disk read error solution for new hard disk installation
- Solve the problem that the interface between C # WinForm program and Oracle doesn’t respond for a long time
- Non system disk or disk error
- U disk installation Linux system could not boot, / dev / root does not exist and the identified hard disk space is not available
- Root password of windows 10 WSL Ubuntu system
- C language — to solve the problem of program flashback when programming (in VS)
- Solve the problem of VC 6.0 fatal error C1033: cannot open program database’.\debug\vc60.pdb’
- Solutions to the problem that Ubuntu is stuck when copying large files and can’t mount mobile hard disk normally
- Solution to the problem of no C / C + + option in the new project of eclipse
- How to solve the problem that the output results of C + + program written in VS2010 flash by
- The computer can’t turn on ERROR: NO BOOT DISK HAS BEEN DETECTED OR THE DISK HAS FAILED