Open4

Arch Linux + WSL2 1回目

hkt100rtknhkt100rtkn

次にダウンロードしたファイルを解凍する。

$ tar -zxvf archlinux-bootstrap-2023.12.01-x86_64.tar.gz

PowerShellでも解凍できるかと試してみたが、なんかエラーが出た

tar.exe: Error exit delayed from previous errors.

WSL2のUbuntuの環境があったから、Ubuntuから実行すると問題はでなかった。

hkt100rtknhkt100rtkn

インストールを実行

wsl --import arch C:\Users\your_name\wsl .\file_name

起動する

wsl -d arch
<3>WSL (11) ERROR: ... # ファイルが見えるので、省略
Processing fstab with mount -a failed.
Failed to mount C:\, see dmesg for more details.
Failed to mount D:\, see dmesg for more details.
Failed to mount E:\, see dmesg for more details.

<3>WSL (11) ERROR: CreateProcessEntryCommon:334: getpwuid(0) failed 2
<3>WSL (11) ERROR: CreateProcessEntryCommon:505: execvpe /bin/sh failed 2
<3>WSL (11) ERROR: CreateProcessEntryCommon:508: Create process not expected to return

起動できません。