opensuse开机遇到错误信息:Failed to start setup virtual console

一、问题

最近自动更新后,开机出现这个错误:Failed to start setup virtual console

按照错误提示,运行:systemctl status systemd-vconsole-setup.service
结果如下:

● systemd-vconsole-setup.service - Setup Virtual Console
Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static; vendor preset: disabled)
Active: inactive (dead) since Tue 2018-08-28 11:43:06 CST; 1h 44min ago
Docs: man:systemd-vconsole-setup.service(8)
man:vconsole.conf(5)
Main PID: 724 (code=exited, status=0/SUCCESS)

二、解决方法

搬运英文论坛的方法

  • 修改键盘布局
    在YaST里面 系统–>系统键盘布局–>英语(美国)–>确定
cat /etc/vconsole.conf 
KEYMAP=us
FONT=eurlatgr.psfu
FONT_MAP=none
FONT_UNIMAP=

  • 修改plymouth-start.service 去掉虚拟控制
 cat -n /usr/lib/systemd/system/plymouth-start.service
     1  [Unit]
     2  Description=Show Plymouth Boot Screen
     3  DefaultDependencies=no
     4  # Wants=systemd-ask-password-plymouth.path systemd-vconsole-setup.service
     5  Wants=systemd-ask-password-plymouth.path
     6  After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service
     7  Before=systemd-ask-password-plymouth.service
     8  ConditionKernelCommandLine=!plymouth.enable=0
     9
    10  [Service]
    11  ExecStart=/usr/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
    12  ExecStartPost=-/usr/bin/plymouth show-splash
    13  Type=forking
    14  KillMode=none
    15  SendSIGKILL=no

  • 重建引导
mkinitrd

reboot

英文论坛#7方法

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值