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

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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值