- Github SSH Setup
- Clone .dotfiles repo
- Clone corrensponding system .setup repo
Important
BIOS Settings - Security Boot: Disable / Boot Sequence: UEFI
iwctl
# check if the wifi card is power on
device list
# search for available wifi networks
station Device_Name get-networks
# connect
station Device_Name connect Network_Name
# exit iwctl
exit
# testing connection
ping -c 5 baidu.comManual Setup
vim /etc/pacman.d/mirrorlist
# add following to the first line of mirrorlist
Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$archUsing reflector
reflector --verbose --country 'China' -l 200 -p https --sort rate --save /etc/pacman.d/mirrorlist# sync package manager db
pacman -Sy
# acquire keying
pacman -S archlinux-keyring
# update install script
pacman -S archinstall# identify target disk
lsblk
# format using gdisk
gdisk /dev/nvme0n1- 'x' -> enter expert mode
- 'z' -> format target disk
- Blank out MBR: y
finally using 'lsblk' comand again -> to check target disk status after formation
# run install script
archinstallInstallation Settings
-
Disk configuration: -- Partitioning -- Use a best-effort default partition layout -- 'Space' to chose correct target disk' -- btrfs -- use BTRFS subvolumes with a default structure: yes -- Use compression --'Back' to main menu
-
Swap: Enabled
-
Bootloader: Grub
-
root password: xxxxxx
-
add user: xxxxxx
-
Profile: Desktop - Gnome / Minimal
-
Audio: pipewire
-
Network configuration: Use NetworkManager
-
Additional packages: vim git ansible
-
Timezone: Asia/Shanghai
-
install
Finally, shutdown system using '$ shutdown now` command, and remove install media.
Clone Repo
git clone https://github.com/curelesss/.init.gitSetup Github SSH / clone .dotfiles & .setup.arch
cd .init
vim sudo
./.init.arch