Skip to content

curelesss/.init

Repository files navigation

Personal System Setup Initial Repository

  • Github SSH Setup
  • Clone .dotfiles repo
  • Clone corrensponding system .setup repo

Important

BIOS Settings - Security Boot: Disable / Boot Sequence: UEFI

Arch Linux

System Installation

WIFI Setup

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.com

Local Mirrors

Manual Setup

vim /etc/pacman.d/mirrorlist

# add following to the first line of mirrorlist
Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch

Using reflector

reflector --verbose --country 'China' -l 200 -p https --sort rate --save /etc/pacman.d/mirrorlist

Pre-Install

# sync package manager db 
pacman -Sy

# acquire keying
pacman -S archlinux-keyring

# update install script
pacman -S archinstall

Format Target Disk

# 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

Install Arch Linux

# run install script
archinstall

Installation 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.git

Setup Github SSH / clone .dotfiles & .setup.arch

cd .init
vim sudo
./.init.arch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published