Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncsuvx!mcnc!rti!tijc02!cgh018 From: cgh018@tijc02.UUCP (Calvin Hayden ) Newsgroups: comp.unix.questions Subject: Re: How do I recover from a system crash ? Message-ID: <523@tijc02.UUCP> Date: 27 Jun 89 13:29:26 GMT References: <1144@cbnewsm.ATT.COM> Distribution: na Organization: Texas Instr., Johnson City TN Lines: 29 You write: . . > While the system was coming back up it displayed a message > saying a cleanup of the root file system was taking place. > Then, the system crashed (went into "restart") again! > This time, when the system was coming up, I received the > following message: > > INIT: Cannot open /etc/inittab. errno: 2 > ENTER RUN LEVEL (0-6,s, or S): > > What do I do now? Ok, I'm no wizard, and I can't assure you that this will work, but it's worth a shot. ( I'm on a Vax, so I'm not sure how the smaller machine handles things) When you get the message above, go into single user mode. While there, fsck your root file system - dont fsck the raw device - the manual should mention something about fscking the root file system via block device ( on my system, I fsck /dev/dsk/0s1 instead of /dev/rdsk/0s1). Let it fix any problems it may find, and reboot if you have to. Once root is fscked, check to see if the /etc/inittab file is still there -- if it's not, restore the file from backup if you can, if you cant, then it may have to be manually reconstructed. Then be sure to fsck all other file systems. Sounds like inittab may have been damaged, or that the system thinks it may have been damaged. Hope this helps some. Like I said, I'm no expert by a long shot. Calvin