From owner-freebsd-questions@FreeBSD.ORG Fri Apr 14 21:27:15 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3334D16A401 for ; Fri, 14 Apr 2006 21:27:15 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F9DF43D53 for ; Fri, 14 Apr 2006 21:27:14 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.13.1/8.13.0) with ESMTP id k3ELRBTg028557; Fri, 14 Apr 2006 17:27:12 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Fri, 14 Apr 2006 17:27:10 -0400 To: =?iso-8859-1?Q?G=FCnther_Darwin?= , freebsd-questions@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="iso-8859-1" ; format="flowed" Content-Transfer-Encoding: quoted-printable X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) on 128.113.2.2 Cc: Subject: Re: Init can't exec /bin/sh for /etc/rc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 21:27:15 -0000 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