inittab not found Centos
Posted on 2014-04-28
I am having the error on centos while booting i.e. "inittab not found" . The server was up and running and suddenly blank screen came but i was able to ping the server but couldnt logged into to it so i shut it down and restart but after restarting i got the above error.
So i try some different steps like
1- try to get into the different run levels but every time i got the error no more " "processes left in this runlevel " .
2- try to boot from knoppix live cd. i used "fdisk -l " and "df -h" commands to check the actual mounted and logical drives, and was able to see them. the solution is to find inintab file into /etc directory or create a new one with required parameters But i coudlnt find /etc directory the whole folder was missing. I tried "fsck " on the drives too but of no avail.
Actually asterisk was installed on that server and all the config files were stored in /etc directory and ofcourse all the other system files too (like fstab , inintab etc ).
any help in this regard would be highly appreciated.