How to Setup

yuk7 edited this page Dec 7, 2018 · 5 revisions

Requirements

  • Windows 10 1709 Fall Creators Update 64bit or later.
  • Windows Subsystem for Linux feature is enabled.

Install

1. Download installer zip

2. Extract all files in zip file to same directory

3.Run Arch.exe to Extract rootfs and Register to WSL

Exe filename is using to the instance name to register. If you rename it you can register with a diffrent name.

Setting for Arch

1.Setting root password

>Arch.exe
[root@PC-NAME user]# passwd

2.Setup default user (Please see ArchWiki Sudo and User and groups pages.)

>Arch.exe
[root@PC-NAME]# EDITOR=nano visudo
    %wheel      ALL=(ALL) ALL
    (setup sudoers file.)

[root@PC-NAME]# useradd -m -G wheel -s /bin/bash {username}
(add user)

[root@PC-NAME user]# passwd {username}
(set default user password)

[root@PC-NAME user]# exit

>Arch.exe config --default-user {username}
    (setting to default user)

If the default user has not been changed, please reboot the computer.(issue #7)

3.Initialize keyring

Please excute these commands for initialize keyring.(This step is necessary for use pacman)

>Arch.exe
[user@PC-NAME]$ sudo pacman-key --init

[root@PC-NAME]$ sudo pacman-key --populate
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.