树莓派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.

你可能感兴趣的:(树莓派linux系统启动信息屏蔽)