init/main.c: improve usability in case of init binary failure
- new Documentation/init.txt file describing various forms of failure trying to load the init binary after kernel bootup - extend the init/main.c init failure message to direct to Documentation/init.txt Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
87d5e0236d
commit
9a85b8d604
@@ -847,7 +847,8 @@ static noinline int init_post(void)
|
||||
run_init_process("/bin/init");
|
||||
run_init_process("/bin/sh");
|
||||
|
||||
panic("No init found. Try passing init= option to kernel.");
|
||||
panic("No init found. Try passing init= option to kernel. "
|
||||
"See Linux Documentation/init.txt for guidance.");
|
||||
}
|
||||
|
||||
static int __init kernel_init(void * unused)
|
||||
|
Reference in New Issue
Block a user