QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2830|回复: 3

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

[复制链接]
发表于 2012-11-4 11:13:24 | 显示全部楼层 |阅读模式
各位兄台,我今天将 台式机的 arch 切换到 pure systemd ,删除了原来的 sysv 和 initiscripts
但是开机的时候并没有正常的 systemd 对 磁盘分区自检,相关服务的 check 是 OK 还是 Fail 的进度

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

谢谢!

[ 本帖最后由 if_else 于 2012-11-4 11:34 编辑 ]
 楼主| 发表于 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 还是不行
回复

使用道具 举报

发表于 2012-11-4 12:47:53 | 显示全部楼层
想看启动信息,可以用journalctl命令来查看,严重的错误会标红的,我就是用这个查看哪些模块启动加载失败的。
回复

使用道具 举报

 楼主| 发表于 2012-11-4 17:53:53 | 显示全部楼层
是 grub2 的配置文件中添加了 quiet 的内核参数的问题
记得 quiet 只是屏蔽掉内核加载那部分,不会把  init 步骤的也干掉的
去掉 quiet 后,systemd 的 welcome to Archlinux 和 各种 [ OK ] 回归了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-3-29 03:07 , Processed in 0.129796 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表