Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to move wsl system to a new directory #191

Open
immortal-autumn opened this issue Feb 3, 2022 · 6 comments
Open

Unable to move wsl system to a new directory #191

immortal-autumn opened this issue Feb 3, 2022 · 6 comments

Comments

@immortal-autumn
Copy link

[ERROR] Couldn't set the case sensitive attribute of the directory "\?\C:\Users\Lenovo\AppData\Local\Packages\KaliLinux.54290C8133FEE_ey8k8hqnwqnmg\LocalState".
Reason: Indicates that the directory trying to be deleted is not empty.

Why does this happen?

Sys Env: win 11

@DDoSolitary
Copy link
Owner

Please use the latest dev build. #150

@itamarc
Copy link

itamarc commented Mar 9, 2022

Thanks!
I had the same problem and used LxRunOffline-v3.5.0-33-gbdc6d7d-msvc.zip successfully.

I'm using Windows 11 and the last system update was today:
Edition: Windows 11 Home Single Language
Version: 21H2
OS compilation: 22000.556.

@Serverfrog
Copy link

I currently also try this, and it starts compared to the Release.
Now the real question: when is this going to be released? If this is only on the dev build, and (for me the only reason) a major function is not working. Anything that blocks an release?

@unovil
Copy link

unovil commented Jul 23, 2022

Please use the latest dev build. #150

I'm using the latest dev build (3.5.0) and I'm still encountering this problem, both the MSVC and MinGW versions.
Version: Windows 11
WSL version: 2
Distro: Ubuntu

PS C:\Users\Uno> lxrunoffline l
Ubuntu

PS C:\Users\Uno> lxrunoffline gd
Ubuntu

PS C:\Users\Uno> lxrunoffline move -n Ubuntu -d D:\wsl\
[ERROR] Couldn't set the case sensitive attribute of the directory "\\?\C:\Users\Uno\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalState\".
Reason: Indicates that the directory trying to be deleted is not empty.

Apparently the bug with the \\?\ path still exists...

@alekssamos
Copy link

What to do? The same problem. Is there no solution?

@alekssamos
Copy link

I have solved the problem!
Manually moved the ext4.vhdx file from the old directory to the new one and then ran the lx command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants