Arch:Thinkpad T14安装:修订间差异

来自WHY42
Riguz留言 | 贡献
无编辑摘要
Riguz留言 | 贡献
无编辑摘要
第9行: 第9行:




<syntaxhighlight lang="bash">
parted /dev/nvme0n1
parted /dev/nvme0n1
unit -s
unit -s
第17行: 第18行:
mkpart "Arch home" btrfs 24Gib 74Gib
mkpart "Arch home" btrfs 24Gib 74Gib
mkpart "Arch var" btrfs 74Gib 150Gib
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
</syntaxhighlight>






[[Category:Linux/Unix]]
[[Category:Linux/Unix]]

2022年1月8日 (六) 11:12的版本

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