美文网首页
arch Linux

arch Linux

作者: Way_Kwok_Chu | 来源:发表于2022-05-23 19:40 被阅读0次

```

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

```

相关文章

网友评论

      本文标题:arch Linux

      本文链接:https://www.haomeiwen.com/subject/dxqdprtx.html