您的位置:首页 > 运维架构 > Linux

树莓派linux系统启动信息屏蔽

2015-01-25 23:00 651 查看
inux系统启动过程中的启动信息对于用户来讲没有什么意义。
屏蔽掉这些无用信息非常简单,只要按照下面的内容操作即可。

sudo nano /boot/cmdline.txt

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait logo.nologo loglevel=3


Note:

logo.nologo 作用: 去掉raspberry Logo

- Replace "console=tty1" by"console=tty3" to redirect boot messages to the third console. -Add "loglevel=3" to disable non-critical kernel logmessages

After changing, to get to the consolesimply press Alt + F3 during or after boot. However, if text cursorneeds to be hidden also then add “vt.global_cursor_default=0″ tothe /boot/cmdline.txt file. In my case, I prefer to have
textcursor as an indicator that it is actually booting.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: