Skip to content
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

Post command line installation ASCII in cmd atop PowerShell 7.5.0 via Windows Terminal #12652

Open
MikeFarrington opened this issue Mar 3, 2025 · 3 comments
Assignees

Comments

@MikeFarrington
Copy link

This is probably just a minor visual glitch with post-installationt status information, but I figured I'd pass it along anyway.

I just performed a wsl --install' in a Windows Terminal that had been launched as PowerShell 7.5.0, but had launched cmdwithin it before doing thewsl --install`. For an extra variable, this is also on Windows on ARM (24H2) in VM on Apple silicon.

I'm guessing the installation incorrectly assumed it was running under PowerShell when it was actually running within a cmd prompt within PowerShell, and thus it tried displaying visually interesting information that cmd couldn't handle.

A whole lot of appears to me to be ASCII terminal codes got spit out at the end of the installation.

Image

Copy link

github-actions bot commented Mar 3, 2025

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

@MikeFarrington
Copy link
Author

I was unaware that nested virtualization isn't currently supported on Windows on ARM, so this was a fruitless exercise on my part. Oh well. It seems like the WSL installer should have mentioned something about that (perhaps that was the ASCII I couldn't read).

@zcobol
Copy link

zcobol commented Mar 4, 2025

@MikeFarrington indeed nested virtualization is not supported on (some) ARM processors. I'm using a DevKit 2023.

However, the WSL team could add a warning message to WSL Settings app:

Image

The warning show only when launching a WSL instance:

wsl: Nested virtualization is not supported on this machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants