#ArchLinux 昨天晚上滚动更新了一次,今天早上重启电脑发现挂了......这是第一次滚挂,有点兴奋(#滑稽) 输出如下: 提示进入了 emergency shell ,但是键盘无法输入, google 了一下,找到了解决方法: 进入 livecd 挂载相应分区: chroot: 更新系统: 退出 chroot: 更新 grub 配置: 取消挂载并重启(记得在BIOS里把启动顺序改回来): Warning:/lib/modules/4.20.3-arch1-1-ARCH/modules.devname not found - ignoring
starting version 240
ERROR: device UUID=xxxxxxx not found.Skipping fsck.
mount: /new_root: Can't find UUID=xxxxxxx.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
mount /dev/sha* /mnt
mount /dev/sha* /mnt/boot
arch-chroot /mnt
pacman -Syu
exit
grub-mkconfig -o /mnt/boot/grub/grub.cfg
umount /mnt/boot
umount /mnt
reboot