Skip to content

RFCreate/arch-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arch Installation

Follow the installation guide in the Arch wiki to download the ISO file and verify the signature


Run iso2usb script1 to copy ISO to USB (only UEFI)
Note: dependencies mkfs.fat and mkfs.ext4 needed

curl -sS -O https://raw.githubusercontent.com/RFCreate/arch-install/main/iso2usb.sh
chmod +x ./iso2usb.sh
./iso2usb.sh -d /dev/USB -i /path/to/ISO

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  _name_ set-property Powered on   # turn on device
[iwd]# adapter _name_ set-property Powered on   # turn on adapter
[iwd]# station _name_ scan                      # scan for networks
[iwd]# station _name_ get-networks              # list networks
[iwd]# station _name_ connect _SSID_            # connect to network
[iwd]# station _name_ show                      # display connection state
[iwd]# quit                                     # exit

Run pre-installation script1
Note: download manually if you didn't run iso2usb script

mkdir -p /root/usb
mount /dev/USB1 /root/usb
/root/usb/preinstall.sh -d /dev/DISK

Change root into new system

arch-chroot /mnt

Run installation script1
Note: install a text editor to modify script

/install.sh

Set the root password

passwd

Reboot the system

  1. Exit chroot: exit
  2. Unmount disk: umount -R /mnt
  3. Reboot system: reboot

Connect to wireless internet using Network Manger

systemctl start NetworkManager.service
nmtui

Run post-installation script1
Note: specify your username after the flag

/postinstall.sh -u username

Set the user password
Note: replace with your username

passwd username

Footnotes

  1. Script should run as root 2 3 4

About

Setup your Arch distro.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages