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

Import existing ext4 disk if present next to Arch.exe #106

Closed
julianxhokaxhiu opened this issue Aug 9, 2021 · 5 comments
Closed

Import existing ext4 disk if present next to Arch.exe #106

julianxhokaxhiu opened this issue Aug 9, 2021 · 5 comments

Comments

@julianxhokaxhiu
Copy link

IMPORTANT
Please read README and Docs before creating the issue.

Please fill out the below information:
Describe the issue
Two days ago I had to wipe my own Laptop because Windows started to behave weird. So as I'm using this distro on WSL2 all I did was backupping the directory where i extracted the Arch folder as contained in your zip ( which inside has the Arch.exe, the rootfs.tar.gz and the ext4 file created once installing once the distro ).

Once I finished to wipe my Laptop and re-enabled WSL2, all i did was copying back the folder, and double clicking Arch.exe. To my surprise the ext4 file contained already was overridden like it never existed before.

Would be nice if the ext4 file is considered and used, if present, in order to ease migrations.

To Reproduce
Steps to reproduce the behavior:
0. Set your WSL version to v2

  1. Install the Arch OS by running Arch.exe
  2. Copy the Arch folder into another Windows machine with WSL2
  3. Double click Arch.exe
  4. Proof-it

Expected behavior
Arch is added to WSL using the existing ext4 disk.

Screenshots
N/A

Enviroment:

  • Windows build number: 10.0.19043.1110
  • Security Software: Windows Defender
  • WSL version 1/2: WSL2
  • ArchWSL version: 21.7.16.0
  • ArchWSL Installer type: zip
  • Launcher version: wsldl2, version 21071600 (amd64)

Additional context
N/A

@sarahkittyy
Copy link

This actually happened to me too once, luckily I made a backup.

@yuk7
Copy link
Owner

yuk7 commented Aug 11, 2021

Ok, Thank you for creating issue.
Treat this as a feature request and I'll work on it.

@yuk7 yuk7 transferred this issue from yuk7/ArchWSL Aug 11, 2021
@yuk7
Copy link
Owner

yuk7 commented Aug 21, 2021

I have implemented the feature of launcher to import ext4.vhdx if it already exists. (in c94af3e)
It will be included in the next release.

@yuk7 yuk7 closed this as completed Aug 22, 2021
@yuk7
Copy link
Owner

yuk7 commented Aug 22, 2021

I have released a version that contains a fix for this issue.

@julianxhokaxhiu
Copy link
Author

Thank you very much, really appreciated!

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

No branches or pull requests

3 participants