![啟動錯誤訊息:[FAILED] 和](https://rvso.com/image/191591/%E5%95%9F%E5%8B%95%E9%8C%AF%E8%AA%A4%E8%A8%8A%E6%81%AF%EF%BC%9A%5BFAILED%5D%20%E5%92%8C%20.png)
我在啟動系統期間出現幾毫秒錯誤。錯誤訊息:
[FAILED]: Failed to start Setup Virtual Console.
[DEPEND]: Dependency failed for dracut ask for additional cmdline parameters.
當我登入系統時,驗證此服務 systemd-vconsole-setup 並正常工作:
systemd-vconsole-setup.service - Setup Virtual Console
Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static)
Active: active (exited) since Sun 2021-05-23 13:55:58 -03; 56min ago
Docs: man:systemd-vconsole-setup.service(8)
man:vconsole.conf(5)
Process: 538 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=0/SUCCESS)
Main PID: 538 (code=exited, status=0/SUCCESS)
CPU: 62ms
我搜尋啟動日誌,發現:
may 23 16:06:03 fedora systemd-vconsole-setup[248]: loadkeys: Unable to open file: la-latin1: No such file or directory
may 23 16:06:05 fedora systemd[1]: Starting Setup Virtual Console...
may 23 16:06:05 fedora systemd-vconsole-setup[490]: loadkeys: Unable to open file: la-latin1: No such file or directory
may 23 16:06:05 fedora systemd-vconsole-setup[487]: /usr/bin/loadkeys failed with exit status 1.
may 23 16:06:05 fedora systemd-vconsole-setup[487]: KD_FONT_OP_GET failed while trying to get the font metadata: Invalid argument
may 23 16:06:05 fedora systemd-vconsole-setup[487]: Fonts will not be copied to remaining consoles
may 23 16:06:05 fedora systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE
may 23 16:06:05 fedora systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
may 23 16:06:05 fedora systemd[1]: Failed to start Setup Virtual Console.
may 23 19:06:06 fedora systemd[1]: Finished Setup Virtual Console.
這行:
Unable to open file: la-latin1: No such file or directory
我不明白為什麼會出現,我的配置localectl
是:
System Locale: LANG=es_ES.UTF-8
VC Keymap: es
X11 Layout: latam,us
X11 Variant: ,colemak_dh
我正在更改la-latin
為es
,因為服務systemd-vconsole-setup
失敗。
我不知道在啟動過程中會出現幾秒鐘: Failed to start Setup Virtual Console.
有人可以幫我嗎?
多謝!
答案1
只是我更新了軟體包,這些錯誤不再出現,並且核心已更新:
Linux rodrigo-linux 5.11.21-300.fc34.x86_64 #1 SMP Fri May 14 17:43:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
到:
Linux linux 5.12.9-300.fc34.x86_64 #1 SMP Thu Jun 3 13:51:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux