yuk7 / ArchWSL

ArchLinux based WSL Distribution. Supports multiple install.
https://git.io/archwsl
MIT License
6.92k stars 201 forks source link

[Question] Can I remove rootfs.tar.gz after a successful Arch install and setup? #205

Closed ianyepan closed 3 years ago

ianyepan commented 3 years ago

This is not a bug report. I'm just curious whether I can safely remove the rootfs.tar.gz file after I successfully installed and set up Arch. I installed using the "zip file" method, and obviously Arch.exe and ext4.vhdx are super important -- but what exactly does rootfs.tar.gz do (with a size > 3GB)? Excuse my ignorance, I'm rather new to manually installing distros with WSL2. Thanks for the help.

escape0707 commented 3 years ago

It's an archive / snapshot of a working Arch Linux's file system. You can create your own, too. https://github.com/yuk7/wsldl/issues/63

If you can be sure that you won't need to install from the ground up again, you can remove it, create backup for your current Arch WSL, and only use that afterwards.

ianyepan commented 3 years ago

@escape0707 Thanks for the pointers! Closing issue.