Bug 116327 - RFE: better error message when init isn't found
Summary: RFE: better error message when init isn't found
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: dff
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-20 02:42 UTC by Mike MacCana
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-04-22 14:37:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike MacCana 2004-02-20 02:42:16 UTC
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. 
 
How reproducible:   
Always   
   
Steps to Reproduce:   
1.Have a situation where the kernel cannot find init. 
     
Actual results:   
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. 
   
Expected results:   
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 
checking: 
* 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 :^).

Comment 1 Suzanne Hillman 2004-02-20 19:13:50 UTC
Internal RFE bug #116403 entered; will be considered for future releases.

Comment 2 Suzanne Hillman 2004-04-22 14:37:21 UTC
Thank you for the suggestion. It was passed along to product
management, but not committed for a future release.


Note You need to log in before you can comment on or make changes to this bug.