yuk7 / wsldl

Advanced WSL launcher / installer. (Win10 FCU x64/arm64 or later.)
https://git.io/wsldl
MIT License
1.76k stars 131 forks source link

[Question] How do you extract the root filesystem of a distro to use in wsldl? #97

Closed ghost closed 3 years ago

ghost commented 3 years ago

The docs say you have to place the compressed root filesystem(rootfs.tar.gz) in the same repository as wsldl, but how do you get the rootfs.tar.gz in the first place?(I have absolutely no knowledge of what a rootfs contains, so I'm sorry if this is a stupid question.)

locobastos commented 3 years ago

Hello, which Linux distribution are you looking for ? Some vendors provide rootfs files.

ghost commented 3 years ago

I'm not specifying any distro and was looking for a universal solution to my question.

yuk7 commented 3 years ago

Compress root directory to tar.gz e.g. https://github.com/yuk7/AlpineWSL/blob/master/Makefile#L35

ghost commented 3 years ago

How about distros that don't give you the rootfs? Should I compress / from a clean installation by myself?

yuk7 commented 3 years ago

yes.