Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/setup_vscode_macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,18 @@ Now, running the debugger will not display the assembly file. However, it will n

<img src="images/vscode_macos_038.png" width="768px" />

### Read-only volume
VSCode may think the system is read only and **fail to update** if it is installed in the Downloads folder. For example:

> Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. This might mean the application was put on quarantine by macOS. See this link for more information.

Check if VS Code is installed in the Downloads folder. Remove it and try the [Install section](#install) again.
```console
$ ls ~/Downloads/ | grep "Visual Studio Code"
Visual Studio Code.app
$ rm -rf ~/Downloads/Visual\ Studio\ Code*.app ~/Downloads/VSCode-*.zip
```

## Acknowledgments
Original document written by Andrew DeOrio awdeorio@umich.edu.

Expand Down
24 changes: 24 additions & 0 deletions docs/setup_wsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ If these do not work, right click on the terminal window header. If you see opti

This section is for common problems and solutions.

### `wsl --install` stuck
Cancel by closing PowerShell, [enable virtualization](#enable-virtualization), and try `wsl --install` again.

### Enable Virtualization

WSL2 requires virtualization support. Follow the steps below to ensure it is enabled.
Expand Down Expand Up @@ -250,6 +253,27 @@ Microsoft maintains an extensive [troubleshooting page](https://learn.microsoft.

If you forgot you WSL password, follow the steps [here](https://learn.microsoft.com/en-us/windows/wsl/setup/environment#set-up-your-linux-username-and-password) to reset it. Scroll down to the part beginnning with "If you forgot the password for yoru Linux distribution:".

### Delete and reinstall
If you've tried everything and want to delete your WSL install entirely.

<div class="primer-spec-callout danger" markdown="1">
**WARNING:** This will delete all files inside WSL.
</div>

Start PowerShell and run it as administrator ([instructions](#install-wsl)).

See what's installed.
```console
C:\WINDOWS\system32> wsl -l -v
NAME STATE VERSION
* Ubuntu-24.04 Running 2
```

Delete each installation. Your version might be different and you might need to delete several.
```console
$ wsl --unregister Ubuntu-24.04
```

## Acknowledgments
Original document written by Andrew DeOrio awdeorio@umich.edu.

Expand Down
Loading