From owner-freebsd-questions@FreeBSD.ORG Fri Apr 14 19:13:17 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 D45AF16A401 for ; Fri, 14 Apr 2006 19:13:17 +0000 (UTC) (envelope-from beech@mangohealth.org) Received: from pinnacle.akherb.com (94-37-237-24.gci.net [24.237.37.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BC5A43D45 for ; Fri, 14 Apr 2006 19:13:17 +0000 (GMT) (envelope-from beech@mangohealth.org) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id B5E665E1D; Fri, 14 Apr 2006 11:13:16 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.1.1 Received: from [192.168.2.160] (209-124-141-064.ip.arctic.net [209.124.141.64]) by pinnacle.akherb.com (Postfix) with ESMTP id C28D85E1A; Fri, 14 Apr 2006 11:13:15 -0800 (AKDT) From: Beech Rintoul Organization: Mangohealth To: freebsd-questions@freebsd.org Date: Fri, 14 Apr 2006 11:12:59 -0800 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart9253774.sC0vA2bFjb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604141113.12676.beech@mangohealth.org> Cc: =?iso-8859-1?q?G=FCnther_Darwin?= 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 19:13:17 -0000 --nextPart9253774.sC0vA2bFjb Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 14 April 2006 10:39, G=FCnther 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 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 > i have tried to boot into failsafe mode with the same error message > i have tried to clean all my partions with fsck -y (in Fixit# mode), with > the same error message > i have checked that sh is where it's supposed to be (ls /bin/sh) > i have tried smashing my head against the wall with the same error message You do have backups, don't you? You could try a binary upgrade. Other than that you're looking at doing a=20 restore. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@mangohealth.org /"\ ASCII Ribbon Campaign | Mangohealth \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - XanGo - http://www.mangohealth.org =2D------------------------------------------------------------------------= =2D------------- --nextPart9253774.sC0vA2bFjb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEP/RI2TFLCHYGSF0RAqngAJ9/UOaKBEiBHC5RcWEtqvHrhT8YWACfYY0T aUF695ohLwZEweJe770qX6c= =LzA9 -----END PGP SIGNATURE----- --nextPart9253774.sC0vA2bFjb--