Skip to content

RFCreate/setup

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 -O https://raw.githubusercontent.com/RFCreate/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: download manually if you didn't run iso2usb script

mkdir -p /root/usb
mount /dev/your_usb2 /root/usb
DISK=/dev/your_disk
. /root/usb/preinstall.sh

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

nmtui

Run setup script1
Note: modify script to change your username

. /setup.sh

Set the user password
Note: may need change <user> with your username

passwd user

Footnotes

  1. Script should run as root 2 3 4

Releases

No releases published

Packages

No packages published

Languages