Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Red Hat development box and I recently had an outage where the SAN disk was unavailable and and some applications were not running right so I ran fsck -y to check if the file system was ok, then I did a reboot. Now, I cannot even log in to the system. On startup, the console shows:

Memory for crash kernel (0x0 to 0x0) notwithin permissible range Cannot setup NMI watchdog on CPU 0 Cannot setup NMI watchdog on CPU 1

...

INIT: No inittab file found

Any ideas on how to fix this? Thanks.

share|improve this question
add comment

1 Answer

If your rootfs is ext2-3-4, an e2fsck -f -y -C0 is a magic argument combo. Give it a try from a rescue cd/pendrive. If there are yet not repaired problems on your fs, it will fix them.

Second: some critical files on your system is dead. This time, /etc/inittab. This file doesn't changes very rapidly (practically never), so you can copy this from backup or from a fresh install (or from another redhat server).

If you have luck, another important files didn't destroyed.


Another tip: your /bin/bash is probably undamaged, so an init=/bin/bash would give you a wonderful rescue console.

share|improve this answer
    
You might want to follow up init=/bin/bash with a mount / -o remount or whatever the modern incantation is. Else you can not write to the filesystem which makes it hard to replace corrupt or missing files. –  Hennes Nov 15 '13 at 23:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.