How do I recover from a system crash ?

Calvin Hayden cgh018 at tijc02.UUCP
Tue Jun 27 23:29:26 AEST 1989


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 



More information about the Comp.unix.questions mailing list