Arch:Thinkpad T14安装:修订间差异
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第9行: | 第9行: | ||
<syntaxhighlight lang="bash"> | |||
parted /dev/nvme0n1 | parted /dev/nvme0n1 | ||
unit -s | unit -s | ||
第18行: | 第19行: | ||
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> | |||
https://wiki.archlinux.org/title/NetworkManager | |||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2022年1月8日 (六) 12:16的最新版本
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