Upgrading from Windows 10 to Windows 11: what happens to WSL2 installations

I am running the current version of Windows 10. I use Ubuntu on WSL2 daily as I’m enrolled in a software engineering Bootcamp. I have many directories of files that I work with. When upgrading to Windows 11:

  • Are existing WSL2 installs ported to Windows 11 (All of your files are in the same place) or…
  • Will I need to install WSL fresh and either rebuild the directories from a backup? or…
  • Restore an exported image (if this is even possible to take a Windows 10 WSL image and restore it to Windows 11)?
  • Even if any of the above is true, are there reasons that installing Ubuntu fresh and rebuilding from scratch is a better option?

I’ve done a lot of online searching and I can’t seem to find any answers.

Thanks to anyone with insight.

Kep

Thurrott