this post was submitted on 11 Nov 2023
853 points (85.2% liked)
linuxmemes
20417 readers
1483 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
*Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\WINDOWS\system32> wsl.exe -l -v Windows Subsystem for Linux has no installed distributions.
Use 'wsl.exe --list --online' to list available distributions and 'wsl.exe --install ' to install.
Distributions can also be installed by visiting the Microsoft Store: https://aka.ms/wslstore Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND PS C:\WINDOWS\system32> wsl --set-default-version 2 For information on key differences with WSL 2 please visit https://aka.ms/wsl2 The operation completed successfully. PS C:\WINDOWS\system32> wsl.exe -l -v Windows Subsystem for Linux has no installed distributions.
Use 'wsl.exe --list --online' to list available distributions and 'wsl.exe --install ' to install.
Distributions can also be installed by visiting the Microsoft Store: https://aka.ms/wslstore Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND PS C:\WINDOWS\system32>*
Still getting this when I try to open Ubuntu:
*Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80370114 Error: 0x80370114 The operation could not be started because a required feature is not installed.
Press any key to continue...*
I did make sure the subsystem feature in windows features was turned on, btw
Wsl seems to be installed since it responded to the command to set it to version 2.
But it doesn't sound like it ever installed Ubuntu properly since it shows no installed distributions.
Quick search shows that you need to enable the following windows features:
Virtual Machine Platform And Windows Hypervisor Platform
Are these enabled?
Edit:
Someone already answered the same thing but I didn't see it before posting this. Well done and glad it's working.