Red Hat Bugzilla – Bug 116327
RFE: better error message when init isn't found
Last modified: 2007-11-30 17:07:00 EST
Description of problem:
When init isn't a found, the following message is produced:
kernel panic: No init found. Try passing init = option to kernel.
In most cases, passing the 'init=' option to the kernel won't fix
the problem, because its not just init missing, its the whole disk.
I teach RHCEs for Red Hat and notice even experienced users can
become confused by this message.
Steps to Reproduce:
1.Have a situation where the kernel cannot find init.
The user is asked to use the 'init=' option. It would be useful to
suggest they check the bootloader and filesystem table as well, as
problems here are often the source of this problem.
Something that indicated other likely sources of the problem.
How does the following sound:
kernel panic: Couldn't find init on the specified device. Try
* Bootloader configuration refers to the correct device.
* The filesystem table (/etc/fstab) is correct
* Filesystem labelling, if used, is correct
* /sbin/init (or the file specified with 'init=' option) exists on
the correct disk.
Or maybe something better. Discuss :^).
Internal RFE bug #116403 entered; will be considered for future releases.
Thank you for the suggestion. It was passed along to product
management, but not committed for a future release.