Follow the installation guide in the Arch wiki to download the ISO and verify the signature
Run the iso2usb script1 to copy the ISO to a USB
Note: fill the USB and ISO variables for the script to run, mkfs.fat and mkfs.ext4 need to be installed, and additional commands are needed for not UEFI systems
curl -O https://raw.githubusercontent.com/shyguyCreate/setup/main/iso2usb.sh
USB=/dev/your_usb
ISO=path/to/archlinux-version-x86_64.iso
. ./iso2usb.sh
When finished, boot into the USB
Inside the bootable USB, connect to wireless internet using iwctl
iwctl
[iwd]# device list # list wifi devices
[iwd]# device _device_ set-property Powered on # turn on device
[iwd]# adapter _adapter_ set-property Powered on # turn on adapter
[iwd]# station _device_ scan # scan for networks
[iwd]# station _device_ get-networks # list networks
[iwd]# station _device_ connect _SSID_ # connect to network
[iwd]# station _device_ show # display connection state
[iwd]# ( Ctrl+d ) # exit
Run pre-installation script1
Note: fill the DISK variable for the script to run
mkdir -p /root/usb
mount /dev/your_usb2 /root/usb
DISK=/dev/your_disk
. /root/usb/preinstall.sh
arch-chroot /mnt
Run installation script1
Note: install a text editor to modify script
. /install.sh
passwd
- Exit chroot:
exit
- Unmount disk:
umount -R /mnt
- Reboot system:
reboot
Connect to wireless internet using Network Manger
nmtui
Run setup script1
Note: modify script to change username
. /setup.sh
Set the user password
Note: may need change shyguy with your username
passwd shyguy