2021-05-03 17:38:10 +02:00
|
|
|
# Arch installer
|
|
|
|
|
|
|
|
## Running the installer
|
|
|
|
|
2021-06-12 12:16:10 +02:00
|
|
|
### Via custom livemedium
|
2021-05-03 17:38:10 +02:00
|
|
|
|
2021-06-12 12:16:10 +02:00
|
|
|
1) Build custom [archiso](https://gitlab.archlinux.org/archlinux/archiso) live medium using docker in privileged mode:
|
2021-05-03 17:38:10 +02:00
|
|
|
|
|
|
|
```shell
|
2021-06-12 12:16:10 +02:00
|
|
|
# dependencies: docker, docker-compose
|
|
|
|
|
|
|
|
cd build-archiso
|
|
|
|
sudo docker-compose run archiso
|
|
|
|
ls out/out_dir/*.iso
|
2021-05-03 17:38:10 +02:00
|
|
|
```
|
|
|
|
|
2021-06-12 12:16:10 +02:00
|
|
|
2) Boot into the live medium
|
|
|
|
3) (Optional) Run `screen` (to be able to scroll back in case of any errors)
|
|
|
|
4) Adjust `/etc/de-p1st-installer/installer.cfg` (or delete it for interactive mode)
|
|
|
|
5) Run the installer
|
2021-05-03 17:38:10 +02:00
|
|
|
|
|
|
|
```shell
|
|
|
|
de-p1st-installer
|
|
|
|
```
|
|
|
|
|
2021-06-12 12:16:10 +02:00
|
|
|
### Via official livemedium
|
2021-05-03 17:38:10 +02:00
|
|
|
|
2021-06-12 11:55:25 +02:00
|
|
|
1) Boot into the live medium from [archlinux.org](https://archlinux.org)
|
2021-05-03 17:38:10 +02:00
|
|
|
2) Add to `/etc/pacman.conf`:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
[de-p1st]
|
|
|
|
SigLevel = Optional TrustAll
|
|
|
|
Server = https://arch.p1st.de
|
|
|
|
```
|
|
|
|
|
2021-06-12 12:16:10 +02:00
|
|
|
3) (Optional) Install screen with a `screenrc` configuration file for long scrollback history
|
2021-05-14 15:25:25 +02:00
|
|
|
|
|
|
|
```shell
|
|
|
|
pacman -Sy
|
|
|
|
pacman -S de-p1st-screen
|
|
|
|
```
|
2021-06-12 12:16:10 +02:00
|
|
|
|
|
|
|
4) Install `de-p1st-installer` to get the install script
|
|
|
|
|
|
|
|
```shell
|
|
|
|
pacman -Sy
|
|
|
|
pacman -S de-p1st-installer
|
|
|
|
```
|
|
|
|
|
|
|
|
5) Continue with step (3) of "Via custom livemedium"
|