-
Notifications
You must be signed in to change notification settings - Fork 821
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I failed in stalling the WSL, please help me #9858
Comments
The output suggests WSL2 is installed. It gives you some help on the available commands. To verify if your old Ubuntu distribution or any other distribution is still installed issue the command If any distribution is listed there you can run it by issueing the command otherwise you can get a list of distributions available for installation using the command |
Thank you for your kind reply! but actually when i typed wsl --list:it turns out to be : The Windows Subsystem for Linux (WSL) on Linux does not have a distribution installed by default. You can install a distribution by accessing the Microsoft Store.and MS is not available for my computer , so i tried wsl --install -'Ubuntu'but it seems falling asleep at the switch, just couldn't react in any way |
Try without the - before the Distro name. Also if there are no spaces in the distro name you don't need the hyphens so it would just be |
thanks again! but it repeated the words instead of working. Maybe my computer is sleeping or even dreaming right now,oh no. I am going crazy PS C:\Users\ASUS> wsl --install Ubuntu Usage: wsl.exe [parameter] [option...] [command line] Parameters for running Linux binaries: If no command line is provided, wsl.exe launches the default shell. --exec, -e -- |
what is the output of the |
the output were as follows:The Windows Subsystem for Linux (WSL) on Linux does not have a distribution installed by default. You can install a distribution by accessing the Microsoft Store.
***@***.***
…---- Replied Message ----
From
Tobias ***@***.***>
Date
3/28/2023 22:31
To
***@***.***>
Cc
***@***.***>
,
***@***.***>
Subject
Re: [microsoft/WSL] I failed in stalling the WSL, please help me (Issue #9858)
what is the output of the wsl --list command ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Windows Version
Microsoft Windows [Version 10.0.22000.675]
WSL Version
0.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
wsl --install
Expected Behavior
Installing...This may take a few minutes.
Actual Behavior
Copyright (c) Microsoft Corporation. All rights reserved.
Usage: wsl.exe [parameter] [options...] [command line]
Parameter for running Linux binaries:
If no command line is provided, wsl.exe launches the default shell.
--exec, -e
Execute the specified command without using the default Linux shell.
--
Pass the remaining command line as is.
Options:
--cd
Set the specified directory as the current working directory.
If ~ is used, the home path of the Linux user will be used. If the path
starts with a / character, it will be interpreted as an absolute Linux path.
Otherwise, the value must be an absolute Windows path.
--distribution, -d
Run the specified distribution.
--user, -u
Run as the specified user.
--system
Launches the shell for the system distribution.
Parameter for managing Linux distributions for Windows Subsystem for Linux:
--help
Display usage information.
--install [Options]
Install additional Linux distributions for Windows Subsystem for Linux.
To obtain a list of valid distributions, use "wsl --list --online".
--set-default-version
Change the default installation version for new distributions.
--shutdown
Immediately terminates all running distributions and the WSL 2
lightweight utility virtual machine.
--status
Display the status of the Windows Subsystem for Linux.
--update [Options]
Updates the WSL 2 kernel to the latest version if no options are specified.
Parameter for managing distributions within Windows Subsystem for Linux:
--export
Export the distribution to a tar file.
For standard output, the file name can be -.
--import [Options]
Import the specified tar file as a new distribution.
For standard input, the file name can be -.
--list, -l [Options]
List distributions.
--set-default, -s
Set the specified distribution as the default.
--set-version
Change the version of the specified distribution.
--terminate, -t
Terminate the specified distribution.
--unregister
Unregister the distribution and delete the root filesystem.
--mount
Connect and mount a physical disk in all WSL2 distributions.
--unmount [Disk]
Unmount and detach the disk from all WSL2 distributions.
If called without parameters, all disks will be unmounted and detached.
Diagnostic Logs
i remembered intalling it once, but the Ubuntu can't be found in my computer and when i tried to reinstall it and ran the same code, it only sprung out these words.
I tried to search for its menu and github and on the internet but in vain.
and i tried
https://blog.csdn.net/qq_43780850/article/details/124635249
https://blog.csdn.net/qq_43780850/article/details/124633611?csdn_share_tail=%7B%22type%22:%22blog%22,%22rType%22:%22article%22,%22rId%22:%22124633611%22,%22source%22:%22qq_43780850%22%7D&ctrtid=k5Lqc
but either did it not work or i failed to found or install the Windows Security on my Win11
I really want to know how can i succeed in it, please help me
Thanks for your guys!
The text was updated successfully, but these errors were encountered: