Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 17:27:10 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        =?iso-8859-1?Q?G=FCnther_Darwin?=  <infernal_crackwhore@hotmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Init can't exec /bin/sh for /etc/rc
Message-ID:  <p06230926c065c19b926a@[128.113.24.47]>
In-Reply-To: <BAY7-F216A80CE64928CD725C4E99AC00@phx.gbl>
References:  <BAY7-F216A80CE64928CD725C4E99AC00@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
At 8:39 PM +0200 4/14/06, G=FCnther Darwin wrote:
>Hi, I was running the buildkernel command when=20
>the computer suddenly froze and the only option=20
>i had was a 'hard reset' unfortunatley it wasn't=20
>all trouble free this time. When i try to start=20
>FreeBSD
>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            =3D   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06230926c065c19b926a>