From owner-freebsd-questions@FreeBSD.ORG Thu Feb 21 17:38:58 2013 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 923C757E for ; Thu, 21 Feb 2013 17:38:58 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8F69BC for ; Thu, 21 Feb 2013 17:38:57 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1U8a6t-0004SC-C7; Thu, 21 Feb 2013 17:39:07 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1U8a6d-000OMS-Ne; Thu, 21 Feb 2013 17:38:51 +0000 Date: Thu, 21 Feb 2013 17:38:21 +0000 From: Steve O'Hara-Smith To: Bernt Hansson Subject: Re: I made a mess. libc Message-Id: <20130221173821.ef7973c6f8498fc93444f425@sohara.org> In-Reply-To: <512657E7.90404@bananmonarki.se> References: <51263091.1080507@bananmonarki.se> <2E4C6324-D93A-46EF-82C4-D7C8F9D06894@my.gd> <51264295.1040902@bananmonarki.se> <13CA24D6AB415D428143D44749F57D7201EAC464@ltcfiswmsgmb21> <512657E7.90404@bananmonarki.se> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) Cc: Fleuriot Damien , "Teske, Devin" , questions FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 17:38:58 -0000 On Thu, 21 Feb 2013 18:22:47 +0100 Bernt Hansson wrote: > 2013-02-21 18:01, Teske, Devin skrev: > > Is it the base machine that won't boot? I got this ... > > That is correct. So no cd burning no nothing...Well it want to drop in > to a single shell bla bla bla press enter for /bin/sh > > > libexec* libc.so.7: invalid file format IIRC you get an option at this point to enter a full path to the shell, enter /rescue/sh which will get you a statically linked shell. You should then be able to use the tools in /rescue to replace libc provided you can somehow get a copy of it where you can read it. -- Steve O'Hara-Smith