On Tue, 2023-01-17 at 14:00 +0300, Andrei Borzenkov wrote:
On Tue, Jan 17, 2023 at 1:26 PM Mathias Homann <Mathias.Homann@opensuse.org> wrote:
Am 17.01.2023 um 11:02 schrieb Andrei Borzenkov:
On Tue, Jan 17, 2023 at 12:52 PM Mathias Homann <Mathias.Homann@opensuse.org> wrote:
Sidenote: it is extremely simple to "get" any linux into your WSL, I actually have a RHEL 8 in my WSL as well :)
Care to elaborate howto for dummies?
1. take any linux that supports docker
2. run a base container based on the linux distribution you want, apply customizations if required
3. once the container has terminated, export the container as a tar file
4. import that tarfile in WSL like so:
wsl --import <DistroName> <InstallLocation> <InstallTarFile>|
That's all folks.
Thanks, that sounds promising. One more question - do I need administrative privileges to deploy Linux under WSL2? I am in a restricted environment, I can enable WSL2 on my notebook but I do not have administrative privileges to do anything.
In general, no, you don't need [and really should use] any type of Windows privilege escalation w/ WSL day-to-day. A distro installed by Administator won't be visible to a non-admin user - and vice-versa. Same w/ 2 non-admin users. This link should be helpful too: https://en.opensuse.org/openSUSE:WSL -- ~ Scott Bradnick |- Windows Subsystem for Linux (WSL) Developer |-- Tumbleweed: |--- Dell Precision 5540 [NVIDIA Quadro T1000] (x86_64) |--- O-DROID H2+ [UHD Graphics 600] (x86_64) |--- IceWhale ZimaBoard 832 [Intel HD Graphics 500] (x86_64) |--- 2x Raspberry Pi 4 Model B Rev 1.2 (aarch64) |--- 1x Raspberry Pi 3 Model B Rev 1.2 (aarch64) |--- WinBook TW100 (x86_64) https://keys.openpgp.org/ :: DBC5AA9A2D2BAEBC