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

Update WSL shutdown instructions for clarity by specifying PowerShell should be run as administrator before executing the shutdown command. #2028

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Civon
Copy link

@Civon Civon commented Sep 25, 2024

This PR addresses the issue where the first attempt to run wsl --shutdown using an unprivileged PowerShell fails.

Steps to Reproduce

  1. Fill the VHD to its capacity and follow the instructions to fix the read-only fallback error.
  2. In the Read-only fallback error section, use an unprivileged PowerShell to run wsl.exe --shutdown.
  3. Observe the error as shown in the image below:
    image

Solution

Run the command in a privileged PowerShell session.

…l should be run as administrator before executing the shutdown command.
Copy link
Contributor

Learn Build status updates of commit d08a15a:

✅ Validation status: passed

File Status Preview URL Details
WSL/disk-space.md ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

@Civon Civon marked this pull request as draft September 25, 2024 20:13
@Civon
Copy link
Author

Civon commented Sep 25, 2024

FYR: I may also need to close Docker Desktop(on Windows) to not getting error Wsl/Service/CreateInstance/MountVhd/HCS/ERROR_SHARING_VIOLATION while running next command wsl.exe sudo e2fsck -f /dev/sdc

@Civon Civon marked this pull request as ready for review September 25, 2024 20:57
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

Successfully merging this pull request may close these issues.

1 participant