Skip to content

paulojeronimo/archlinux-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arch Linux installation

1. Introduction

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.

2. Steps

2.1. Download Arch Linux

Note
The last installation made with this project uses archlinux-2019.03.01-x86_64.iso ISO file.

2.2. Create the VM

2.3. Clone this repo

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

2.4. Optionally use your own Arch Linux mirror

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).

2.5. Boot the VM

Boot Arch Linux. On its shell, type:

$ passwd
$ systemctl start sshd
$ ip a s

2.6. Run the installer

In your machine (outside Arch Linux shell), type:

$ ./run

Go have some coffee. But come back soon! The Arch Linux installation (depending on what mirror you are using) will be very fast.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages