默认的cmdline.txt是什么?


12

启动时,我的Raspbian Pi崩溃到内核崩溃,它表明某个地方无效的cmdline.txt可能导致此问题。默认情况下,cmdline.txt中有什么?

Answers:


15

我的(未更改的)PI2B的/boot/cmdline.txt为

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

只能有一条未注释的行。它与/boot/config.txt不同,在多行中都有条目。以#开头的行会被忽略,因此,如果您要更改行,建议您在开始时保留#。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.