Егор Козельский Asked:2020-06-01 21:13:25 +0000 UTC2020-06-01 21:13:25 +0000 UTC 2020-06-01 21:13:25 +0000 UTC 如何从 LiveUSB 更新 Arch Linux? 772 Arch Linux 为我崩溃了。如果我现在从 LiveUSB 启动,你能告诉我如何更新系统吗? 本质上,我需要pacman在本地操作系统上运行命令。 archlinux 2 个回答 Voted Best Answer eanmos 2020-06-01T21:19:51Z2020-06-01T21:19:51Z 首先,挂载故障操作系统的根分区: mount <root-partition> <mount-point> 然后做 arch-chroot <mount-point> 最后,要完全更新“飞行”系统,运行 pacman -Syu Егор Козельский 2020-06-01T21:48:06Z2020-06-01T21:48:06Z https://wiki.archlinux.org/index.php/Chroot#Mount_the_partitions # cd /mnt # mount -t proc /proc proc/ # mount --rbind /sys sys/ # mount --rbind /dev dev/ # cp /etc/resolv.conf etc/resolv.conf # chroot /mnt /bin/bash # pacman -Syu 这些命令帮助
首先,挂载故障操作系统的根分区:
然后做
最后,要完全更新“飞行”系统,运行
https://wiki.archlinux.org/index.php/Chroot#Mount_the_partitions
这些命令帮助