dd if=archlinux-2021.10.01-x86_64.iso of=/dev/sdX
ls /sys/firmware/efi/efivars
ping archlinux.org
-
check network interdace
ip link
-
Wireless
-
rfkill
-
iwctl
[iwd]# device list [iwd]# station <device name> connect <Network name>
-
timedatectl set-ntp true
timedatectl status
- lsblk
- fdisk
- use swap or not ?

mkfs.ext4 /dev/root_partition
mkswap /dev/swap_partition
mkfs.fat -F32 /dev/efi_system_partition
mount /dev/root_partition /mnt
mount /dev/efi_system_partition /mnt/boot
swapon /dev/swap_partition
Edit /etc/pacman.d/mirrorlist
to make Taiwan's mirror servers on top

pacstrap /mnt base base-devel linux linux-firmware vim git networkmanager man-db
Anything you want to install
-U
define by UUID (recommend)-L
define by labels
genfstab -U /mnt >> /mnt/etc/fstab #check /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
hwclock --systohc #generate /etc/adjtime
- Edit
/etc/locale.gen
- uncomment
en_US.UTF-8 UTF-8
,zh_TW.UTF-8 UTF-8
locale-gen
/etc/locale.conf
Recommend to use en_US.UTF-8 instead of zh_TW.UTF-8
LANG=en_US.UTF-8
/etc/hostname
myhostname
/etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.0.1 myhostname
Creating a new initramfs is usually not required, because mkinitcpio was run on installation of the kernel package with pacstrap.
mkinitcpio -P
passwd
!! important !!
pacman -S grub efibootmgr os-prober
os-prober
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
NetworkManager
systemctl enable NetworkManager
systemctl start NetworkManager
umount -R /mnt
reboot
-S
-Sy
-Su
-Syu
-Ss
-Qs
have to install base-devel package
makepkg -si
useradd -m -g wheel user_name
passwd user_name
edit /etc/sudoers
to make user_name sudoers
- Desktop Enviornment: Gnome, Unity, KDE, Xfce ....
- Window Manager: i3, dwm, sway .....
Just Choose one you like
- dwm (AUR)
- dwm-git (AUR)
- wlroots-git (AUR)
- sway-git (AUR)
Each will have different installation (https://wiki.archlinux.org/title/Window_manager)
Choose what you want especially Chinese
- Wifi
- Bluetooth
- .....