summaryrefslogtreecommitdiffstats
path: root/archlinux.md
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-11 00:33:31 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-11 00:33:31 +0200
commitd96220d5b940f49dd5e22133c763b85bad91d5a0 (patch)
tree947e285c73dd2e45cc66b1429ff87bcf6d723eaf /archlinux.md
parent3bea75d706b131adc70e2f436675172a2a3563ed (diff)
Update README with detailed instructions
Diffstat (limited to 'archlinux.md')
-rw-r--r--archlinux.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/archlinux.md b/archlinux.md
new file mode 100644
index 0000000..7c44d72
--- /dev/null
+++ b/archlinux.md
@@ -0,0 +1,19 @@
+# Install ArchLinux
+
+- Download [archlinux](https://archlinux.org/releng/releases/)
+- Format a USB
+- Unmount disk (on MacOS ex. `diskutil unmountDisk /dev/diskX`)
+- Create bootable image from iso `sudo dd if=/path/to/image.iso of=/dev/diskX bs=4M status=progress`
+- Boot the `archiso` live image from a bootable USB.
+- Connect to wireless network (if not connected via LAN).
+- Set root password (which will be asked to run the install playbook).
+- `cp host_vars/archiso.local.example host_vars/archiso.local`
+- Update the `host_vars/archiso.local` file
+- Run the playbook on the ansible controller
+
+**Example:**
+
+```bash
+passwd
+iwctl --passphrase <PASSPHRASE> station wlan0 connect <SSID>
+```