Re: [PATCH] init: Warn on non-existent rdinit

Richard Weinberger
2012-01-05T22:04:06Z

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

Am 05.01.2012 23:00, schrieb Eric W. Biederman:
> Perhaps it has a /linuxrc. If you can find a way of figuring out we
> always need the file we can print an error. Otherwise it is a case of
> the kernel auto-detecting what to do, and not printing a warning when it
> has decided there is no /init to play with.
>

If i find a nice way, I'll post a patch.

In my case I had a kernel with a built-in initramfs which contained a /linuxrc, but no /init.
I had no clue why the kernel always tried to boot from root=.

Thanks,
//richard

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]