mirror of
https://git.myvelabs.com/lab/archlinux.git
synced 2025-12-17 19:46:25 +00:00
39 lines
1.4 KiB
Markdown
39 lines
1.4 KiB
Markdown
|
|
# MyveArch
|
||
|
|
|
||
|
|
This repo is a compilation of installation scripts written in bash that install [Arch Linux](https://archlinux.org/) on any x86_64 EFI system. From a home server ([homelab.sh](homelab.sh)) to a laptop or desktop computer ([arch.sh](arch.sh)), these scripts are highly customizable and can be tailored to very specific needs.
|
||
|
|
|
||
|
|
## :: Pre-installation
|
||
|
|
Acquire an installation ISO and burn it into a USB drive:
|
||
|
|
```
|
||
|
|
dd bs=4M if=${/path/to/archlinux-version-x86_64.iso} of=${/dev/disk/by-id/usb-My_flash_drive} conv=fsync oflag=direct status=progress
|
||
|
|
```
|
||
|
|
|
||
|
|
## :: Usage
|
||
|
|
Download the script of choice and execute it in the terminal:
|
||
|
|
|
||
|
|
```
|
||
|
|
wget https://myvelabs.com/lab/archlinux/raw/branch/master/arch.sh
|
||
|
|
bash arch.sh
|
||
|
|
```
|
||
|
|
OR
|
||
|
|
```
|
||
|
|
curl --fail -s -L -O https://myvelabs.com/lab/archlinux/raw/branch/master/homelab.sh
|
||
|
|
bash homelab.sh
|
||
|
|
```
|
||
|
|
OR
|
||
|
|
```
|
||
|
|
git clone https://myvelabs.com/lab/archlinux.git
|
||
|
|
cd archlinux/
|
||
|
|
bash arch.sh
|
||
|
|
```
|
||
|
|
|
||
|
|
## :: Installation
|
||
|
|
The following flags are available:
|
||
|
|
```
|
||
|
|
-s, --ssh-key Authorized SSH public key (one entry per flag, enclosed in quotes)
|
||
|
|
-c, --cache Pacman cache server address
|
||
|
|
-k, --kernel Linux kernel (eg, linux, linux-lts, linux-hardened, linux-zen)
|
||
|
|
-f, --filesystem Choice of filesystem (eg, ext4, btrfs, zfs)
|
||
|
|
-o, --option Arch installation setup, if known
|
||
|
|
```
|
||
|
|
Fill out the prompts and you'll have a full-fledged Arch Linux system up and running in no time.
|