Mad*_*uja 11 linux boot ubuntu init-script
近 5 年后我一直在使用 Linux,并观察到引导过程几乎被抽象化了。我的意思是,用户看不到幕后发生的事情(由于启动画面等)。现在,这可能对最终用户有好处,但对极客来说却不是 :)
我想带回旧时代的冗长。这是我所做的:
通过从命令行中删除“splash”和“quiet”参数,我已经能够摆脱其中的一些。但是,我仍然看不到正在启动的服务(如init.d 中的服务)。
我认为这是因为 init 守护进程被新贵取代了。是否有一些配置文件我可以调整以恢复正在发生的事情的详细程度。
此外,一旦登录屏幕出现,它就会清除引导日志历史记录。有没有办法禁用它?
注意:我知道我可以通过简单地将发行版切换到 Arch 或 Slackware 来做到这一点。但我不想那样做。
plymouth处理 Ubuntu 的启动画面。
/usr/share/doc/plymouth/README.Debian解释如何删除它:
There are two methods to disable the splash screen. Both have the
same effect. Your boot will show such messages as are emitted by
the starting services, and will still be able to prompt if needs be.
1) Remove all of the plymouth-theme-* packages from your system,
including the text ones. Plymouth will remain installed to
permit boot-time prompts.
2) Remove "splash" from the kernel command-line. You can do this
per-boot, or make it permanent by changing the
GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub
Run Code Online (Sandbox Code Playgroud)
请注意,您必须update-grub在第二种方法之后运行。
plymouth也负责/var/log/boot.log。
更多引导消息可通过dmesg.
| 归档时间: |
|
| 查看次数: |
694 次 |
| 最近记录: |