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

WSL corrupted VirtualBox (I think) #7665

Closed
1 of 2 tasks
thissop opened this issue Nov 11, 2021 · 4 comments
Closed
1 of 2 tasks

WSL corrupted VirtualBox (I think) #7665

thissop opened this issue Nov 11, 2021 · 4 comments

Comments

@thissop
Copy link

thissop commented Nov 11, 2021

Version

Microsoft Windows [Version 10.0.19042.1348]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

I was working in my Ubuntu VM on VirtualBox and simultaneously trying to install WSL. My VM crashed along with 100 GB from two years of work on it which I believe is related to trying to install WSL.

Expected Behavior

I've tried removing all HYPER-V features, deleting Ubuntu that was downloaded for WSL, removing WSL (both from prompt and windows features), etc.

Actual Behavior

I wrote more about this on stack exchange: link

Diagnostic Logs

No response

@WSLUser
Copy link

WSLUser commented Nov 12, 2021

If you're trying to run WSL2, then yes there's issue with Virtual Box. There's nothing to be done on the WSL2 end. It's entirely in the hands of the Virtual Box devs to update to work with WSL2. Otherwise you need to choose and WSL2 is the superior option between the 2. Create a tar file after booting with Virtual Box, then re-enable WSL2. Then import the tar file with the wsl --import command. Problem solved and now you have superior performance to before.

@thissop thissop changed the title WSL ruined VirtualBox (I think) WSL corrupted VirtualBox (I think) Nov 12, 2021
@thissop
Copy link
Author

thissop commented Nov 12, 2021 via email

@Biswa96
Copy link

Biswa96 commented Nov 12, 2021

just trying to recover the files in the virtualbox vm

This question will be off-topic here. BTW, 7zip can open some VirtualBox files. Alternatively, you can convert the virtual disk file to VHD or VHDX format and mount it in WSL2.

WSL2 is the superior option between the 2

Think beyond those two options 😉

@thissop
Copy link
Author

thissop commented Nov 18, 2021

Thank you for your advice! I'm looking forward to just using WSL after I recover the data.

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

3 participants