Table of Contents
This project can be used to easily install Arch Linux in a virtual machine (VM).
It was tested on a macOS environment to install Arch Linux on VMware Fusion or VirtualBox.
Download Arch Linux ISO file.
Note
|
The last installation made with this project uses archlinux-2019.03.01-x86_64.iso ISO file. |
Create your VM and configure the port forwarding (VirtualBox example).
Clone this repo (or fork it and clone from your own account):
git clone https://github.com/paulojeronimo/archlinux-installer
Copy config.sample file to a file named config
and adjust it as you want.
$ cp config.sample config
At VM shell, see what is your VM_IP
:
$ ip a s
Note
|
In my macOS I use the following command: $ ifconfig | grep -A2 vmnet vmnet1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:50:56:c0:00:01 inet 192.168.252.1 netmask 0xffffff00 broadcast 192.168.252.255 -- vmnet8: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:50:56:c0:00:08 inet 172.16.155.1 netmask 0xffffff00 broadcast 172.16.155.255 |
Use your favorite editor to adjust the config
file with your own settings:
$ vim config
If you configure your environment to use your own Arch Linux mirror (through archlinux-mirror-synchronizer project) start the HTTP server (see how on its README.adoc).