Init can't exec /bin/sh for /etc/rc

Garance A Drosihn drosih at
Fri Apr 14 21:27:15 UTC 2006

At 8:39 PM +0200 4/14/06, Günther Darwin wrote:
>Hi, I was running the buildkernel command when 
>the computer suddenly froze and the only option 
>i had was a 'hard reset' unfortunatley it wasn't 
>all trouble free this time. When i try to start 
>I get the message: Init can't exec /bin/sh for /etc/rc Exec format error.
>I have tried to boot into Multiuser mode, with this error message
>i have tried to boot into singeuser mode, with the same error message

When going into single-user mode, is there some other copy
of 'sh' that you could start off with?  It will ask you
before starting the shell.  One likely candidate would be
in  /rescue/sh

Garance Alistair Drosehn            =   gad at
Senior Systems Programmer           or  gad at
Rensselaer Polytechnic Institute    or  drosih at

More information about the freebsd-questions mailing list