Arch:Thinkpad T14安装
iwctl
> help
device wlan0 get-networks
device wlan0 connect xxx
parted /dev/nvme0n1
unit -s
mklabel gpt
mkpart "EFI system partition" fat32 1Mib 261Mib
mkpart "Arch root" btrfs 261Mib 20Gib
mkpart "Arch swap" swap 20Gib 24Gib
mkpart "Arch home" btrfs 24Gib 74Gib
mkpart "Arch var" btrfs 74Gib 150Gib
mkfs.fat -F 32 /dev/nvme0n1p1
mkfs.btrfs /dev/nvme0n1p2
mkswap /dev/nvme0n1p3
mkfs.btrfs /dev/nvme0n1p4
mkfs.btrfs /dev/nvme0n1p5
mount /dev/nvme0n1p2 /mnt
mkdir /mnt/home /mnt/boot /mnt/var
mount /dev/nvme0n1p1 /mnt/boot
mount /dev/nvme0n1p4 /mnt/home
mount /dev/nvme0n1p5 /mnt/var