Error starting Ubuntu in WSL2

I have been using Ubuntu 20.04 on WSL2 daily for the past one year. Yesterday I ran sudo apt update && sudo apt upgrade in the Ubuntu distro. After a reboot on my Windows 10 machine, I can't launch the Ubuntu distro anymore. I am getting The Windows Subsystem for Linux instance has terminated. process exited with code 4294967295 in my Windows Terminal.

My Windows version is Windows 10 2004

Is there any ways to fix it or get files out from Ubuntu distro?

My bottomline is to save any working files inside the Ubuntu distro.

3

1 Answer

Managed to solve it by removing NAS storage entry in /etc/fstab. Ubuntu in WSL2 will fail to start if the connection to NAS storage fail.

Found the solution in this github issue.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like