This shows you the differences between two versions of the page.
cmdline [2017/12/25 20:46] Nachteule |
cmdline [2019/02/18 18:47] (current) Nachteule Adding modules-load parameter description |
||
---|---|---|---|
Line 19: | Line 19: | ||
* ''telnet'' will start a telnet session at boot time. This can be handy to fix your system before SSH has started. Telnet will be stopped when SSH has been started. | * ''telnet'' will start a telnet session at boot time. This can be handy to fix your system before SSH has started. Telnet will be stopped when SSH has been started. | ||
* ''vnc'' will start VNC server at boot time if VNC stuff has been included in initramfs. For more information please read /etc/default/xbian-initramfs | * ''vnc'' will start VNC server at boot time if VNC stuff has been included in initramfs. For more information please read /etc/default/xbian-initramfs | ||
+ | * ''modules-load=module1=param=value,module2...'' this parameter allows loading kernel modules without the need of adding them to /etc/modules file or adding a conf file into one of the supported modules-load.d/ folders. Format is as follows (modules are separated by comma, params by colon): ''modules-load=moduleA[=paramA1=valueA1[:parmA2=valueA2][:...]]][,moduleB[=paramB1=valueB1]'', for example ''modules-load=bridge,em28xx=disable_ir=1:i2c_scan=100:core_debug=1:reg_debug=0'' | ||
A ad-hoc rescue mode exists since version Beta 1. This add the possibility to trigger a ''rescue''-like shell by holding down the shift key during boot with an USB attached keyboard. This is possible even with ''splash'' as default parameter in cmdline.txt. The shell console is restored during this rescue mode. However, ''mod_scsi.scan=sync'' is recommended as opposite to the default ''mod_scsi.scan=async'', because the initramfs phase finish faster then USB devices appear to the system. | A ad-hoc rescue mode exists since version Beta 1. This add the possibility to trigger a ''rescue''-like shell by holding down the shift key during boot with an USB attached keyboard. This is possible even with ''splash'' as default parameter in cmdline.txt. The shell console is restored during this rescue mode. However, ''mod_scsi.scan=sync'' is recommended as opposite to the default ''mod_scsi.scan=async'', because the initramfs phase finish faster then USB devices appear to the system. | ||
You can use ''init=/bin/bash'' instead of running ''init=/sbin/init''. The default ''init'' is used to start loading services and mount filesystems. When you use ''init=/bin/bash'', bash will get the first pid, the rootfs will be at ''/'', and the ''/proc'', ''/run'', ''/sys'', ''/dev'' will be mounted and populated. All console applications should start normally. However, typing ''exit'' to continue booting no longer works, but if you want to continue with the normal boot process, you can type ''exec /sbin/init''. | You can use ''init=/bin/bash'' instead of running ''init=/sbin/init''. The default ''init'' is used to start loading services and mount filesystems. When you use ''init=/bin/bash'', bash will get the first pid, the rootfs will be at ''/'', and the ''/proc'', ''/run'', ''/sys'', ''/dev'' will be mounted and populated. All console applications should start normally. However, typing ''exit'' to continue booting no longer works, but if you want to continue with the normal boot process, you can type ''exec /sbin/init''. |