- Backup current vhdx file
from
%LOCALAPPDATA%\Packages\<PackageFamilyName>\LocalState\ext4.vhdx
toD:\ext4.vhdx
(Most important step. If you can't find correct vhdx file, you shouldn't go ahead) - Remove current distro, like wsl --unregister Ubuntu-20.04
- Reinstall distro from Microsoft Store
- Export and import
wsl --export Ubuntu-20.04 D:\wsl.tar