欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

处理 Archlinux 报错

程序员文章站 2022-04-10 15:49:45
failed to kernel tpm_crb, uvcvideo 等错误 pci 报错 failled unmount /oldroot 屏蔽错误的启动项 https://lixi.fun/2018/10/10/handling-archlinux-error/ ......

failed to kernel

1
sudo pacman -s linux-headers

tpm_crb, uvcvideo 等错误

sudo vim /etc/modprobe.d/blacklist.conf
blacklist tpm_crb
# 摄像头
blacklist uvcvideo
# 无效模块
blacklist aic94xx
blacklist wd719x
# 看门狗
blacklist itco_wdt

pci 报错

1
2
3
sudo vim /etc/default/grub
grub_cmdline_linux_default="quiet pcie_aspm=off"
sudo grub-mkconfig -o /boot/grub/grub.cfg

failled unmount /oldroot

1
2
sudo vim /etc/mkinitcpio.conf
hooks 中添加 shutdown

屏蔽错误的启动项

1
2
3
4
5
# 找到出错的启动项
systemctl --all | grep not-found

# 屏蔽启动项
systemctl mask plymouth-start.service