Archlinux in WSL
Hello, i am trying to use archlinux in wsl. I have followed this guide. I used already existing ubuntu wsl to re-archive rootfs tar. There was two warnings during tar process
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.capability'
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.capability'
After doing all the specified steps in the guide, when i run wsl -d ArchLinux in powershell (I named the distro ArchLinux), nothing happens. I am back to powershell prompt.
Do you know any solution to this? Or do you know how do i get any debugging info out from wsl to troubleshoot?
Thanks in advance. Have a nice day/night
About this post
- Posted
- Archived
- Score
- 3 · 64% up
- Kind
- Text
- ID
- piouta
8 comments
The WSL version of arch is not supported or maintained by the same people who support the distro. I think the support has been pretty bad the times I've looked at it, lots of broken stuff. Ubuntu and Debian might be the only two that have official support from what I remember.
I'm sorry this is not a solution or assistance, just trying to inform.
It should have been removed by now, since Arch Linux is a protected name you are not allowed to use for an derivate/port.
Im not using any unofficial Arch WSL version. The guide is using the rootfs download of official arch linux image and install it as a WSL distro
Really your only issues should in theory just be with systemd. I used to install gentoo via rootfs and it’s worked perfectly for me. Yuk7 on GitHub also has an archWSL installer and while is is obviously not officially supported I’ve had great luck with it and use it all the time
There’s a SUSE and Kali as well I think. Debian and Ubuntu are reliable for sure.
Deleted before we saved it.
To fix those errors you get you need to use a libarchive version of tar, not gnu tar. It's called
bsdtarin arch but ubuntu i don't know.Another easier way is to use ArchWSL to set it up.
I found a package in Ubuntu WSL named libarchive-tools providing bsdtar. But still doesnt work