centos7更换内核后出现 pstore: unknown compression: deflate 问题解决
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
正如报错, 问题是pstore导致。
我的问题是出现在centos7 更换5.x的内核之后。如果有小伙伴和我是同样的环境,并且仔细观察过,会发现3.10的内核在启动时也会有这个提示,不过会快速的跳过去,不会影响进入终端。
解决
vim /etc/default/grub
在 GRUB_CMDLINE_LINUX 最后添加 mgag200.modeset=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto spectre_v2=retpoline rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet mgag200.modeset=0"
GRUB_DISABLE_RECOVERY="true"
然后重新生成grub
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
如果当前内核并不是目标内核,可以执行set操作,设置默认内核
grub2-set-default 'CentOS Linux (5.4.15-1.el7.elrepo.x86_64) 7 (Core)'
然后reboot机器, 可以发现问题解决




A beautiful web dashboard for Linux
最近提交(Master分支:18 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)