I am facing an issue with installing Ubuntu 20.04 virtually on Windows 10 using WSL2 from the Microsoft Store. It's working fine when the system is running, but on restart it gets uninstalled or disappears. So I need to reinstall it after each restart. How can I fix this??
Additional information:
Before reboot, if I wsl -l -v
, the name shown is Ubuntu 20.04 at version 2.
But after reboot it shows:
Windows Subsystem for Linux has no installed distributions.