Running Archlinux in Bash on Windows
I have installed ArchLinux in Bash on Ubuntu on Windows(Windows Subsystem for Linux).
- Japanese - http://kunst1080.hatenablog.com/entry/2016/08/26/001940
- English - this
Installation
1. Install packages
Install tools for installation in Bash on Ubuntu on Windows(BoW).
|
|
2. Download ArchLinux ISO
Download an ISO from mirror sites as you like.
|
|
3. Pickup the “airootfs.sfs” from ISO
Extract an iso and pickup the airootfs.sfs.
|
|
4. Extract the “airootfs.sfs”
Extract the airootfs.sfs with the unsquashfs command.
|
|
Error has occurred, but it’s OK.
5. Move the squashfs-root to a rootfs.
Close ALL BoW windows.
Move the squashfs-root to root of BoW with Windows Explorer.
- root of BoW - %USERPROFILE%\AppData\Local\lxss\
- squashfs-root - %USERPROFILE%\AppData\Local\lxss\root\squashfs-root
6. Backup a rootfs and substitute squashfs-root for rootfs
7. Open BoW
It’s ArchLinux!!
8. Setup pacman and isntall git
|
|
Error has occurred when pacman -S (i guess it’s chroot?), I can use git.