Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2815

Recover files from WSL on secondary SSD

$
0
0

Before I swapped the SSD in my laptop for a new one I had Ubuntu running in WSL1 on Win10 v1909. I have the old SSD in an enclosure and can access the files on it from my new Windows installation.

How can I get the files (mainly crontab file, home folder) from my WSL installation on the old SSD?

In the new installation under C:\Users\<user>\AppData\Local\Microsoft\WindowsApps there are folders:

CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgscCanonicalGroupLimited.UbuntuonWindows_2004.2020.424.0_x64__79rhkp1fndgsc(and file ubuntu.exe)

Under CanonicalGroupLimited.UbuntuonWindows_2004.2020.424.0_x64__79rhkp1fndgsc there is a rootfs folder with a Linux filesystem.

The old SSD is mounted on drive F:\ but under F:\Users\<user>\AppData\Local\Microsoft\WindowsApps the folder CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc doesn't have a rootfs folder.


Viewing all articles
Browse latest Browse all 2815


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>