Skip to content

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

3 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 64% up
Kind
Text
ID
piouta

Author

8
posts
42
comments
0
media
View profile

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.

16 points

It should have been removed by now, since Arch Linux is a protected name you are not allowed to use for an derivate/port.

4 points

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

1 points

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

1 points

There’s a SUSE and Kali as well I think. Debian and Ubuntu are reliable for sure.

1 points
unknown author

Deleted before we saved it.

1 points

To fix those errors you get you need to use a libarchive version of tar, not gnu tar. It's called bsdtar in arch but ubuntu i don't know.

Another easier way is to use ArchWSL to set it up.

0 points

I found a package in Ubuntu WSL named libarchive-tools providing bsdtar. But still doesnt work

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.