Download the latest ISO file from: https://archlinux.org/download/
Write the ISO file to a USB stick and boot from it (adapt Secure Boot options)
If the laptop's disk has no partitions, skip this step.
In case the disk already has partitions, use fdisk -l and delete them, reboot the laptop and restart the installation
first, switch to bash:
bash
then, enter iwctl and list the devices:
iwctl
device list
https://wiki.archlinux.org/title/iwd
then exit, and connect to the wi-fi:
iwctl --passphrase PASSPHRASE station DEVICE connect SSID
pacman-key --init
pacman -Sy git glibc --noconfirm
git clone https://github.com/ebeltramo96/arch-installer.git /mnt
archinstall --config /mnt/config.json --disk-layout /mnt/disk.json
The config.json file has no credentials, before the installation, check the options and:
- set your disk encryption key
- the root password
- change the default local user password
Now select Install to move to the next view
At this point the final configuration is shown, if it's fine, press ENTER to start the installation process
Once the installation is done, reboot the system: reboot
