Skip to content

Instantly share code, notes, and snippets.

@dylanmei
Last active December 23, 2017 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dylanmei/8b9c7de6e75f535a602068a21af4ac70 to your computer and use it in GitHub Desktop.
Save dylanmei/8b9c7de6e75f535a602068a21af4ac70 to your computer and use it in GitHub Desktop.
Archlinux from USB

Download archlinux.iso https://www.archlinux.org/download/

Create an Arch Linux installer USB drive https://wiki.archlinux.org/index.php/USB_flash_installation_media#Using_dd

Insert USB, reboot, press F-10, choose to boot from USB

Connect to wifi

ip link set wlp1s0 up
wpa_supplicant -B -i wlp1s0 -c <(wpa_passphrase <SSID> "<passphrase>")
dhcpcd wlp1s0

Download and run Arch Linux Fast Installer

wget archfi.sf.net/archfi
sh archfi

Follow installation guide https://wiki.archlinux.org/index.php/Installation_guide

@dylanmei
Copy link
Author

The pacstrap step doesn't include wpa_supplicant. Use this version of archfi instead of the original version if you need wireless after the installation.

@dylanmei
Copy link
Author

Example of a more hands-free approach: https://github.com/zyguan/archstrap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment