MicrosoftDocs / WSL

Source code behind the Windows Subsystem for Linux documentation.
https://docs.microsoft.com/windows/wsl
Other
1.88k stars 554 forks source link

Read-only file system unable to fix. #1905

Closed viswacareer1 closed 2 months ago

viswacareer1 commented 5 months ago

Documentation Issue

My Ubuntu distribution has ran into read only file system state, so to resolved the issue I have followed the steps provided at https://learn.microsoft.com/en-us/windows/wsl/disk-space#how-to-repair-a-vhd-mounting-error.

while performing the activity, I am getting the following error message while running .

wsl.exe sudo e2fsck -f /dev/sdd

Error Message:

e2fsck 1.46.5 (30-Dec-2021) /dev/sdd is mounted. e2fsck: Cannot continue, aborting.

Please refer the below images for more details:

image

image

Link to documentation page

https://learn.microsoft.com/en-us/windows/wsl/disk-space#how-to-repair-a-vhd-mounting-error

Suggested Improvements

No response

craigloewen-msft commented 2 months ago

You need to mount another distro to interact with that VHD. I recommend using wsl --install Debian to quickly install Debian and then that will allow you to interact with it.

Thanks!

For all further technical problems: This looks like a technical issue, if you're still seeing this issue please file it at github.com/microsoft/wsl where we answer technical problems. This repo is just for the docs page. Thank you!