[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/init.d/rc.2 command not found....



In article <[🔎] linux.os.m3elm5ioqt.fsf@chello.at>,
Josef Oswald  <oswald@chello.at> wrote:
>The Problem I run into after I installed a HPT370 driven Card, details
>can be found in my other post (HPT370 and other problems), I had to
>install a new Kernel with umda-100 patched with A. Hedrick, I got
>that Kernel and installed it without installing the drivers.. 
>Only later did I install those drivers..
>
>The Problem now is that, during boot up I get a error-message
>/etc/init.d/rc.2 Command not found and I can only login as root, 

It means something fscked up your /etc/inittab file. There is
indeed no /etc/init.d/rc.2 script; there is a /etc/init.d/rc
script that gets called from /etc/inittab as "/etc/init.d/rc 2".
Note there's no period but a space inbetween rc and 2.

Edit /etc/inittab, fix this and reboot, and things should be
working again.

There's a sample inittab in /usr/share/doc/sysvinit/examples,
by the way. Your /etc/inittab should look a lot like that, or
it might even be similar to it if you didn't change it.

It would be interesting to know what caused this, since I've
seen one other similar message on this list (or -devel, not sure)

Mike.
-- 
  I used to drive a Heisenberg mobile but every time I looked at the
  speedometer - I got lost!



Reply to: