arch linux

2022-05-24  本文已影响0人  Way_Kwok_Chu
systemctl stop reflector.service

iwctl

device list

station wlan0 scan

station wlan0 get-networks

station wlan0 connect wifi-name

exit

ping arch.icekylin.online

timedatectl set-ntp true

timedatectl status

vim /etc/pacman.d/mirrorlist

# 分区和挂载系列命令

pacstrap /mnt base base-devel linux linux-firmware

pacstrap /mnt dhcpcd iwd vim sudo bash-completion

genfstab -U /mnt > /mnt/etc/fstab

cat /mnt/etc/fstab

arch-chroot /mnt

vim /etc/hostname

vim /etc/hosts

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

hwclock --systohc

locale-gen

echo 'LANG=en_US.UTF-8'  > /etc/locale.conf

passwd root

pacman -S intel-ucode

pacman -S grub efibootmgr

grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=ARCH

vim /etc/default/grub

grub-mkconfig -o /boot/grub/grub.cfg

exit

umount -R /mnt

reboot

上一篇 下一篇

猜你喜欢

热点阅读