if_else 发表于 2012-11-4 11:13:24

archlinux 切换到 pure systemd 后,开机没有 systemd 引导进度提示

各位兄台,我今天将 台式机的 arch 切换到 pure systemd ,删除了原来的 sysv 和 initiscripts
但是开机的时候并没有正常的 systemd 对 磁盘分区自检,相关服务的 check 是 OK 还是 Fail 的进度

进入系统后,systemdctl list-units 现实切换之前 enable 的 daemon 都起来了
可不知道为何没有在开机阶段显示 systemd 的引导的过程?

谢谢!

[ 本帖最后由 if_else 于 2012-11-4 11:34 编辑 ]

if_else 发表于 2012-11-4 11:23:52

这是 arch wiki 对 pure systemd 安装:
Pure systemd installation

Finally, it is possible to remove initscripts and sysvinit entirely and use only systemd.

    Follow the instructions for a mixed systemd/initscripts installation.
    Make sure there are no longer any daemons being started by the DAEMONS array
    in /etc/rc.conf and that /etc/rc.local and /etc/rc.local.shutdown are both empty.
    To replicate the behavior of /etc/rc.local in systemd, see #Emulating /etc/rc.local.
    Remove initscripts from your system.

Warning: Do not remove systemd-sysvcompat, as that package is in the base group.

安装:systemd-sysvcompat
卸载:initscripts 和 sysvinit

卸载 initscripts 之后 /etc/rc.conf /etc/rc.local /etc/local.shutdown 都没了

我在 grub 引导的时添加 kernel 引导参数:init=/usr/lib/systemd/systemd 还是不行

32idea 发表于 2012-11-4 12:47:53

想看启动信息,可以用journalctl命令来查看,严重的错误会标红的,我就是用这个查看哪些模块启动加载失败的。

if_else 发表于 2012-11-4 17:53:53

是 grub2 的配置文件中添加了 quiet 的内核参数的问题
记得 quiet 只是屏蔽掉内核加载那部分,不会把init 步骤的也干掉的
去掉 quiet 后,systemd 的 welcome to Archlinux 和 各种 [ OK ] 回归了。
页: [1]
查看完整版本: archlinux 切换到 pure systemd 后,开机没有 systemd 引导进度提示