Replies: 1 comment 2 replies
-
|
After importing a distro you need to create a /etc/wsl.conf file with this content: where username is the user you had before exporting the distro. After running In https://github.com/microsoft/WSL-DistroLauncher you have more info about customizing distros. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I would like to know where I could find information about the process of booting a distro on WSL2. My problem is that I have tried importing a custom distro to WSL2, but all I get is the file system mount with a root user. I am trying to figure out how I should configure my custom distro so that the first time it is launched it folllows a specific process (like doing some configurations, creating an user, etc.). I know, for example, that systemmd is not available on WSL2, so I guess launching a distro from WSL2 has some peculiarities that need to be addressed.
So, to sum up, where could I find more information about the boot process on WSL2 or some guidance about how I should configure my distro so that it boots like on a normal environment but on WSL2.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions