1.. SPDX-License-Identifier: GPL-2.0 2 3.. include:: ../disclaimer-zh_TW.rst 4 5:Original: :doc:`../../../admin-guide/init` 6 7:������: 8 9 ��������� Wu XiangCheng <bobwxc@email.cn> 10 ��������� Hu Haowen <2023002089@link.tyut.edu.cn> 11 12���������No working init found.��������������������� 13========================================= 14 15:������: 16 17 Andreas Mohr <andi at lisas period de> 18 19 Cristian Souza <cristianmsbr at gmail period com> 20 21���������������������������������������������init binary��������������������������������������������������� 22������������������ 23 241) **���������������������������Unable to mount root FS** ���������������debug��������������������� 25 ������������������bootloader���������������CONFIG_CMDLINE��������������������������������������� 26 272) **������������������������������������������������init binary doesn't exist on rootfs** ��� 28 ������������������������������������������������ ``root=`` ��������������������������������������������� 29 ������������������������������SCSI���USB���������������������������������ext3���jffs2������������������ 30 ������������������������initrd��������������� 31 323) **���������������������Broken console device** ��� ``console= setup`` ��������������� 33 ������ --> ���������������������������initial console unavailable��������������������������� 34 IRQ��������������������������������������������������������������������������������������������������������� 35 ``console= device`` ������ ``netconsole=`` ��� 36 374) **������������������������������������Binary exists but dependencies not available** ��� 38 ��������������������������������������������������� ``/lib/ld-linux.so.2`` ������������������������ 39 ``readelf -d <INIT>|grep NEEDED`` ������������������������ 40 415) **���������������������Binary cannot be loaded** ��������������������������������������������� 42 ���������������������i386���������x86_64������������������ARM���������������x86��������������������� 43 ���������������������������������shell������������������������������������������������������shebang 44 header������ ``#!/...`` ��������������������������������������������������������������������������� 45 ������������������������������������������������������������������������������ ``/bin/sh`` ������������ 46 ������������������������������������������������������������������ ``init/main.c`` ��������� 47 kernel_execve()��������������� 48 49������������������������������������������������������������������������������������������������ **������** ��� 50���������������������������������������������������������������������LKML��������������������� 51 52��������������� 53 54- ������������������������ ``kernel_execve()`` ��������������������������������������� 55 ``run_init_process()`` ������������������������������������ **������** ��������������������� 56 ��������������������������������������� 57- ��������������������������������������������������������������������������������������������������������������� 58 59