1820636 Members
1804 Online
109626 Solutions
New Discussion юеВ

/etc/inittab

 
SOLVED
Go to solution
Luis Franco
Occasional Advisor

/etc/inittab

When booting my rx2600 B.11.23, I got the following error:

/etc/inittab: Cannot stat: no such file or directory

If I boot on single user mode the /etc/inittab file do exists and I can do a cat over it.

Thanks in advance for your help!!
4 REPLIES 4
Hoefnix
Honored Contributor
Solution

Re: /etc/inittab

Hi,

Can you boot from Single-user go to runlevel 1 using "init 1" ?
If that is possible check if you can go to the next level (init 2).

If going from init 1 to init 2 gives the same error check the /etc/fstab. It can be that you mount another filesystem using /etc as a mountpoint.

Check also if you are not using a sym-link for /etc/inittab.

HTH,

Peter
KapilRaj
Honored Contributor

Re: /etc/inittab

Does inittab has entries of some non existing scripts / executables ?.

Regds,

Kaps
Nothing is impossible
Bharat Katkar
Honored Contributor

Re: /etc/inittab

Boot to single user mode as you said it is possible. Check for following files if they exists:
/sbin/ioinitrc
/sbin/mtinit
/sbin/dasetup
/sbin/stty

Bharat

You need to know a lot to actually know how little you know
Luis Franco
Occasional Advisor

Re: /etc/inittab

Thanks Peter!! you were right.

There was a file system mounted over /etc in fstab.

Thanks all for your help.