介绍
Arch Linux(或 Arch /ˈɑːrtʃ/))是一款基于 x86-64 架构的 Linux发行版 。系统主要由自由和开源软件组成,支持社区参与。系统设计以 KISS原则(保持简单和愚蠢)为总体指导原则,注重代码正确、优雅和极简主义,期待用户愿意去理解系统的运作。Arch Linux 采用pacman作为默认的软件包管理器。
Arch Linux 采用滚动发行模式,即没有所谓的大版本更新,每次常规更新都会将系统和软件保持在最新状态。Arch 发行的系统安装映像也只是简单地包含最新的基本系统组件。
Arch Linux 以社区 Wiki 的形式提供文档,称为 ArchWiki(页面存档备份,存于互联网档案馆)。该 Wiki 经常编有特定主题的最新信息,受到了 Linux 社区的广泛认可,内容也应用在 Arch Linux 以外的领域。
下载 Arch Linux 镜像
https://www.archlinux.org/download/
验证启动模式
ls /sys/firmware/efi/efivars
如果 /sys/firmware/efi/efivars 目录不存在,则系统可能是从 BIOS 模式启动的,在主板设置里使用 UEFI 模式启动。
连接 internet
查看连接
root@archiso ~ # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 00:0c:29:cf:0f:60 brd ff:ff:ff:ff:ff:ff
altname enp2s1
inet 10.0.0.20/8 brd 10.255.255.255 scope global dynamic ens33
valid_lft 28733sec preferred_lft 25133sec
inet6 fe80::20c:29ff:fecf:f60/64 scope link
valid_lft forever preferred_lft forever
root@archiso ~ #
连接
对于有线网络,安装镜像启动的时候,默认会启动 dhcpcd,如果没有启动,可以手动启动:
root@archiso ~ # dhcpcd
dhcpcd-9.4.0 starting
dev: loaded udev
DUID 00:04:03:d6:4d:56:62:ba:a6:c8:43:8d:89:04:2f:cf:0f:60
ens33: IAID 29:cf:0f:60
ens33: soliciting an IPv6 router
ens33: soliciting a DHCP lease
ens33: offered 10.0.0.20 from 10.0.0.1
ens33: leased 10.0.0.20 for 28800 seconds
ens33: adding route to 10.0.0.0/8
ens33: adding default route via 10.0.0.5
forked to background, child pid 1107
root@archiso ~ #
验证连接
root@archiso ~ # ping www.chenby.cn
PING qv1jf0jr.slt-dk.sched.tdnsv8.com (27.221.54.169) 56(84) bytes of data.
64 bytes from 27.221.54.169 (27.221.54.169): icmp_seq=1 ttl=55 time=21.7 ms
From _gateway (10.0.0.5) icmp_seq=2 Redirect Host(New nexthop: 10.0.0.1 (10.0.0.1))
64 bytes from 27.221.54.169 (27.221.54.169): icmp_seq=2 ttl=55 time=19.7 ms
64 bytes from 27.221.54.169 (27.221.54.169): icmp_seq=3 ttl=55 time=17.0 ms
64 bytes from 27.221.54.169 (27.221.54.169): icmp_seq=4 ttl=55 time=18.2 ms
64 bytes from 27.221.54.169 (27.221.54.169): icmp_seq=5 ttl=55 time=17.4 ms
64 bytes from 27.221.54.169 (27.221.54.169): icmp_seq=6 ttl=55 time=17.6 ms
From _gateway (10.0.0.5) icmp_seq=7 Redirect Host(New nexthop: 10.0.0.1 (10.0.0.1))
64 bytes from 27.221.54.169 (27.221.54.169): icmp_seq=7 ttl=55 time=19.3 ms
64 bytes from 27.221.54.169 (27.221.54.169): icmp_seq=8 ttl=55 time=17.5 ms
64 bytes from 27.221.54.169 (27.221.54.169): icmp_seq=9 ttl=55 time=18.5 ms
^C
--- qv1jf0jr.slt-dk.sched.tdnsv8.com ping statistics ---
9 packets transmitted, 9 received, +2 errors, 0% packet loss, time 8986ms
rtt min/avg/max/mdev = 16.974/18.536/21.674/1.398 ms
root@archiso ~ #
更新系统时间
root@archiso ~ # timedatectl set-ntp true
root@archiso ~ # date
Sun Sep 19 04:19:16 AM UTC 2021
root@archiso ~ #
查看磁盘设备
root@archiso ~ # fdisk -l
Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors
Disk model: VMware Virtual S
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop0: 662.69 MiB, 694882304 bytes, 1357192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@archiso ~ #
新建分区表
fdisk /dev/sda
输入 g,新建 GPT 分区表
输入 w,保存修改
若不是efi 无需创建GPT
分区创建
创建一个512M的boot分区,并创建根目录分区
root@archiso ~ # fdisk /dev/sda
Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xb6ebf3f5.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (1-4, default 1):
First sector (2048-104857599, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-104857599, default 104857599): +512M
Created a new partition 1 of type 'Linux' and of size 512 MiB.
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (2-4, default 2):
First sector (1050624-104857599, default 1050624):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (1050624-104857599, default 104857599):
Created a new partition 2 of type 'Linux' and of size 49.5 GiB.
Command (m for help): p
Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors
Disk model: VMware Virtual S
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb6ebf3f5
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1050623 1048576 512M 83 Linux
/dev/sda2 1050624 104857599 103806976 49.5G 83 Linux
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
root@archiso ~ #
磁盘格式化
格式化 EFI System 分区
root@archiso ~ # mkfs.fat -F32 /dev/sda1
mkfs.fat 4.2 (2021-01-31)
root@archiso ~ #
格式化 Linux root 分区
root@archiso ~ # mkfs.xfs /dev/sda2
meta-data=/dev/sda2 isize=512 agcount=4, agsize=3243968 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=1, rmapbt=0
= reflink=1 bigtime=0 inobtcount=0
data = bsize=4096 blocks=12975872, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0, ftype=1
log =internal log bsize=4096 blocks=6335, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
root@archiso ~ #
挂载文件系统
root@archiso ~ # mount /dev/sda2 /mnt
root@archiso ~ # mkdir /mnt/boot
root@archiso ~ # mount /dev/sda1 /mnt/boot
root@archiso ~ #
配置 pacman mirror
需要根据自己的地区选择不同的源来加快下载的速度。
执行以下命令,用Vim来编辑/etc/pacman.d/mirrorlist这个文件
root@archiso ~ # cat /etc/pacman.d/mirrorlist
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector @/etc/xdg/reflector/reflector.conf
# When: 2021-09-19 12:17:21 UTC
# From: https://archlinux.org/mirrors/status/json/
# Retrieved: 2021-09-19 12:16:31 UTC
# Last Check: 2021-09-19 03:57:58 UTC
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.chaoticum.net/arch/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirror.erickochen.nl/archlinux/$repo/os/$arch
Server = https://mirror.cyberbits.eu/archlinux/$repo/os/$arch
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch
Server = https://archmirror.it/repos/$repo/os/$arch
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
Server = https://archlinux.za.mirror.allworldit.com/archlinux/$repo/os/$arch
Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://mirror.pkgbuild.com/$repo/os/$arch
Server = https://europe.mirror.pkgbuild.com/$repo/os/$arch
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
Server = https://asia.mirror.pkgbuild.com/$repo/os/$arch
Server = https://arch.jensgutermuth.de/$repo/os/$arch
Server = https://mirror.cspacehostings.com/archlinux/$repo/os/$arch
Server = https://mirror.moson.org/arch/$repo/os/$arch
root@archiso ~ #
root@archiso ~ #
可使用清华、浙大源:
Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
Server = http://mirrors.zju.edu.cn/archlinux/$repo/os/$arch
安装 Arch 和 Package Group
root@archiso ~ # pacstrap /mnt base base-devel linux linux-firmware
==> Creating install root at /mnt
==> Installing packages to /mnt
:: Synchronizing package databases...
core 136.9 KiB 113 KiB/s 00:01 [#################################################] 100%
extra 1567.8 KiB 2036 KiB/s 00:01 [#################################################] 100%
community 5.8 MiB 4.64 MiB/s 00:01 [#################################################] 100%
:: There are 24 members in group base-devel:
:: Repository core
1) autoconf 2) automake 3) binutils 4) bison 5) fakeroot 6) file 7) findutils 8) flex 9) gawk 10) gcc 11) gettext 12) grep
13) groff 14) gzip 15) libtool 16) m4 17) make 18) pacman 19) patch 20) pkgconf 21) sed 22) sudo 23) texinfo 24) which
Enter a selection (default=all):
resolving dependencies...
:: There are 3 providers available for initramfs:
:: Repository core
1) mkinitcpio
:: Repository extra
2) booster 3) dracut
Enter a number (default=1):
looking for conflicting packages...
Packages (137) acl-2.3.1-1 archlinux-keyring-20210902-1 argon2-20190702-3 attr-2.5.1-1 audit-3.0.4-1 bash-5.1.008-1 brotli-1.0.9-4
bzip2-1.0.8-4 ca-certificates-20210603-1 ca-certificates-mozilla-3.70-1 ca-certificates-utils-20210603-1 coreutils-8.32-1
cryptsetup-2.4.1-1 curl-7.79.0-3 db-5.3.28-5 dbus-1.12.20-1 device-mapper-2.03.13-1 diffutils-3.8-1 e2fsprogs-1.46.4-1
elfutils-0.185-1 expat-2.4.1-1 filesystem-2021.05.31-1 gc-8.0.4-4 gcc-libs-11.1.0-1 gdbm-1.21-1 glib2-2.68.4-1
glibc-2.33-5 gmp-6.2.1-1 gnupg-2.2.29-1 gnutls-3.7.2-2 gpgme-1.16.0-1 guile-2.2.7-1 hwids-20210613-1
iana-etc-20210728-1 icu-69.1-1 iproute2-5.14.0-1 iptables-1:1.8.7-1 iputils-20210722-1 json-c-0.15-1 kbd-2.4.0-2
keyutils-1.6.3-1 kmod-29-1 krb5-1.19.2-1 less-1:590-1 libarchive-3.5.2-1 libassuan-2.5.5-1 libcap-2.57-1
libcap-ng-0.8.2-3 libcroco-0.6.13-2 libelf-0.185-1 libffi-3.3-4 libgcrypt-1.9.4-1 libgpg-error-1.42-1 libidn2-2.3.2-1
libksba-1.6.0-1 libldap-2.4.59-2 libmnl-1.0.4-3 libmpc-1.2.1-1 libnetfilter_conntrack-1.0.8-1 libnfnetlink-1.0.1-4
libnftnl-1.2.0-1 libnghttp2-1.44.0-1 libnl-3.5.0-3 libp11-kit-0.24.0-1 libpcap-1.10.1-1 libpsl-0.21.1-1 libsasl-2.1.27-3
libseccomp-2.5.2-1 libsecret-0.20.4-1 libssh2-1.9.0-3 libtasn1-4.17.0-1 libtirpc-1.3.2-1 libunistring-0.9.10-3
libxcrypt-4.4.25-1 libxml2-2.9.12-2 licenses-20200427-1 linux-api-headers-5.12.3-1 lz4-1:1.9.3-2 mkinitcpio-30-2
mkinitcpio-busybox-1.33.1-1 mpfr-4.1.0.p13-1 ncurses-6.2-2 nettle-3.7.3-1 npth-1.6-3 openssl-1.1.1.l-1 p11-kit-0.24.0-1
pacman-mirrorlist-20210822-1 pam-1.5.2-1 pambase-20210605-2 pciutils-3.7.0-1 pcre-8.45-1 pcre2-10.37-1 perl-5.34.0-2
pinentry-1.1.1-1 popt-1.18-1 procps-ng-3.3.17-1 psmisc-23.4-1 readline-8.1.001-1 shadow-4.8.1-4 sqlite-3.36.0-1
systemd-249.4-1 systemd-libs-249.4-1 systemd-sysvcompat-249.4-1 tar-1.34-1 tzdata-2021a-2 util-linux-2.37.2-1
util-linux-libs-2.37.2-1 xz-5.2.5-1 zlib-1:1.2.11-4 zstd-1.5.0-1 autoconf-2.71-1 automake-1.16.4-1 base-2-2
binutils-2.36.1-3 bison-3.7.6-1 fakeroot-1.26-1 file-5.40-5 findutils-4.8.0-1 flex-2.6.4-3 gawk-5.1.0-1 gcc-11.1.0-1
gettext-0.21-1 grep-3.7-1 groff-1.22.4-6 gzip-1.11-1 libtool-2.4.6+42+gb88cebd5-16 linux-5.14.5.arch1-1
linux-firmware-20210818.c46b8c3-1 m4-1.4.19-1 make-4.3-3 pacman-6.0.1-2 patch-2.7.6-8 pkgconf-1.8.0-1 sed-4.8-1
sudo-1.9.8.p1-1 texinfo-6.8-2 which-2.21-5
Total Download Size: 486.75 MiB
Total Installed Size: 1642.04 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
iana-etc-20210728-1-any 392.2 KiB 1294 KiB/s 00:00 [#################################################] 100%
filesystem-2021.05.31-1-x86_64 30.0 KiB 152 KiB/s 00:00 [#################################################] 100%
linux-api-headers-5.12.3-1-any 1130.4 KiB 2.25 MiB/s 00:00 [#################################################] 100%
tzdata-2021a-2-x86_64 388.7 KiB 1327 KiB/s 00:00 [#################################################] 100%
glibc-2.33-5-x86_64 9.8 MiB 2.49 MiB/s 00:04 [#################################################] 100%
gcc-libs-11.1.0-1-x86_64 30.5 MiB 2.51 MiB/s 00:12 [#################################################] 100%
ncurses-6.2-2-x86_64 1141.7 KiB 2024 KiB/s 00:01 [#################################################] 100%
readline-8.1.001-1-x86_64 319.0 KiB 1089 KiB/s 00:00 [#################################################] 100%
bash-5.1.008-1-x86_64 1693.6 KiB 2.19 MiB/s 00:01 [#################################################] 100%
attr-2.5.1-1-x86_64 68.2 KiB 336 KiB/s 00:00 [#################################################] 100%
acl-2.3.1-1-x86_64 136.4 KiB 650 KiB/s 00:00 [#################################################] 100%
gmp-6.2.1-1-x86_64 438.4 KiB 1163 KiB/s 00:00 [#################################################] 100%
util-linux-libs-2.37.2-1-x86_64 411.9 KiB 1104 KiB/s 00:00 [#################################################] 100%
e2fsprogs-1.46.4-1-x86_64 1208.0 KiB 1662 KiB/s 00:01 [#################################################] 100%
openssl-1.1.1.l-1-x86_64 3.6 MiB 2.01 MiB/s 00:02 [#################################################] 100%
libsasl-2.1.27-3-x86_64 146.1 KiB 709 KiB/s 00:00 [#################################################] 100%
libldap-2.4.59-2-x86_64 303.6 KiB 1036 KiB/s 00:00 [#################################################] 100%
keyutils-1.6.3-1-x86_64 102.1 KiB 503 KiB/s 00:00 [#################################################] 100%
krb5-1.19.2-1-x86_64 1308.7 KiB 1616 KiB/s 00:01 [#################################################] 100%
libtirpc-1.3.2-1-x86_64 176.8 KiB 842 KiB/s 00:00 [#################################################] 100%
pambase-20210605-2-any 3.0 KiB 15.5 KiB/s 00:00 [#################################################] 100%
libcap-ng-0.8.2-3-x86_64 41.5 KiB 212 KiB/s 00:00 [#################################################] 100%
audit-3.0.4-1-x86_64 381.2 KiB 1042 KiB/s 00:00 [#################################################] 100%
libxcrypt-4.4.25-1-x86_64 88.6 KiB 239 KiB/s 00:00 [#################################################] 100%
pam-1.5.2-1-x86_64 572.6 KiB 1055 KiB/s 00:01 [#################################################] 100%
libcap-2.57-1-x86_64 78.4 KiB 381 KiB/s 00:00 [#################################################] 100%
coreutils-8.32-1-x86_64 2.7 MiB 1548 KiB/s 00:02 [#################################################] 100%
zlib-1:1.2.11-4-x86_64 81.5 KiB 394 KiB/s 00:00 [#################################################] 100%
xz-5.2.5-1-x86_64 300.9 KiB 1017 KiB/s 00:00 [#################################################] 100%
bzip2-1.0.8-4-x86_64 57.2 KiB 280 KiB/s 00:00 [#################################################] 100%
libseccomp-2.5.2-1-x86_64 88.2 KiB 435 KiB/s 00:00 [#################################################] 100%
file-5.40-5-x86_64 344.9 KiB 908 KiB/s 00:00 [#################################################] 100%
findutils-4.8.0-1-x86_64 487.1 KiB 1059 KiB/s 00:00 [#################################################] 100%
mpfr-4.1.0.p13-1-x86_64 403.9 KiB 871 KiB/s 00:00 [#################################################] 100%
gawk-5.1.0-1-x86_64 1139.2 KiB 952 KiB/s 00:01 [#################################################] 100%
pcre-8.45-1-x86_64 983.0 KiB 993 KiB/s 00:01 [#################################################] 100%
grep-3.7-1-x86_64 248.1 KiB 665 KiB/s 00:00 [#################################################] 100%
libgpg-error-1.42-1-x86_64 236.7 KiB 640 KiB/s 00:00 [#################################################] 100%
libgcrypt-1.9.4-1-x86_64 563.6 KiB 895 KiB/s 00:01 [#################################################] 100%
libtasn1-4.17.0-1-x86_64 133.1 KiB 469 KiB/s 00:00 [#################################################] 100%
libffi-3.3-4-x86_64 44.0 KiB 224 KiB/s 00:00 [#################################################] 100%
libp11-kit-0.24.0-1-x86_64 478.7 KiB 880 KiB/s 00:01 [#################################################] 100%
lz4-1:1.9.3-2-x86_64 120.2 KiB 425 KiB/s 00:00 [#################################################] 100%
zstd-1.5.0-1-x86_64 924.3 KiB 1035 KiB/s 00:01 [#################################################] 100%
systemd-libs-249.4-1-x86_64 575.1 KiB 1046 KiB/s 00:01 [#################################################] 100%
procps-ng-3.3.17-1-x86_64 516.6 KiB 951 KiB/s 00:01 [#################################################] 100%
sed-4.8-1-x86_64 237.9 KiB 820 KiB/s 00:00 [#################################################] 100%
tar-1.34-1-x86_64 817.2 KiB 470 KiB/s 00:02 [#################################################] 100%
glib2-2.68.4-1-x86_64 2.7 MiB 1612 KiB/s 00:02 [#################################################] 100%
libunistring-0.9.10-3-x86_64 634.1 KiB 1313 KiB/s 00:00 [#################################################] 100%
icu-69.1-1-x86_64 10.6 MiB 2.00 MiB/s 00:05 [#################################################] 100%
libxml2-2.9.12-2-x86_64 1337.7 KiB 1776 KiB/s 00:01 [#################################################] 100%
libcroco-0.6.13-2-x86_64 155.3 KiB 716 KiB/s 00:00 [#################################################] 100%
gettext-0.21-1-x86_64 2.1 MiB 1287 KiB/s 00:02 [#################################################] 100%
hwids-20210613-1-any 463.8 KiB 958 KiB/s 00:00 [#################################################] 100%
kmod-29-1-x86_64 105.8 KiB 504 KiB/s 00:00 [#################################################] 100%
pciutils-3.7.0-1-x86_64 99.6 KiB 453 KiB/s 00:00 [#################################################] 100%
psmisc-23.4-1-x86_64 186.8 KiB 623 KiB/s 00:00 [#################################################] 100%
shadow-4.8.1-4-x86_64 1194.2 KiB 1171 KiB/s 00:01 [#################################################] 100%
util-linux-2.37.2-1-x86_64 2.5 MiB 1284 KiB/s 00:02 [#################################################] 100%
pcre2-10.37-1-x86_64 1116.2 KiB 1008 KiB/s 00:01 [#################################################] 100%
less-1:590-1-x86_64 115.1 KiB 538 KiB/s 00:00 [#################################################] 100%
gzip-1.11-1-x86_64 82.0 KiB 390 KiB/s 00:00 [#################################################] 100%
licenses-20200427-1-any 69.6 KiB 338 KiB/s 00:00 [#################################################] 100%
expat-2.4.1-1-x86_64 114.5 KiB 511 KiB/s 00:00 [#################################################] 100%
libarchive-3.5.2-1-x86_64 504.3 KiB 901 KiB/s 00:01 [#################################################] 100%
p11-kit-0.24.0-1-x86_64 141.7 KiB 477 KiB/s 00:00 [#################################################] 100%
ca-certificates-utils-20210603-1-any 8.2 KiB 40.6 KiB/s 00:00 [#################################################] 100%
ca-certificates-mozilla-3.70-1-x86_64 325.8 KiB 835 KiB/s 00:00 [#################################################] 100%
ca-certificates-20210603-1-any 2028.0 B 9.57 KiB/s 00:00 [#################################################] 100%
brotli-1.0.9-4-x86_64 397.4 KiB 828 KiB/s 00:00 [#################################################] 100%
libidn2-2.3.2-1-x86_64 140.2 KiB 463 KiB/s 00:00 [#################################################] 100%
libnghttp2-1.44.0-1-x86_64 94.9 KiB 431 KiB/s 00:00 [#################################################] 100%
libpsl-0.21.1-1-x86_64 79.6 KiB 368 KiB/s 00:00 [#################################################] 100%
libssh2-1.9.0-3-x86_64 213.3 KiB 635 KiB/s 00:00 [#################################################] 100%
curl-7.79.0-3-x86_64 1098.8 KiB 1178 KiB/s 00:01 [#################################################] 100%
npth-1.6-3-x86_64 24.5 KiB 118 KiB/s 00:00 [#################################################] 100%
libksba-1.6.0-1-x86_64 137.9 KiB 445 KiB/s 00:00 [#################################################] 100%
libassuan-2.5.5-1-x86_64 106.6 KiB 364 KiB/s 00:00 [#################################################] 100%
libsecret-0.20.4-1-x86_64 238.6 KiB 607 KiB/s 00:00 [#################################################] 100%
pinentry-1.1.1-1-x86_64 114.9 KiB 379 KiB/s 00:00 [#################################################] 100%
nettle-3.7.3-1-x86_64 424.7 KiB 856 KiB/s 00:00 [#################################################] 100%
gnutls-3.7.2-2-x86_64 2.8 MiB 1187 KiB/s 00:02 [#################################################] 100%
sqlite-3.36.0-1-x86_64 1741.8 KiB 1232 KiB/s 00:01 [#################################################] 100%
gnupg-2.2.29-1-x86_64 2.4 MiB 1394 KiB/s 00:02 [#################################################] 100%
gpgme-1.16.0-1-x86_64 446.0 KiB 949 KiB/s 00:00 [#################################################] 100%
pacman-mirrorlist-20210822-1-any 6.9 KiB 31.7 KiB/s 00:00 [#################################################] 100%
archlinux-keyring-20210902-1-any 976.7 KiB 1290 KiB/s 00:01 [#################################################] 100%
pacman-6.0.1-2-x86_64 915.2 KiB 1380 KiB/s 00:01 [#################################################] 100%
device-mapper-2.03.13-1-x86_64 293.0 KiB 964 KiB/s 00:00 [#################################################] 100%
popt-1.18-1-x86_64 67.7 KiB 298 KiB/s 00:00 [#################################################] 100%
json-c-0.15-1-x86_64 53.9 KiB 211 KiB/s 00:00 [#################################################] 100%
argon2-20190702-3-x86_64 33.1 KiB 138 KiB/s 00:00 [#################################################] 100%
cryptsetup-2.4.1-1-x86_64 588.1 KiB 1210 KiB/s 00:00 [#################################################] 100%
dbus-1.12.20-1-x86_64 315.3 KiB 1027 KiB/s 00:00 [#################################################] 100%
libmnl-1.0.4-3-x86_64 10.4 KiB 49.0 KiB/s 00:00 [#################################################] 100%
libnftnl-1.2.0-1-x86_64 69.5 KiB 306 KiB/s 00:00 [#################################################] 100%
libnl-3.5.0-3-x86_64 395.0 KiB 305 KiB/s 00:01 [#################################################] 100%
libpcap-1.10.1-1-x86_64 276.5 KiB 768 KiB/s 00:00 [#################################################] 100%
libnfnetlink-1.0.1-4-x86_64 17.4 KiB 85.3 KiB/s 00:00 [#################################################] 100%
libnetfilter_conntrack-1.0.8-1-x86_64 49.4 KiB 256 KiB/s 00:00 [#################################################] 100%
iptables-1:1.8.7-1-x86_64 433.0 KiB 956 KiB/s 00:00 [#################################################] 100%
kbd-2.4.0-2-x86_64 1221.0 KiB 1185 KiB/s 00:01 [#################################################] 100%
libelf-0.185-1-x86_64 470.1 KiB 1035 KiB/s 00:00 [#################################################] 100%
systemd-249.4-1-x86_64 6.5 MiB 1749 KiB/s 00:04 [#################################################] 100%
systemd-sysvcompat-249.4-1-x86_64 5.6 KiB 29.0 KiB/s 00:00 [#################################################] 100%
iputils-20210722-1-x86_64 127.8 KiB 600 KiB/s 00:00 [#################################################] 100%
iproute2-5.14.0-1-x86_64 1047.1 KiB 1331 KiB/s 00:01 [#################################################] 100%
base-2-2-any 2.1 KiB 10.5 KiB/s 00:00 [#################################################] 100%
m4-1.4.19-1-x86_64 258.3 KiB 698 KiB/s 00:00 [#################################################] 100%
diffutils-3.8-1-x86_64 363.1 KiB 990 KiB/s 00:00 [#################################################] 100%
gdbm-1.21-1-x86_64 227.6 KiB 813 KiB/s 00:00 [#################################################] 100%
db-5.3.28-5-x86_64 1098.0 KiB 1277 KiB/s 00:01 [#################################################] 100%
perl-5.34.0-2-x86_64 15.4 MiB 1787 KiB/s 00:09 [#################################################] 100%
autoconf-2.71-1-any 645.2 KiB 1385 KiB/s 00:00 [#################################################] 100%
automake-1.16.4-1-any 611.7 KiB 1139 KiB/s 00:01 [#################################################] 100%
elfutils-0.185-1-x86_64 552.6 KiB 1228 KiB/s 00:00 [#################################################] 100%
binutils-2.36.1-3-x86_64 6.2 MiB 1442 KiB/s 00:04 [#################################################] 100%
bison-3.7.6-1-x86_64 756.4 KiB 979 KiB/s 00:01 [#################################################] 100%
fakeroot-1.26-1-x86_64 70.5 KiB 358 KiB/s 00:00 [#################################################] 100%
flex-2.6.4-3-x86_64 297.2 KiB 819 KiB/s 00:00 [#################################################] 100%
libmpc-1.2.1-1-x86_64 70.5 KiB 352 KiB/s 00:00 [#################################################] 100%
gcc-11.1.0-1-x86_64 34.0 MiB 1396 KiB/s 00:25 [#################################################] 100%
groff-1.22.4-6-x86_64 2.1 MiB 1270 KiB/s 00:02 [#################################################] 100%
libtool-2.4.6+42+gb88cebd5-16-x86_64 409.6 KiB 910 KiB/s 00:00 [#################################################] 100%
texinfo-6.8-2-x86_64 1418.4 KiB 1172 KiB/s 00:01 [#################################################] 100%
gc-8.0.4-4-x86_64 234.7 KiB 652 KiB/s 00:00 [#################################################] 100%
guile-2.2.7-1-x86_64 6.4 MiB 1362 KiB/s 00:05 [#################################################] 100%
make-4.3-3-x86_64 481.6 KiB 887 KiB/s 00:01 [#################################################] 100%
patch-2.7.6-8-x86_64 92.5 KiB 472 KiB/s 00:00 [#################################################] 100%
pkgconf-1.8.0-1-x86_64 57.6 KiB 294 KiB/s 00:00 [#################################################] 100%
sudo-1.9.8.p1-1-x86_64 1602.5 KiB 1159 KiB/s 00:01 [#################################################] 100%
which-2.21-5-x86_64 15.8 KiB 81.4 KiB/s 00:00 [#################################################] 100%
mkinitcpio-busybox-1.33.1-1-x86_64 269.5 KiB 743 KiB/s 00:00 [#################################################] 100%
mkinitcpio-30-2-any 41.6 KiB 171 KiB/s 00:00 [#################################################] 100%
linux-5.14.5.arch1-1-x86_64 126.2 MiB 1881 KiB/s 01:09 [#################################################] 100%
linux-firmware-20210818.c46b8c3-1-any 173.3 MiB 1967 KiB/s 01:30 [#################################################] 100%
Total (137/137) 486.8 MiB 1543 KiB/s 05:23 [#################################################] 100%
(137/137) checking keys in keyring [#################################################] 100%
(137/137) checking package integrity [#################################################] 100%
(137/137) loading package files [#################################################] 100%
(137/137) checking for file conflicts [#################################################] 100%
(137/137) checking available disk space [#################################################] 100%
:: Processing package changes...
( 1/137) installing iana-etc [#################################################] 100%
( 2/137) installing filesystem [#################################################] 100%
( 3/137) installing linux-api-headers [#################################################] 100%
( 4/137) installing tzdata [#################################################] 100%
( 5/137) installing glibc [#################################################] 100%
Optional dependencies for glibc
gd: for memusagestat
( 6/137) installing gcc-libs [#################################################] 100%
( 7/137) installing ncurses [#################################################] 100%
Optional dependencies for ncurses
bash: for ncursesw6-config [pending]
( 8/137) installing readline [#################################################] 100%
( 9/137) installing bash [#################################################] 100%
Optional dependencies for bash
bash-completion: for tab completion
( 10/137) installing attr [#################################################] 100%
( 11/137) installing acl [#################################################] 100%
( 12/137) installing gmp [#################################################] 100%
( 13/137) installing util-linux-libs [#################################################] 100%
( 14/137) installing e2fsprogs [#################################################] 100%
( 15/137) installing openssl [#################################################] 100%
Optional dependencies for openssl
ca-certificates [pending]
perl [pending]
( 16/137) installing libsasl [#################################################] 100%
( 17/137) installing libldap [#################################################] 100%
( 18/137) installing keyutils [#################################################] 100%
( 19/137) installing krb5 [#################################################] 100%
( 20/137) installing libtirpc [#################################################] 100%
( 21/137) installing pambase [#################################################] 100%
( 22/137) installing libcap-ng [#################################################] 100%
( 23/137) installing audit [#################################################] 100%
( 24/137) installing libxcrypt [#################################################] 100%
( 25/137) installing pam [#################################################] 100%
( 26/137) installing libcap [#################################################] 100%
( 27/137) installing coreutils [#################################################] 100%
( 28/137) installing zlib [#################################################] 100%
( 29/137) installing xz [#################################################] 100%
( 30/137) installing bzip2 [#################################################] 100%
( 31/137) installing libseccomp [#################################################] 100%
( 32/137) installing file [#################################################] 100%
( 33/137) installing findutils [#################################################] 100%
( 34/137) installing mpfr [#################################################] 100%
( 35/137) installing gawk [#################################################] 100%
( 36/137) installing pcre [#################################################] 100%
( 37/137) installing grep [#################################################] 100%
( 38/137) installing libgpg-error [#################################################] 100%
( 39/137) installing libgcrypt [#################################################] 100%
( 40/137) installing libtasn1 [#################################################] 100%
( 41/137) installing libffi [#################################################] 100%
( 42/137) installing libp11-kit [#################################################] 100%
( 43/137) installing lz4 [#################################################] 100%
( 44/137) installing zstd [#################################################] 100%
( 45/137) installing systemd-libs [#################################################] 100%
( 46/137) installing procps-ng [#################################################] 100%
( 47/137) installing sed [#################################################] 100%
( 48/137) installing tar [#################################################] 100%
( 49/137) installing glib2 [#################################################] 100%
Optional dependencies for glib2
python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report
libelf: gresource inspection tool [pending]
( 50/137) installing libunistring [#################################################] 100%
( 51/137) installing icu [#################################################] 100%
( 52/137) installing libxml2 [#################################################] 100%
( 53/137) installing libcroco [#################################################] 100%
( 54/137) installing gettext [#################################################] 100%
Optional dependencies for gettext
git: for autopoint infrastructure updates
( 55/137) installing hwids [#################################################] 100%
( 56/137) installing kmod [#################################################] 100%
( 57/137) installing pciutils [#################################################] 100%
( 58/137) installing psmisc [#################################################] 100%
( 59/137) installing shadow [#################################################] 100%
( 60/137) installing util-linux [#################################################] 100%
Optional dependencies for util-linux
python: python bindings to libmount
words: default dictionary for look
( 61/137) installing pcre2 [#################################################] 100%
( 62/137) installing less [#################################################] 100%
( 63/137) installing gzip [#################################################] 100%
( 64/137) installing licenses [#################################################] 100%
( 65/137) installing expat [#################################################] 100%
( 66/137) installing libarchive [#################################################] 100%
( 67/137) installing p11-kit [#################################################] 100%
( 68/137) installing ca-certificates-utils [#################################################] 100%
( 69/137) installing ca-certificates-mozilla [#################################################] 100%
( 70/137) installing ca-certificates [#################################################] 100%
( 71/137) installing brotli [#################################################] 100%
( 72/137) installing libidn2 [#################################################] 100%
( 73/137) installing libnghttp2 [#################################################] 100%
( 74/137) installing libpsl [#################################################] 100%
( 75/137) installing libssh2 [#################################################] 100%
( 76/137) installing curl [#################################################] 100%
( 77/137) installing npth [#################################################] 100%
( 78/137) installing libksba [#################################################] 100%
( 79/137) installing libassuan [#################################################] 100%
( 80/137) installing libsecret [#################################################] 100%
Optional dependencies for libsecret
org.freedesktop.secrets: secret storage backend
( 81/137) installing pinentry [#################################################] 100%
Optional dependencies for pinentry
gtk2: gtk2 backend
qt5-base: qt backend
gcr: gnome3 backend
( 82/137) installing nettle [#################################################] 100%
( 83/137) installing gnutls [#################################################] 100%
Optional dependencies for gnutls
guile: for use with Guile bindings [pending]
( 84/137) installing sqlite [#################################################] 100%
( 85/137) installing gnupg [#################################################] 100%
Optional dependencies for gnupg
libldap: gpg2keys_ldap [installed]
libusb-compat: scdaemon
pcsclite: scdaemon
( 86/137) installing gpgme [#################################################] 100%
( 87/137) installing pacman-mirrorlist [#################################################] 100%
( 88/137) installing archlinux-keyring [#################################################] 100%
( 89/137) installing pacman [#################################################] 100%
Optional dependencies for pacman
perl-locale-gettext: translation support in makepkg-template
( 90/137) installing device-mapper [#################################################] 100%
( 91/137) installing popt [#################################################] 100%
( 92/137) installing json-c [#################################################] 100%
( 93/137) installing argon2 [#################################################] 100%
( 94/137) installing cryptsetup [#################################################] 100%
( 95/137) installing dbus [#################################################] 100%
( 96/137) installing libmnl [#################################################] 100%
( 97/137) installing libnftnl [#################################################] 100%
( 98/137) installing libnl [#################################################] 100%
( 99/137) installing libpcap [#################################################] 100%
(100/137) installing libnfnetlink [#################################################] 100%
(101/137) installing libnetfilter_conntrack [#################################################] 100%
(102/137) installing iptables [#################################################] 100%
(103/137) installing kbd [#################################################] 100%
(104/137) installing libelf [#################################################] 100%
(105/137) installing systemd [#################################################] 100%
Initializing machine ID from random generator.
Creating group sys with gid 3.
Creating group mem with gid 8.
Creating group ftp with gid 11.
Creating group mail with gid 12.
Creating group log with gid 19.
Creating group smmsp with gid 25.
Creating group proc with gid 26.
Creating group games with gid 50.
Creating group lock with gid 54.
Creating group network with gid 90.
Creating group floppy with gid 94.
Creating group scanner with gid 96.
Creating group power with gid 98.
Creating group adm with gid 999.
Creating group wheel with gid 998.
Creating group utmp with gid 997.
Creating group audio with gid 996.
Creating group disk with gid 995.
Creating group input with gid 994.
Creating group kmem with gid 993.
Creating group kvm with gid 992.
Creating group lp with gid 991.
Creating group optical with gid 990.
Creating group render with gid 989.
Creating group sgx with gid 988.
Creating group storage with gid 987.
Creating group tty with gid 5.
Creating group uucp with gid 986.
Creating group video with gid 985.
Creating group users with gid 984.
Creating group systemd-journal with gid 983.
Creating group rfkill with gid 982.
Creating group bin with gid 1.
Creating user bin (n/a) with uid 1 and gid 1.
Creating group daemon with gid 2.
Creating user daemon (n/a) with uid 2 and gid 2.
Creating user mail (n/a) with uid 8 and gid 12.
Creating user ftp (n/a) with uid 14 and gid 11.
Creating group http with gid 33.
Creating user http (n/a) with uid 33 and gid 33.
Creating group nobody with gid 65534.
Creating user nobody (Nobody) with uid 65534 and gid 65534.
Creating group dbus with gid 81.
Creating user dbus (System Message Bus) with uid 81 and gid 81.
Creating group systemd-journal-remote with gid 981.
Creating user systemd-journal-remote (systemd Journal Remote) with uid 981 and gid 981.
Creating group systemd-network with gid 980.
Creating user systemd-network (systemd Network Management) with uid 980 and gid 980.
Creating group systemd-oom with gid 979.
Creating user systemd-oom (systemd Userspace OOM Killer) with uid 979 and gid 979.
Creating group systemd-resolve with gid 978.
Creating user systemd-resolve (systemd Resolver) with uid 978 and gid 978.
Creating group systemd-timesync with gid 977.
Creating user systemd-timesync (systemd Time Synchronization) with uid 977 and gid 977.
Creating group systemd-coredump with gid 976.
Creating user systemd-coredump (systemd Core Dumper) with uid 976 and gid 976.
Creating group uuidd with gid 68.
Creating user uuidd (n/a) with uid 68 and gid 68.
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
libmicrohttpd: remote journald capabilities
quota-tools: kernel-level quota management
systemd-sysvcompat: symlink package to provide sysvinit binaries [pending]
polkit: allow administration as unprivileged user
curl: machinectl pull-tar and pull-raw [installed]
libfido2: unlocking LUKS2 volumes with FIDO2 token
tpm2-tss: unlocking LUKS2 volumes with TPM2
(106/137) installing systemd-sysvcompat [#################################################] 100%
(107/137) installing iputils [#################################################] 100%
(108/137) installing iproute2 [#################################################] 100%
Optional dependencies for iproute2
db: userspace arp daemon [pending]
libcap: tipc [installed]
linux-atm: ATM support
(109/137) installing base [#################################################] 100%
Optional dependencies for base
linux: bare metal support [pending]
(110/137) installing m4 [#################################################] 100%
(111/137) installing diffutils [#################################################] 100%
(112/137) installing gdbm [#################################################] 100%
(113/137) installing db [#################################################] 100%
(114/137) installing perl [#################################################] 100%
(115/137) installing autoconf [#################################################] 100%
(116/137) installing automake [#################################################] 100%
(117/137) installing elfutils [#################################################] 100%
(118/137) installing binutils [#################################################] 100%
(119/137) installing bison [#################################################] 100%
(120/137) installing fakeroot [#################################################] 100%
(121/137) installing flex [#################################################] 100%
(122/137) installing libmpc [#################################################] 100%
(123/137) installing gcc [#################################################] 100%
Optional dependencies for gcc
lib32-gcc-libs: for generating code for 32-bit ABI
(124/137) installing groff [#################################################] 100%
Optional dependencies for groff
netpbm: for use together with man -H command interaction in browsers
psutils: for use together with man -H command interaction in browsers
libxaw: for gxditview
perl-file-homedir: for use with glilypond
(125/137) installing libtool [#################################################] 100%
(126/137) installing texinfo [#################################################] 100%
(127/137) installing gc [#################################################] 100%
(128/137) installing guile [#################################################] 100%
(129/137) installing make [#################################################] 100%
(130/137) installing patch [#################################################] 100%
Optional dependencies for patch
ed: for patch -e functionality
(131/137) installing pkgconf [#################################################] 100%
(132/137) installing sudo [#################################################] 100%
(133/137) installing which [#################################################] 100%
(134/137) installing mkinitcpio-busybox [#################################################] 100%
(135/137) installing mkinitcpio [#################################################] 100%
Optional dependencies for mkinitcpio
gzip: Use gzip compression for the initramfs image [installed]
xz: Use lzma or xz compression for the initramfs image [installed]
bzip2: Use bzip2 compression for the initramfs image [installed]
lzop: Use lzo compression for the initramfs image
lz4: Use lz4 compression for the initramfs image [installed]
mkinitcpio-nfs-utils: Support for root filesystem on NFS
(136/137) installing linux [#################################################] 100%
Optional dependencies for linux
crda: to set the correct wireless channels of your country
linux-firmware: firmware images needed for some devices [pending]
(137/137) installing linux-firmware [#################################################] 100%
:: Running post-transaction hooks...
( 1/14) Creating system user accounts...
( 2/14) Updating journal message catalog...
( 3/14) Reloading system manager configuration...
Skipped: Running in chroot.
( 4/14) Updating udev hardware database...
( 5/14) Applying kernel sysctl settings...
Skipped: Running in chroot.
( 6/14) Creating temporary files...
( 7/14) Reloading device manager configuration...
Skipped: Running in chroot.
( 8/14) Arming ConditionNeedsUpdate...
( 9/14) Rebuilding certificate stores...
(10/14) Updating module dependencies...
(11/14) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.14.5-arch1-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> ERROR: file not found: `fsck.xfs'
==> WARNING: No fsck helpers found. fsck will not be run on boot.
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.14.5-arch1-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
error: command failed to execute correctly
(12/14) Reloading system bus configuration...
Skipped: Running in chroot.
(13/14) Warn about old perl modules
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MESSAGES = "",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
(14/14) Updating the info directory file...
pacstrap /mnt base base-devel linux linux-firmware 7.21s user 24.50s system 9% cpu 5:47.75 total
root@archiso ~ #
生成 fstab 文件
root@archiso ~ # genfstab -U /mnt >> /mnt/etc/fstab
root@archiso ~ # cat /mnt/etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2
UUID=2f235c04-a6a2-4652-9b1f-fea0f086dc5f / xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 1
# /dev/sda1
UUID=AE66-4B21 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
root@archiso ~ #
切换至安装好的 Arch
root@archiso ~ # arch-chroot /mnt
[root@archiso /]#
安装编辑器 vim,修改 /etc/locale.gen,取消注释下面这两行配置
en_US.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8
[root@archiso /]# pacman -S vim
resolving dependencies...
looking for conflicting packages...
Packages (3) gpm-1.20.7.r38.ge82d1a6-4 vim-runtime-8.2.3441-1 vim-8.2.3441-1
Total Download Size: 8.38 MiB
Total Installed Size: 34.97 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
vim-runtime-8.2.3441-1-x86_64 6.4 MiB 1150 KiB/s 00:06 [#################################################] 100%
vim-8.2.3441-1-x86_64 1844.0 KiB 406 KiB/s 00:05 [#################################################] 100%
gpm-1.20.7.r38.ge82d1a6-4-x86_64 139.5 KiB 105 KiB/s 00:01 [#################################################] 100%
Total (3/3) 8.4 MiB 681 KiB/s 00:13 [#################################################] 100%
(3/3) checking keys in keyring [#################################################] 100%
(3/3) checking package integrity [#################################################] 100%
(3/3) loading package files [#################################################] 100%
(3/3) checking for file conflicts [#################################################] 100%
(3/3) checking available disk space [#################################################] 100%
:: Processing package changes...
(1/3) installing vim-runtime [#################################################] 100%
Optional dependencies for vim-runtime
sh: support for some tools and macros [installed]
python: demoserver example tool
gawk: mve tools upport [installed]
(2/3) installing gpm [#################################################] 100%
(3/3) installing vim [#################################################] 100%
Optional dependencies for vim
python2: Python 2 language support
python: Python 3 language support
ruby: Ruby language support
lua: Lua language support
perl: Perl language support [installed]
tcl: Tcl language support
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
Skipped: Running in chroot.
(2/3) Arming ConditionNeedsUpdate...
(3/3) Updating the info directory file...
[root@archiso /]#
[root@archiso /]#
[root@archiso /]# vim /etc/locale.gen
[root@archiso /]#
[root@archiso /]#
[root@archiso /]#
[root@archiso /]# cat /etc/locale.gen
# Configuration file for locale-gen
#
# lists of locales that are to be generated by the locale-gen command.
#
# Each line is of the form:
#
# <locale> <charset>
#
# where <locale> is one of the locales given in /usr/share/i18n/locales
# and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
#
# Examples:
# en_US ISO-8859-1
# en_US.UTF-8 UTF-8
# de_DE ISO-8859-1
# de_DE@euro ISO-8859-15
#
# The locale-gen command will generate all the locales,
# placing them in /usr/lib/locale.
#
# A list of supported locales is included in this file.
# Uncomment the ones you need.
#
#aa_DJ.UTF-8 UTF-8
#aa_DJ ISO-8859-1
#aa_ER UTF-8
#aa_ER@saaho UTF-8
#aa_ET UTF-8
#af_ZA.UTF-8 UTF-8
#af_ZA ISO-8859-1
#agr_PE UTF-8
#ak_GH UTF-8
#am_ET UTF-8
#an_ES.UTF-8 UTF-8
#an_ES ISO-8859-15
#anp_IN UTF-8
#ar_AE.UTF-8 UTF-8
#ar_AE ISO-8859-6
#ar_BH.UTF-8 UTF-8
#ar_BH ISO-8859-6
#ar_DZ.UTF-8 UTF-8
#ar_DZ ISO-8859-6
#ar_EG.UTF-8 UTF-8
#ar_EG ISO-8859-6
#ar_IN UTF-8
#ar_IQ.UTF-8 UTF-8
#ar_IQ ISO-8859-6
#ar_JO.UTF-8 UTF-8
#ar_JO ISO-8859-6
#ar_KW.UTF-8 UTF-8
#ar_KW ISO-8859-6
#ar_LB.UTF-8 UTF-8
#ar_LB ISO-8859-6
#ar_LY.UTF-8 UTF-8
#ar_LY ISO-8859-6
#ar_MA.UTF-8 UTF-8
#ar_MA ISO-8859-6
#ar_OM.UTF-8 UTF-8
#ar_OM ISO-8859-6
#ar_QA.UTF-8 UTF-8
#ar_QA ISO-8859-6
#ar_SA.UTF-8 UTF-8
#ar_SA ISO-8859-6
#ar_SD.UTF-8 UTF-8
#ar_SD ISO-8859-6
#ar_SS UTF-8
#ar_SY.UTF-8 UTF-8
#ar_SY ISO-8859-6
#ar_TN.UTF-8 UTF-8
#ar_TN ISO-8859-6
#ar_YE.UTF-8 UTF-8
#ar_YE ISO-8859-6
#ayc_PE UTF-8
#az_AZ UTF-8
#az_IR UTF-8
#as_IN UTF-8
#ast_ES.UTF-8 UTF-8
#ast_ES ISO-8859-15
#be_BY.UTF-8 UTF-8
#be_BY CP1251
#be_BY@latin UTF-8
#bem_ZM UTF-8
#ber_DZ UTF-8
#ber_MA UTF-8
#bg_BG.UTF-8 UTF-8
#bg_BG CP1251
#bhb_IN.UTF-8 UTF-8
#bho_IN UTF-8
#bho_NP UTF-8
#bi_VU UTF-8
#bn_BD UTF-8
#bn_IN UTF-8
#bo_CN UTF-8
#bo_IN UTF-8
#br_FR.UTF-8 UTF-8
#br_FR ISO-8859-1
#br_FR@euro ISO-8859-15
#brx_IN UTF-8
#bs_BA.UTF-8 UTF-8
#bs_BA ISO-8859-2
#byn_ER UTF-8
#ca_AD.UTF-8 UTF-8
#ca_AD ISO-8859-15
#ca_ES.UTF-8 UTF-8
#ca_ES ISO-8859-1
#ca_ES@euro ISO-8859-15
#ca_ES@valencia UTF-8
#ca_FR.UTF-8 UTF-8
#ca_FR ISO-8859-15
#ca_IT.UTF-8 UTF-8
#ca_IT ISO-8859-15
#ce_RU UTF-8
#chr_US UTF-8
#ckb_IQ UTF-8
#cmn_TW UTF-8
#crh_UA UTF-8
#cs_CZ.UTF-8 UTF-8
#cs_CZ ISO-8859-2
#csb_PL UTF-8
#cv_RU UTF-8
#cy_GB.UTF-8 UTF-8
#cy_GB ISO-8859-14
#da_DK.UTF-8 UTF-8
#da_DK ISO-8859-1
#de_AT.UTF-8 UTF-8
#de_AT ISO-8859-1
#de_AT@euro ISO-8859-15
#de_BE.UTF-8 UTF-8
#de_BE ISO-8859-1
#de_BE@euro ISO-8859-15
#de_CH.UTF-8 UTF-8
#de_CH ISO-8859-1
#de_DE.UTF-8 UTF-8
#de_DE ISO-8859-1
#de_DE@euro ISO-8859-15
#de_IT.UTF-8 UTF-8
#de_IT ISO-8859-1
#de_LI.UTF-8 UTF-8
#de_LU.UTF-8 UTF-8
#de_LU ISO-8859-1
#de_LU@euro ISO-8859-15
#doi_IN UTF-8
#dsb_DE UTF-8
#dv_MV UTF-8
#dz_BT UTF-8
#el_GR.UTF-8 UTF-8
#el_GR ISO-8859-7
#el_GR@euro ISO-8859-7
#el_CY.UTF-8 UTF-8
#el_CY ISO-8859-7
#en_AG UTF-8
#en_AU.UTF-8 UTF-8
#en_AU ISO-8859-1
#en_BW.UTF-8 UTF-8
#en_BW ISO-8859-1
#en_CA.UTF-8 UTF-8
#en_CA ISO-8859-1
#en_DK.UTF-8 UTF-8
#en_DK ISO-8859-1
#en_GB.UTF-8 UTF-8
#en_GB ISO-8859-1
#en_HK.UTF-8 UTF-8
#en_HK ISO-8859-1
#en_IE.UTF-8 UTF-8
#en_IE ISO-8859-1
#en_IE@euro ISO-8859-15
#en_IL UTF-8
#en_IN UTF-8
#en_NG UTF-8
#en_NZ.UTF-8 UTF-8
#en_NZ ISO-8859-1
#en_PH.UTF-8 UTF-8
#en_PH ISO-8859-1
#en_SC.UTF-8 UTF-8
#en_SG.UTF-8 UTF-8
#en_SG ISO-8859-1
en_US.UTF-8 UTF-8
#en_US ISO-8859-1
#en_ZA.UTF-8 UTF-8
#en_ZA ISO-8859-1
#en_ZM UTF-8
#en_ZW.UTF-8 UTF-8
#en_ZW ISO-8859-1
#eo UTF-8
#es_AR.UTF-8 UTF-8
#es_AR ISO-8859-1
#es_BO.UTF-8 UTF-8
#es_BO ISO-8859-1
#es_CL.UTF-8 UTF-8
#es_CL ISO-8859-1
#es_CO.UTF-8 UTF-8
#es_CO ISO-8859-1
#es_CR.UTF-8 UTF-8
#es_CR ISO-8859-1
#es_CU UTF-8
#es_DO.UTF-8 UTF-8
#es_DO ISO-8859-1
#es_EC.UTF-8 UTF-8
#es_EC ISO-8859-1
#es_ES.UTF-8 UTF-8
#es_ES ISO-8859-1
#es_ES@euro ISO-8859-15
#es_GT.UTF-8 UTF-8
#es_GT ISO-8859-1
#es_HN.UTF-8 UTF-8
#es_HN ISO-8859-1
#es_MX.UTF-8 UTF-8
#es_MX ISO-8859-1
#es_NI.UTF-8 UTF-8
#es_NI ISO-8859-1
#es_PA.UTF-8 UTF-8
#es_PA ISO-8859-1
#es_PE.UTF-8 UTF-8
#es_PE ISO-8859-1
#es_PR.UTF-8 UTF-8
#es_PR ISO-8859-1
#es_PY.UTF-8 UTF-8
#es_PY ISO-8859-1
#es_SV.UTF-8 UTF-8
#es_SV ISO-8859-1
#es_US.UTF-8 UTF-8
#es_US ISO-8859-1
#es_UY.UTF-8 UTF-8
#es_UY ISO-8859-1
#es_VE.UTF-8 UTF-8
#es_VE ISO-8859-1
#et_EE.UTF-8 UTF-8
#et_EE ISO-8859-1
#et_EE.ISO-8859-15 ISO-8859-15
#eu_ES.UTF-8 UTF-8
#eu_ES ISO-8859-1
#eu_ES@euro ISO-8859-15
#fa_IR UTF-8
#ff_SN UTF-8
#fi_FI.UTF-8 UTF-8
#fi_FI ISO-8859-1
#fi_FI@euro ISO-8859-15
#fil_PH UTF-8
#fo_FO.UTF-8 UTF-8
#fo_FO ISO-8859-1
#fr_BE.UTF-8 UTF-8
#fr_BE ISO-8859-1
#fr_BE@euro ISO-8859-15
#fr_CA.UTF-8 UTF-8
#fr_CA ISO-8859-1
#fr_CH.UTF-8 UTF-8
#fr_CH ISO-8859-1
#fr_FR.UTF-8 UTF-8
#fr_FR ISO-8859-1
#fr_FR@euro ISO-8859-15
#fr_LU.UTF-8 UTF-8
#fr_LU ISO-8859-1
#fr_LU@euro ISO-8859-15
#fur_IT UTF-8
#fy_NL UTF-8
#fy_DE UTF-8
#ga_IE.UTF-8 UTF-8
#ga_IE ISO-8859-1
#ga_IE@euro ISO-8859-15
#gd_GB.UTF-8 UTF-8
#gd_GB ISO-8859-15
#gez_ER UTF-8
#gez_ER@abegede UTF-8
#gez_ET UTF-8
#gez_ET@abegede UTF-8
#gl_ES.UTF-8 UTF-8
#gl_ES ISO-8859-1
#gl_ES@euro ISO-8859-15
#gu_IN UTF-8
#gv_GB.UTF-8 UTF-8
#gv_GB ISO-8859-1
#ha_NG UTF-8
#hak_TW UTF-8
#he_IL.UTF-8 UTF-8
#he_IL ISO-8859-8
#hi_IN UTF-8
#hif_FJ UTF-8
#hne_IN UTF-8
#hr_HR.UTF-8 UTF-8
#hr_HR ISO-8859-2
#hsb_DE ISO-8859-2
#hsb_DE.UTF-8 UTF-8
#ht_HT UTF-8
#hu_HU.UTF-8 UTF-8
#hu_HU ISO-8859-2
#hy_AM UTF-8
#hy_AM.ARMSCII-8 ARMSCII-8
#ia_FR UTF-8
#id_ID.UTF-8 UTF-8
#id_ID ISO-8859-1
#ig_NG UTF-8
#ik_CA UTF-8
#is_IS.UTF-8 UTF-8
#is_IS ISO-8859-1
#it_CH.UTF-8 UTF-8
#it_CH ISO-8859-1
#it_IT.UTF-8 UTF-8
#it_IT ISO-8859-1
#it_IT@euro ISO-8859-15
#iu_CA UTF-8
#ja_JP.EUC-JP EUC-JP
#ja_JP.UTF-8 UTF-8
#ka_GE.UTF-8 UTF-8
#ka_GE GEORGIAN-PS
#kab_DZ UTF-8
#kk_KZ.UTF-8 UTF-8
#kk_KZ PT154
#kl_GL.UTF-8 UTF-8
#kl_GL ISO-8859-1
#km_KH UTF-8
#kn_IN UTF-8
#ko_KR.EUC-KR EUC-KR
#ko_KR.UTF-8 UTF-8
#kok_IN UTF-8
#ks_IN UTF-8
#ks_IN@devanagari UTF-8
#ku_TR.UTF-8 UTF-8
#ku_TR ISO-8859-9
#kw_GB.UTF-8 UTF-8
#kw_GB ISO-8859-1
#ky_KG UTF-8
#lb_LU UTF-8
#lg_UG.UTF-8 UTF-8
#lg_UG ISO-8859-10
#li_BE UTF-8
#li_NL UTF-8
#lij_IT UTF-8
#ln_CD UTF-8
#lo_LA UTF-8
#lt_LT.UTF-8 UTF-8
#lt_LT ISO-8859-13
#lv_LV.UTF-8 UTF-8
#lv_LV ISO-8859-13
#lzh_TW UTF-8
#mag_IN UTF-8
#mai_IN UTF-8
#mai_NP UTF-8
#mfe_MU UTF-8
#mg_MG.UTF-8 UTF-8
#mg_MG ISO-8859-15
#mhr_RU UTF-8
#mi_NZ.UTF-8 UTF-8
#mi_NZ ISO-8859-13
#miq_NI UTF-8
#mjw_IN UTF-8
#mk_MK.UTF-8 UTF-8
#mk_MK ISO-8859-5
#ml_IN UTF-8
#mn_MN UTF-8
#mni_IN UTF-8
#mnw_MM UTF-8
#mr_IN UTF-8
#ms_MY.UTF-8 UTF-8
#ms_MY ISO-8859-1
#mt_MT.UTF-8 UTF-8
#mt_MT ISO-8859-3
#my_MM UTF-8
#nan_TW UTF-8
#nan_TW@latin UTF-8
#nb_NO.UTF-8 UTF-8
#nb_NO ISO-8859-1
#nds_DE UTF-8
#nds_NL UTF-8
#ne_NP UTF-8
#nhn_MX UTF-8
#niu_NU UTF-8
#niu_NZ UTF-8
#nl_AW UTF-8
#nl_BE.UTF-8 UTF-8
#nl_BE ISO-8859-1
#nl_BE@euro ISO-8859-15
#nl_NL.UTF-8 UTF-8
#nl_NL ISO-8859-1
#nl_NL@euro ISO-8859-15
#nn_NO.UTF-8 UTF-8
#nn_NO ISO-8859-1
#nr_ZA UTF-8
#nso_ZA UTF-8
#oc_FR.UTF-8 UTF-8
#oc_FR ISO-8859-1
#om_ET UTF-8
#om_KE.UTF-8 UTF-8
#om_KE ISO-8859-1
#or_IN UTF-8
#os_RU UTF-8
#pa_IN UTF-8
#pa_PK UTF-8
#pap_AW UTF-8
#pap_CW UTF-8
#pl_PL.UTF-8 UTF-8
#pl_PL ISO-8859-2
#ps_AF UTF-8
#pt_BR.UTF-8 UTF-8
#pt_BR ISO-8859-1
#pt_PT.UTF-8 UTF-8
#pt_PT ISO-8859-1
#pt_PT@euro ISO-8859-15
#quz_PE UTF-8
#raj_IN UTF-8
#ro_RO.UTF-8 UTF-8
#ro_RO ISO-8859-2
#ru_RU.KOI8-R KOI8-R
#ru_RU.UTF-8 UTF-8
#ru_RU ISO-8859-5
#ru_UA.UTF-8 UTF-8
#ru_UA KOI8-U
#rw_RW UTF-8
#sa_IN UTF-8
#sah_RU UTF-8
#sat_IN UTF-8
#sc_IT UTF-8
#sd_IN UTF-8
#sd_IN@devanagari UTF-8
#se_NO UTF-8
#sgs_LT UTF-8
#shn_MM UTF-8
#shs_CA UTF-8
#si_LK UTF-8
#sid_ET UTF-8
#sk_SK.UTF-8 UTF-8
#sk_SK ISO-8859-2
#sl_SI.UTF-8 UTF-8
#sl_SI ISO-8859-2
#sm_WS UTF-8
#so_DJ.UTF-8 UTF-8
#so_DJ ISO-8859-1
#so_ET UTF-8
#so_KE.UTF-8 UTF-8
#so_KE ISO-8859-1
#so_SO.UTF-8 UTF-8
#so_SO ISO-8859-1
#sq_AL.UTF-8 UTF-8
#sq_AL ISO-8859-1
#sq_MK UTF-8
#sr_ME UTF-8
#sr_RS UTF-8
#sr_RS@latin UTF-8
#ss_ZA UTF-8
#st_ZA.UTF-8 UTF-8
#st_ZA ISO-8859-1
#sv_FI.UTF-8 UTF-8
#sv_FI ISO-8859-1
#sv_FI@euro ISO-8859-15
#sv_SE.UTF-8 UTF-8
#sv_SE ISO-8859-1
#sw_KE UTF-8
#sw_TZ UTF-8
#szl_PL UTF-8
#ta_IN UTF-8
#ta_LK UTF-8
#tcy_IN.UTF-8 UTF-8
#te_IN UTF-8
#tg_TJ.UTF-8 UTF-8
#tg_TJ KOI8-T
#th_TH.UTF-8 UTF-8
#th_TH TIS-620
#the_NP UTF-8
#ti_ER UTF-8
#ti_ET UTF-8
#tig_ER UTF-8
#tk_TM UTF-8
#tl_PH.UTF-8 UTF-8
#tl_PH ISO-8859-1
#tn_ZA UTF-8
#to_TO UTF-8
#tpi_PG UTF-8
#tr_CY.UTF-8 UTF-8
#tr_CY ISO-8859-9
#tr_TR.UTF-8 UTF-8
#tr_TR ISO-8859-9
#ts_ZA UTF-8
#tt_RU UTF-8
#tt_RU@iqtelif UTF-8
#ug_CN UTF-8
#uk_UA.UTF-8 UTF-8
#uk_UA KOI8-U
#unm_US UTF-8
#ur_IN UTF-8
#ur_PK UTF-8
#uz_UZ.UTF-8 UTF-8
#uz_UZ ISO-8859-1
#uz_UZ@cyrillic UTF-8
#ve_ZA UTF-8
#vi_VN UTF-8
#wa_BE ISO-8859-1
#wa_BE@euro ISO-8859-15
#wa_BE.UTF-8 UTF-8
#wae_CH UTF-8
#wal_ET UTF-8
#wo_SN UTF-8
#xh_ZA.UTF-8 UTF-8
#xh_ZA ISO-8859-1
#yi_US.UTF-8 UTF-8
#yi_US CP1255
#yo_NG UTF-8
#yue_HK UTF-8
#yuw_PG UTF-8
#zh_CN.GB18030 GB18030
#zh_CN.GBK GBK
zh_CN.UTF-8 UTF-8
#zh_CN GB2312
#zh_HK.UTF-8 UTF-8
#zh_HK BIG5-HKSCS
#zh_SG.UTF-8 UTF-8
#zh_SG.GBK GBK
#zh_SG GB2312
#zh_TW.EUC-TW EUC-TW
#zh_TW.UTF-8 UTF-8
#zh_TW BIG5
#zu_ZA.UTF-8 UTF-8
#zu_ZA ISO-8859-1
[root@archiso /]#
生成 locale 信息
[root@archiso /]# locale-gen
Generating locales...
en_US.UTF-8... done
zh_CN.UTF-8... done
Generation complete.
[root@archiso /]#
设置语言
[root@archiso /]# vim /etc/locale.conf
[root@archiso /]# cat /etc/locale.conf
LANG=en_US.UTF-8
[root@archiso /]#
启动 dhcpcd 服务
[root@archiso /]# pacman -S dhcpcd
resolving dependencies...
looking for conflicting packages...
Packages (1) dhcpcd-9.4.0-1
Total Download Size: 0.21 MiB
Total Installed Size: 0.47 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
dhcpcd-9.4.0-1-x86_64 210.0 KiB 54.4 KiB/s 00:04 [#################################################] 100%
(1/1) checking keys in keyring [#################################################] 100%
(1/1) checking package integrity [#################################################] 100%
(1/1) loading package files [#################################################] 100%
(1/1) checking for file conflicts [#################################################] 100%
(1/1) checking available disk space [#################################################] 100%
:: Processing package changes...
(1/1) installing dhcpcd [#################################################] 100%
Optional dependencies for dhcpcd
openresolv: resolvconf support
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group dhcpcd with gid 975.
Creating user dhcpcd (dhcpcd privilege separation) with uid 975 and gid 975.
(2/4) Reloading system manager configuration...
Skipped: Running in chroot.
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
[root@archiso /]#
[root@archiso /]#
[root@archiso /]# systemctl enable dhcpcd
Created symlink /etc/systemd/system/multi-user.target.wants/dhcpcd.service → /usr/lib/systemd/system/dhcpcd.service.
[root@archiso /]#
修改 root 密码
[root@archiso /]# passwd
New password:
Retype new password:
passwd: password updated successfully
[root@archiso /]#
安装 Microcode
AMD CPU
[root@archiso /]# pacman -S amd-ucode
resolving dependencies...
looking for conflicting packages...
Packages (1) amd-ucode-20210818.c46b8c3-1
Total Download Size: 0.02 MiB
Total Installed Size: 0.04 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
amd-ucode-20210818.c46b8c3-1-any 23.7 KiB 24.7 KiB/s 00:01 [#################################################] 100%
(1/1) checking keys in keyring [#################################################] 100%
(1/1) checking package integrity [#################################################] 100%
(1/1) loading package files [#################################################] 100%
(1/1) checking for file conflicts [#################################################] 100%
(1/1) checking available disk space [#################################################] 100%
:: Processing package changes...
(1/1) installing amd-ucode [#################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[root@archiso /]#
Intel CPU
[root@archiso /]# pacman -S intel-ucode
resolving dependencies...
looking for conflicting packages...
Packages (1) intel-ucode-20210608-1
Total Download Size: 3.67 MiB
Total Installed Size: 4.55 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
intel-ucode-20210608-1-any 3.7 MiB 1427 KiB/s 00:03 [#################################################] 100%
(1/1) checking keys in keyring [#################################################] 100%
(1/1) checking package integrity [#################################################] 100%
(1/1) loading package files [#################################################] 100%
(1/1) checking for file conflicts [#################################################] 100%
(1/1) checking available disk space [#################################################] 100%
:: Processing package changes...
(1/1) installing intel-ucode [#################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[root@archiso /]#
安装 GRUB
[root@archiso /]# pacman -S grub efibootmgr
resolving dependencies...
looking for conflicting packages...
Packages (3) efivar-37-4 efibootmgr-17-2 grub-2:2.06-2
Total Download Size: 6.89 MiB
Total Installed Size: 34.45 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
grub-2:2.06-2-x86_64 6.8 MiB 910 KiB/s 00:08 [#################################################] 100%
efivar-37-4-x86_64 110.5 KiB 53.0 KiB/s 00:02 [#################################################] 100%
efibootmgr-17-2-x86_64 27.4 KiB 23.3 KiB/s 00:01 [#################################################] 100%
Total (3/3) 6.9 MiB 612 KiB/s 00:12 [#################################################] 100%
(3/3) checking keys in keyring [#################################################] 100%
(3/3) checking package integrity [#################################################] 100%
(3/3) loading package files [#################################################] 100%
(3/3) checking for file conflicts [#################################################] 100%
(3/3) checking available disk space [#################################################] 100%
:: Processing package changes...
(1/3) installing grub [#################################################] 100%
:: Generate your bootloader configuration with:
grub-mkconfig -o /boot/grub/grub.cfg
Optional dependencies for grub
freetype2: For grub-mkfont usage
fuse2: For grub-mount usage
dosfstools: For grub-mkrescue FAT FS and EFI support
efibootmgr: For grub-install EFI support [pending]
libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue
os-prober: To detect other OSes when generating grub.cfg in BIOS systems
mtools: For grub-mkrescue FAT FS support
(2/3) installing efivar [#################################################] 100%
(3/3) installing efibootmgr [#################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
[root@archiso /]#
[root@archiso /]# grub-install --target=i386-pc /dev/sdx
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/sdx. Check your device.map.
[root@archiso /]#
[root@archiso /]#
[root@archiso /]# grub-install --target=i386-pc /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
[root@archiso /]#
[root@archiso /]# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
[root@archiso /]#
[root@archiso /]#
[root@archiso /]# ls /boot/
amd-ucode.img grub initramfs-linux-fallback.img initramfs-linux.img intel-ucode.img vmlinuz-linux
[root@archiso /]#
注意:
如果为BIOS/MBR引导方式:
安装grub包:
pacman -S grub
部署grub:
grub-install --target=i386-pc /dev/sda
生成配置文件:
grub-mkconfig -o /boot/grub/grub.cfg
如果为EFI/GPT引导方式:
安装grub与efibootmgr两个包:
pacman -S grub efibootmgr
部署grub:
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
生成配置文件:
grub-mkconfig -o /boot/grub/grub.cfg
安装图形界面
[root@archiso /]# pacman -S gnome gnome-extra
:: There are 63 members in group gnome:
:: Repository extra
1) baobab 2) cheese 3) eog 4) epiphany 5) evince 6) file-roller 7) gdm 8) gedit 9) gnome-backgrounds 10) gnome-books
11) gnome-calculator 12) gnome-calendar 13) gnome-characters 14) gnome-clocks 15) gnome-color-manager 16) gnome-contacts
17) gnome-control-center 18) gnome-disk-utility 19) gnome-font-viewer 20) gnome-keyring 21) gnome-logs 22) gnome-maps
23) gnome-menus 24) gnome-music 25) gnome-photos 26) gnome-remote-desktop 27) gnome-screenshot 28) gnome-session
29) gnome-settings-daemon 30) gnome-shell 31) gnome-shell-extensions 32) gnome-software 33) gnome-system-monitor 34) gnome-terminal
35) gnome-themes-extra 36) gnome-user-docs 37) gnome-user-share 38) gnome-video-effects 39) gnome-weather 40) grilo-plugins 41) gvfs
42) gvfs-afc 43) gvfs-goa 44) gvfs-google 45) gvfs-gphoto2 46) gvfs-mtp 47) gvfs-nfs 48) gvfs-smb 49) mutter 50) nautilus
51) orca 52) rygel 53) sushi 54) totem 55) tracker 56) tracker-miners 57) tracker3 58) tracker3-miners 59) vino
60) xdg-user-dirs-gtk 61) yelp
:: Repository community
62) gnome-boxes 63) simple-scan
Enter a selection (default=all):
:: There are 39 members in group gnome-extra:
:: Repository extra
1) accerciser 2) dconf-editor 3) devhelp 4) evolution 5) five-or-more 6) four-in-a-row 7) ghex 8) glade 9) gnome-builder
10) gnome-chess 11) gnome-devel-docs 12) gnome-documents 13) gnome-klotski 14) gnome-mahjongg 15) gnome-mines 16) gnome-nettool
17) gnome-nibbles 18) gnome-robots 19) gnome-sound-recorder 20) gnome-sudoku 21) gnome-taquin 22) gnome-tetravex 23) gnome-todo
24) gnome-tweaks 25) gnome-usage 26) hitori 27) iagno 28) lightsoff 29) polari 30) quadrapassel 31) swell-foop 32) sysprof
33) tali
:: Repository community
34) geary 35) gnome-code-assistance 36) gnome-connections 37) gnome-games 38) gnome-multi-writer 39) gnome-recipes
Enter a selection (default=all):
resolving dependencies...
:: There are 2 providers available for emoji-font:
:: Repository extra
1) noto-fonts-emoji
:: Repository community
2) ttf-joypixels
Enter a number (default=1):
:: There are 8 providers available for ttf-font:
:: Repository extra
1) gnu-free-fonts 2) noto-fonts 3) ttf-bitstream-vera 4) ttf-croscore 5) ttf-dejavu
:: Repository community
6) ttf-droid 7) ttf-ibm-plex 8) ttf-liberation
Enter a number (default=1):
:: There are 3 providers available for xdg-desktop-portal-impl:
:: Repository extra
1) xdg-desktop-portal-gtk 2) xdg-desktop-portal-kde
:: Repository community
3) xdg-desktop-portal-wlr
Enter a number (default=1):
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
warning: dependency cycle detected:
warning: libglvnd will be installed before its mesa dependency
warning: dependency cycle detected:
warning: usbmuxd will be installed before its libimobiledevice dependency
warning: dependency cycle detected:
warning: cifs-utils will be installed before its smbclient dependency
warning: dependency cycle detected:
warning: rubygems will be installed before its ruby dependency
warning: dependency cycle detected:
warning: ruby-irb will be installed before its ruby dependency
warning: dependency cycle detected:
warning: ruby-reline will be installed before its ruby dependency
Packages (711) aalib-1.4rc5-14 accountsservice-0.6.55-3 adobe-source-code-pro-fonts-2.038ro+1.058it+1.018var-1 adwaita-icon-theme-40.1.1-1
alsa-card-profiles-1:0.3.36-1 alsa-lib-1.2.5.1-3 alsa-plugins-1:1.2.5-2 alsa-topology-conf-1.2.5.1-1
alsa-ucm-conf-1.2.5.1-1 amtk-5.3.1-1 aom-3.1.2-2 apache-2.4.48-1 appstream-0.14.5-2 appstream-glib-0.7.18-2 apr-1.7.0-3
apr-util-1.6.1-8 at-spi2-atk-2.38.0-1 at-spi2-core-2.40.3-1 atk-2.36.0-1 atkmm-2.28.2-2 autoconf-archive-1:2021.02.19-2
avahi-0.8+22+gfd482a7-1 babl-0.1.88-2 blas-3.10.0-1 bluez-5.61-1 bluez-libs-5.61-1 bolt-0.9.1-1 boost-libs-1.76.0-1
breezy-3.2.0-1 brltty-6.3-4 btrfs-progs-5.14-1 bubblewrap-0.5.0-1 cairo-1.17.4-5 cairomm-1.14.3-2
cantarell-fonts-1:0.301-1 cdparanoia-10.2-8 cdrtools-3.02a09-5 celt-0.11.3-4 chromaprint-1.5.0-3 cifs-utils-6.13-3
clutter-1.26.4-1 clutter-gst-3.0.27-3 clutter-gtk-1.8.4-2 cogl-1.22.8-1 colord-1.4.5-4 colord-gtk-0.2.0-2
colord-sane-1.4.5-4 cpio-2.13-2 cracklib-2.9.7-2 ctags-1:5.9.20210905.0-1 cups-pk-helper-0.2.6-4 dav1d-0.9.2-1
dbus-glib-0.112-2 dbus-python-1.2.18-1 dconf-0.40.0-1 desktop-file-utils-0.26-1 djvulibre-3.5.28-3
dleyna-connector-dbus-0.4.1-1 dleyna-core-0.7.0-2 dleyna-renderer-0.7.0+6+g5b26696-1 dleyna-server-0.7.0+7+gba10c13-1
dmraid-1.0.0.rc16.3-13 dnssec-anchors-20190629-3 docbook-xml-4.5-9 docbook-xsl-1.79.2-7 dosfstools-4.2-1 dotconf-1.3-6
dtc-1.6.1-1 edk2-ovmf-202108-1 enchant-2.3.1-1 evolution-data-server-3.40.4-1 exempi-2.5.2-1 exiv2-0.27.4-2 faac-1.30-2
faad2-2.10.0-1 ffmpeg-2:4.4-4 fftw-3.3.10-1 flac-1.3.3-3 flatpak-1.11.3-1 flatpak-builder-1.1.1-1 fluidsynth-2.2.3-1
folks-0.14-5 fontconfig-2:2.13.94-1 freerdp-2:2.4.0-1 freetype2-2.11.0-3 frei0r-plugins-1.7.0-1 fribidi-1.0.10-1
fuse-common-3.10.5-1 fuse2-2.9.9-4 fuse3-3.10.5-1 gavl-1.4.0-5 gcab-1.4-1 gcr-3.40.0-1 gd-2.3.3-1 gdk-pixbuf2-2.42.6-2
gegl-0.4.32-1 geoclue-2.5.7-4 geocode-glib-3.26.2-1 gfbgraph-0.2.4-1 ghostscript-9.54.0-3 giflib-5.2.1-2 git-2.33.0-1
gjs-2:1.68.3-1 glib-networking-1:2.68.2-1 glib2-docs-2.68.4-1 glibmm-2.66.1-2 gmime3-3.2.7-1 gnome-autoar-0.4.0-1
gnome-bluetooth-3.34.5-2 gnome-desktop-1:40.4-1 gnome-epub-thumbnailer-1.6-2 gnome-online-accounts-3.40.0-1
gnome-online-miners-3.34.0-2 gnu-free-fonts-20120503-8 gobject-introspection-runtime-1.68.0-1 gom-0.4-3 gptfdisk-1.0.8-1
graphene-1.10.6-1 graphite-1:1.3.14-1 graphviz-2.49.0-1 grilo-0.3.13-1 gsettings-desktop-schemas-40.0-3
gsfonts-20200910-2 gsm-1.0.19-1 gsound-1.0.3-1 gspell-1.8.4-1 gssdp-1.2.3-1 gst-editing-services-1.18.4-1
gst-plugin-gtk-1.18.5-1 gst-plugin-pipewire-1:0.3.36-1 gst-plugins-bad-1.18.5-1 gst-plugins-bad-libs-1.18.5-1
gst-plugins-base-1.18.5-1 gst-plugins-base-libs-1.18.5-1 gst-plugins-good-1.18.5-1 gstreamer-1.18.5-1 gtk-doc-1.33.2-1
gtk-update-icon-cache-1:4.4.0-1 gtk-vnc-1.2.0-1 gtk3-1:3.24.30-2 gtk4-1:4.4.0-1 gtkmm3-3.24.5-2 gtksourceview4-4.8.2-1
gts-0.7.6.121130-2 gupnp-1.2.7-1 gupnp-av-0.12.11+3+g2123c81-1 gupnp-dlna-0.10.5+4+gc947eed-2 gupnp-igd-1.2.0-1
harfbuzz-2.9.1-1 harfbuzz-icu-2.9.1-1 hicolor-icon-theme-0.17-2 hidapi-0.10.1-1 http-parser-2.9.4-1 hwloc-2.5.0-1
hyphen-2.8.8-3 ijs-0.35-3 imagemagick-7.1.0.8-1 imath-3.1.3-1 imlib2-1.7.3-1 ipython-7.27.0-1 iso-codes-4.7.0-1
jack2-1.9.19-2 jansson-2.13.1-1 jasper-2.0.33-1 jbig2dec-0.19-1 js78-78.14.0-1 json-glib-1.6.6-1 jsonrpc-glib-3.38.0-1
l-smash-2.14.5-2 lame-3.100-3 lapack-3.10.0-1 lcms2-2.12-1 ldb-2:2.3.0-1 ldns-1.7.1-2 lensfun-0.3.95-4
libadwaita-1.0.0alpha.2-1 libaio-0.3.112-2 libao-1.2.2-5 libass-0.15.1-1 libasyncns-0.8+3+g68cd5af-3 libatasmart-0.19-5
libavc1394-0.5.4-4 libavif-0.9.2-1 libavtp-0.1.0-2 libblockdev-2.25-2 libbluray-1.3.0-1 libbpf-0.5.0-1 libbs2b-3.1.0-7
libbsd-0.11.3-1 libbytesize-2.6-1 libcaca-0.99.beta19-5 libcacard-2.7.0-2 libcanberra-0.30+2+gc0620e4-5 libcddb-1.3.2-6
libcdio-2.1.0-2 libcdio-paranoia-10.2+2.0.1-2 libchamplain-0.12.20-2 libcloudproviders-0.3.1-2 libcolord-1.4.5-4
libcryptui-3.12.2+55+ged3b12af-1 libcue-2.2.1-2 libcups-1:2.3.3op2-3 libdaemon-0.14-5 libdatrie-0.2.13-1
libdazzle-3.42.0-1 libdc1394-2.2.6-2 libdca-0.0.7-1 libde265-1.0.8-1 libdmapsharing-2.9.39-3 libdrm-2.4.107-1
libdv-1.0.0-9 libdvdnav-6.1.1-1 libdvdread-6.1.2-1 libedit-20210714_3.1-1 libepoxy-1.5.9-1 libevdev-1.11.0-1
libevent-2.1.12-1 libexif-0.6.23-1 libfdk-aac-2.0.2-1 libfontenc-1.1.4-3 libfreeaptx-0.1.1-1 libgdata-0.18.1-1
libgdm-40.1-2 libgee-0.20.4-1 libgepub-0.6.0-2 libgexiv2-0.12.3-1 libgit2-1:1.1.1-1 libgit2-glib-0.99.0.1-5
libglvnd-1.3.3-1 libgme-0.6.3-1 libgnome-games-support-1.8.1-1 libgnomekbd-3.26.1+2+g8d02ebd-2 libgphoto2-2.5.27-1
libgrss-0.7.0+16+g971c421-3 libgsf-1.14.47-1 libgssglue-0.4-4 libgtop-2.40.0+2+g31db82ef-2 libgudev-237-1 libgusb-0.3.7-1
libgweather-40.0-1 libgxps-0.3.2-1 libhandy-1.4.0-1 libheif-1.12.0-1 libibus-1.5.25-3 libical-3.0.10-1 libice-1.0.10-3
libid3tag-0.15.1b-11 libidn-1.38-1 libiec61883-1.2.0-6 libieee1284-0.2.11-11 libimobiledevice-1.3.0-3 libinih-53-1
libinput-1.19.0-1 libinstpatch-1.1.6-1 libiptcdata-1.0.4-5 libjpeg-turbo-2.1.1-1 libkate-0.4.1-7 libldac-2.0.2.3-1
liblouis-3.19.0-1 liblqr-0.4.2-3 liblrdf-0.6.1-4 libmanette-0.2.6-2 libmd-1.0.3-1 libmediaart-1.9.5-1 libmfx-21.3.2-1
libmicrodns-0.2.0-1 libmm-glib-1.18.2-1 libmms-0.6.4-3 libmodplug-0.8.9.0-3 libmpcdec-1:0.1+r475-3 libmtp-1.1.18-1
libmusicbrainz5-5.1.0-4 libnautilus-extension-40.2-1 libnfs-4.0.0-4 libnice-0.1.18-2 libnm-1.32.10-1 libnma-1.8.32-1
libnotify-0.7.9-1 libnsl-2.0.0-1 liboauth-1.0.3+14+g186fb14-2 libofa-0.9.3-9 libogg-1.3.5-1 libomxil-bellagio-0.9.3-3
libosinfo-1.9.0-1 libpackagekit-glib-1.2.4-1 libpaper-1.1.28-1 libpciaccess-0.16-2 libpeas-1.30.0-1
libphonenumber-8.12.29-1 libplist-2.2.0-3 libpng-1.6.37-3 libportal-0.4-1 libproxy-0.4.17-2 libpst-0.6.76-2
libpulse-15.0-1 libpwquality-1.4.4-3 libraqm-0.7.1-1 libraw-0.20.2-1 libraw1394-2.1.2-3 librsvg-2:2.52.0-1
libsamplerate-0.2.2-1 libshout-1:2.4.5-1 libsigc++-2.10.7-2 libslirp-4.6.1-1 libsm-1.2.3-2 libsndfile-1.0.31-1
libsodium-1.0.18-2 libsoup-2.74.0-1 libsoxr-0.1.3-2 libspectre-0.2.9-2 libspeechd-0.10.2-1 libspiro-1:20200505-2
libsrtp-1:2.4.0-1 libssh-0.9.6-1 libstemmer-2.1.0-1 libsynctex-2021.58686-3 libthai-0.1.28-2 libtheora-1.1.1-5
libtiff-4.3.0-1 libunwind-1.5.0-1 liburing-2.1-1 libusb-1.0.24-2 libusbmuxd-2.0.2-1 libva-2.12.0-1 libvdpau-1.4-1
libvirt-1:7.7.0-1 libvirt-glib-4.0.0-1 libvisual-0.4.0-8 libvncserver-0.9.13-1 libvorbis-1.3.7-2 libvpx-1.10.0-1
libwacom-1.12-1 libwebp-1.2.1-2 libwnck3-40.0-1 libwpe-1.10.1-1 libx11-1.7.2-1 libxau-1.0.9-3 libxaw-1.0.14-1
libxcb-1.14-1 libxcomposite-0.4.5-3 libxcursor-1.2.0-2 libxdamage-1.1.5-3 libxdmcp-1.1.3-3 libxext-1.3.4-3
libxfixes-6.0.0-1 libxfont2-2.0.5-1 libxft-2.3.4-1 libxi-1.8-1 libxinerama-1.1.4-3 libxkbcommon-1.3.1-1
libxkbcommon-x11-1.3.1-1 libxkbfile-1.1.0-2 libxklavier-5.4-3 libxmlb-0.3.2-1 libxmu-1.1.3-2 libxpm-3.5.13-2
libxrandr-1.5.2-3 libxrender-0.9.10-4 libxres-1.2.1-1 libxshmfence-1.3-2 libxslt-1.1.34-6 libxt-1.2.1-1 libxtst-1.2.3-4
libxv-1.0.11-4 libxxf86vm-1.1.4-4 libyaml-0.2.5-1 libytnef-1:1.9.3-1 libyuv-r2212+dfaf7534-2
libzapojit-0.0.3+14+g2dace3f-2 lilv-0.24.12-1 llvm-libs-12.0.1-4 lm_sensors-1:3.6.0.r41.g31d1f125-1 lmdb-0.9.29-1
lua-5.4.3-1 luajit-2.0.5-3 lvm2-2.03.13-1 lzo-2.10-3 mdadm-4.1-2 mesa-21.2.1-1 meson-0.59.1-1 metis-5.1.0.p10-2
mjpegtools-2.2.1-1 mobile-broadband-provider-info-20210805-1 mod_dnssd-0.6-8 mpg123-1.29.0-1 mtdev-1.1.6-1
mtools-1:4.0.35-1 ndctl-71.1-1 neon-0.31.2-1 net-snmp-5.9.1-1 netpbm-10.73.36-1 ninja-1.10.2-1
nm-connection-editor-1.24.0-1 noto-fonts-emoji-20210625-1 nspr-4.32-1 nss-3.70-1 numactl-2.0.14-1 openal-1.21.1-1
opencore-amr-0.1.5-5 openexr-3.1.1-1 openjpeg2-2.4.0-1 openmpi-4.1.1-2 openssh-8.7p1-2 opus-1.3.1-2 orc-0.4.32-1
osinfo-db-20210903-1 ostree-2021.4-1 pango-1:1.48.10-1 pangomm-2.46.1-2 parted-3.4-2 pcsclite-1.9.3-1
perl-error-0.17029-3 perl-mailtools-2.21-5 perl-timedate-2.33-3 phodav-2.5-1 pipewire-1:0.3.36-1
pipewire-media-session-1:0.3.36-1 pixman-0.40.0-1 polkit-0.119-1 poppler-21.09.0-1 poppler-glib-21.09.0-1
portaudio-1:19.7.0-1 protobuf-3.17.3-1 pulseaudio-15.0-1 pulseaudio-alsa-1:1.2.5-2 pulseaudio-bluetooth-15.0-1
python-3.9.7-1 python-anytree-2.8.0-3 python-appdirs-1.4.4-3 python-astroid-2.8.0-1 python-atspi-2.38.1-1
python-babel-2.9.1-1 python-backcall-0.2.0-4 python-cairo-1.20.1-1 python-chardet-4.0.0-2
python-configobj-5.0.6.r110.g3e2f4cc-1 python-decorator-5.1.0-1 python-dnspython-1:2.1.0-1 python-docutils-0.17.1-1
python-gobject-3.40.1-1 python-idna-3.2-1 python-imagesize-1.2.0-4 python-isort-5.9.3-1 python-jedi-0.18.0-2
python-jinja-3.0.1-1 python-lazy-object-proxy-1.6.0-1 python-lxml-4.6.3-1 python-markdown-3.3.4-1
python-markupsafe-2.0.1-1 python-matplotlib-inline-0.1.2-1 python-mccabe-0.6.1-9 python-more-itertools-8.9.0-1
python-ordered-set-4.0.2-3 python-packaging-20.9-2 python-parso-1:0.8.2-1 python-patiencediff-0.2.2-1
python-pexpect-4.8.0-3 python-pickleshare-0.7.5-6 python-platformdirs-2.0.2-1 python-prompt_toolkit-3.0.20-1
python-ptyprocess-0.7.0-1 python-pycodestyle-2.7.0-2 python-pyflakes-2.3.1-2 python-pygments-2.10.0-1
python-pylint-2.11.0-1 python-pyparsing-2.4.7-3 python-pytz-2021.1-1 python-pyxdg-0.27-1 python-requests-2.26.0-1
python-setuptools-1:57.4.0-2 python-simplejson-3.17.5-1 python-six-1.16.0-1 python-snowballstemmer-2.1.0-1
python-sphinx-4.2.0-1 python-sphinx-alabaster-theme-0.7.12-6 python-sphinxcontrib-applehelp-1.0.2-6
python-sphinxcontrib-devhelp-1.0.2-6 python-sphinxcontrib-htmlhelp-2.0.0-1 python-sphinxcontrib-jsmath-1.0.1-9
python-sphinxcontrib-qthelp-1.0.3-6 python-sphinxcontrib-serializinghtml-1.1.5-1 python-toml-0.10.2-3
python-traitlets-5.0.5-2 python-typing_extensions-3.10.0.2-1 python-urllib3-1.26.6-1 python-wcwidth-0.2.5-3
python-wrapt-1.12.1-4 python-xlib-0.31-1 qemu-6.1.0-1 qqwing-1.3.4-5 raptor-2.0.15-16 rav1e-0.4.1-1 rest-0.8.1-3
retro-gtk-1.0.2-1 rpmextract-1.0-9 rtkit-0.13-1 rtmpdump-1:2.4.r96.fa8646d-6 ruby-3.0.2-1 ruby-dbus-0.15.0-4
ruby-ffi-1.15.4-1 ruby-irb-1.3.6-1 ruby-maruku-0.7.3-6 ruby-rb-fsevent-0.11.0-1 ruby-rb-inotify-0.10.1-1
ruby-rdoc-6.3.1-1 ruby-reline-0.2.5-1 ruby-sass-3.7.4-3 ruby-sass-listen-4.0.0-9 ruby-yard-0.9.26-2 rubygems-3.2.21-1
run-parts-5.4-1 sane-1.0.32-3 sbc-1.5-2 sdl2-2.0.16-2 seabios-1.14.0-1 serd-0.30.10-1 shared-color-targets-0.1.7-3
shared-mime-info-2.0+57+gc1d1c70-1 smbclient-4.14.7-2 snappy-1.1.9-2 sord-0.16.8-1 sound-theme-freedesktop-0.8-4
soundtouch-2.3.0-1 spandsp-0.0.6-3 speech-dispatcher-0.10.2-1 speex-1.2.0-3 speexdsp-1.2.0-2 spice-0.15.0-1
spice-gtk-0.39-3 sratom-0.6.8-1 srt-1.4.3-1 startup-notification-0.12-7 suitesparse-5.10.1-1 svt-av1-0.8.7-1
svt-hevc-1.5.1-1 sysfsutils-2.1.1-1 t1lib-5.1.2-8 taglib-1.12-1 talloc-2.3.3-1 tbb-2020.3-1 tcl-8.6.11-1 tdb-1.4.5-1
telepathy-glib-0.24.2-2 telepathy-idle-0.2.2-1 telepathy-logger-0.8.2-5 telepathy-mission-control-5.16.6-1
template-glib-3.34.0+4+g5196521-1 tepl-6.00.0-2 tevent-1:0.11.0-1 thin-provisioning-tools-0.9.0-1 totem-pl-parser-3.26.6-1
twolame-0.4.0-2 uchardet-0.0.7-1 udisks2-2.9.3-1 unzip-6.0-14 upower-0.99.13-1 usbmuxd-1.1.1-1 usbredir-0.11.0-1
v4l-utils-1.20.0-1 vala-0.52.5-1 vde2-2.3.2-16 vid.stab-1.1-3 virglrenderer-0.9.1-1 vmaf-1.5.3-1 volume_key-0.3.12-5
vte-common-0.64.2-2 vte3-0.64.2-2 vulkan-icd-loader-1.2.190-1 wavpack-5.4.0-1 wayland-1.19.0-1 wayland-protocols-1.23-1
webkit2gtk-2.32.4-1 webrtc-audio-processing-0.3.1-3 whois-5.5.10-1 wildmidi-0.4.4-1 woff2-1.0.2-3 wpebackend-fdo-1.10.0-1
x264-3:0.161.r3039.544c61f-1 x265-3.5-1 xcb-proto-1.14.1-3 xcb-util-0.4.0-3 xdg-dbus-proxy-0.1.2-3
xdg-desktop-portal-1.8.1-1 xdg-desktop-portal-gtk-1.8.0-1 xdg-user-dirs-0.17-3 xf86-input-libinput-1.1.0-1
xfsprogs-5.13.0-1 xkeyboard-config-2.33-2 xorg-fonts-encodings-1.0.5-2 xorg-server-1.20.13-2 xorg-server-common-1.20.13-2
xorg-setxkbmap-1.3.2-2 xorg-xhost-1.0.8-2 xorg-xkbcomp-1.4.5-1 xorg-xmodmap-1.0.10-2 xorg-xrdb-1.2.1-1
xorg-xwayland-21.1.2-1 xorgproto-2021.5-1 xvidcore-1.3.7-2 yajl-2.1.0-4 yelp-xsl-40.2-1 zbar-0.23.1-7
zenity-3.32.0+55+gd7bedff-1 zimg-3.0.3-1 zip-3.0-9 zita-alsa-pcmi-0.3.2-3 zita-resampler-1.8.0-1 zvbi-0.2.35-4
zxing-cpp-1.2.0-1 accerciser-3.38.0-2 baobab-40.0-1 cheese-3.38.0-1 dconf-editor-3.38.3-1 devhelp-40.1-1 eog-40.3-1
epiphany-40.3-1 evince-40.4-1 evolution-3.40.4-1 file-roller-3.40.0-1 five-or-more-3.32.2-1 four-in-a-row-3.38.1-1
gdm-40.1-2 geary-1:40.0-3 gedit-40.1-1 ghex-3.18.4-2 glade-3.38.2-1 gnome-backgrounds-40.1-1 gnome-books-40.0-1
gnome-boxes-40.3-1 gnome-builder-3.40.2+6+ge39caba62-1 gnome-calculator-40.1-1 gnome-calendar-40.2-1
gnome-characters-40.0-1 gnome-chess-40.1-1 gnome-clocks-40.0-2 gnome-code-assistance-2:3.16.1+14+gaad6437-1
gnome-color-manager-3.36.0-1 gnome-connections-40.0.1-3 gnome-contacts-40.0-1 gnome-control-center-40.0-1
gnome-devel-docs-40.3-1 gnome-disk-utility-40.2-1 gnome-documents-3.34.0+34+g678141fa-1 gnome-font-viewer-40.0-1
gnome-games-40.0-2 gnome-keyring-1:40.0-1 gnome-klotski-3.38.2-1 gnome-logs-3.36.0-1 gnome-mahjongg-3.38.3-1
gnome-maps-40.4-1 gnome-menus-3.36.0-1 gnome-mines-40.0-1 gnome-multi-writer-3.32.1-2 gnome-music-1:40.1.1-1
gnome-nettool-3.8.1+205+g8550eef-3 gnome-nibbles-3.38.2-1 gnome-photos-40.0-1 gnome-recipes-2.0.4-2
gnome-remote-desktop-40.1-1 gnome-robots-40.0-1 gnome-screenshot-40.0-2 gnome-session-40.1.1-1
gnome-settings-daemon-40.0.1-2 gnome-shell-1:40.4-1 gnome-shell-extensions-40.4-1 gnome-software-40.4-1
gnome-sound-recorder-40.0-1 gnome-sudoku-40.2-1 gnome-system-monitor-40.1-1 gnome-taquin-3.38.1-1 gnome-terminal-3.40.3-1
gnome-tetravex-3.38.2-1 gnome-themes-extra-3.28-2 gnome-todo-40.1-1 gnome-tweaks-40.0-1 gnome-usage-3.38.1-1
gnome-user-docs-40.4-1 gnome-user-share-3.34.0-2 gnome-video-effects-0.5.0+4+g9554041-2 gnome-weather-40.1-1
grilo-plugins-1:0.3.13-2 gvfs-1.48.1-1 gvfs-afc-1.48.1-1 gvfs-goa-1.48.1-1 gvfs-google-1.48.1-1 gvfs-gphoto2-1.48.1-1
gvfs-mtp-1.48.1-1 gvfs-nfs-1.48.1-1 gvfs-smb-1.48.1-1 hitori-3.38.2-1 iagno-3.38.1-1 lightsoff-40.0.1-1 mutter-40.4-1
nautilus-40.2-1 orca-40.0-1 polari-40.1-1 quadrapassel-40.2-1 rygel-1:0.40.1-1 simple-scan-40.1-1 sushi-3.38.1-1
swell-foop-40.1-1 sysprof-3.40.1-2 tali-40.2-1 totem-3.38.1-1 tracker-2.3.6+7+gb27396252-2
tracker-miners-2.3.5+2+gec09554af-2 tracker3-3.1.2-1 tracker3-miners-3.1.2-2 vino-3.22.0+74+g7a95e10-1
xdg-user-dirs-gtk-0.10+9+g5b7efc6-3 yelp-40.3-1
Total Download Size: 637.38 MiB
Total Installed Size: 2849.80 MiB
:: Proceed with installation? [Y/n]
-----略
设置开机自启
[root@archiso /]# systemctl enable gdm
安装ssh远程服务
[root@archiso /]# pacman -S openssh
warning: openssh-8.7p1-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) openssh-8.7p1-2
Total Installed Size: 5.90 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#################################################] 100%
(1/1) checking package integrity [#################################################] 100%
(1/1) loading package files [#################################################] 100%
(1/1) checking for file conflicts [#################################################] 100%
(1/1) checking available disk space [#################################################] 100%
:: Processing package changes...
(1/1) reinstalling openssh [#################################################] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
Skipped: Running in chroot.
(2/3) Creating temporary files...
(3/3) Arming ConditionNeedsUpdate...
[root@archiso /]# systemctl enable sshd
Created symlink /etc/systemd/system/multi-user.target.wants/sshd.service → /usr/lib/systemd/system/sshd.service.
[root@archiso /]#
创建用户并设置密码
[root@archiso /]# useradd -m cby
[root@archiso /]# passwd cby
New password:
Retype new password:
passwd: password updated successfully
[root@archiso /]#
[root@archiso /]#
[root@archiso /]# passwd root
New password:
Retype new password:
passwd: password updated successfully
安装网络管理工具
[root@archiso /]# pacman -S networkmanager
[root@archiso /]# systemctl enable NetworkManager