Arch:安装Archlinux
采取UEFI+win10双系统
安装
准备
- 压缩windows磁盘卷
- 刻录archlinux 引导盘
安装系统
分区
fdisk /dev/sda
进行分区:
/dev/sda1 EFI /dev/sda2 windows reserved /dev/sda3 windows 10 /dev/sda4 20G / /dev/sda5 16G swap /dev/sda6 50G /home /dev/sda7 others /var
mkfs.ext4 /dev/sda4
mkfs.ext4 /dev/sda6
mkfs.ext4 /dev/sda7
mkswap /dev/sda5
mount /dev/sda4 /mnt
mkdir /mnt/home
mkdir /mnt/var
mount /dev/sda6 /mnt/home
mount /dev/sda7 /mnt/var
swapon /dev/sda5
创建系统
ping archlinux.org
timedatectl set-ntp true
pacstrap /mnt base linux linux-firmware
genfstab -U /mnt >> /mnt/etc/fstab