What can make passing init=/path/to/program to the kernel not start program as init?
If you are using initrd or initramfs, keep in mind the following:
-
rdinit=is used instead ofinit= -
if
rdinit=is not given, the attempted default paths are:/sbin/init,/etc/init,/bin/initand/bin/shbut not/initWhen not using initrd,
/initis the first path tried, followed by the others.
本文来自博客园,作者:dolinux,未经同意,禁止转载

浙公网安备 33010602011771号