From owner-freebsd-questions@FreeBSD.ORG Thu Feb 21 17:46:37 2013 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7F79A987 for ; Thu, 21 Feb 2013 17:46:37 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 4E255A51 for ; Thu, 21 Feb 2013 17:46:37 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id r1LHkXqg023737 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 21 Feb 2013 11:46:33 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Thu, 21 Feb 2013 11:46:33 -0600 From: "Teske, Devin" To: Bernt Hansson Subject: RE: I made a mess. libc Thread-Topic: I made a mess. libc Thread-Index: AQHOEECuNs5vgWT6fkOEPkWySY7Dq5iEx6QAgAATJ4D//6szhoAAbjiA//+hu9w= Date: Thu, 21 Feb 2013 17:46:33 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EAC4FD@ltcfiswmsgmb21> References: <51263091.1080507@bananmonarki.se> <2E4C6324-D93A-46EF-82C4-D7C8F9D06894@my.gd>, <51264295.1040902@bananmonarki.se> <13CA24D6AB415D428143D44749F57D7201EAC464@ltcfiswmsgmb21>, <512657E7.90404@bananmonarki.se> In-Reply-To: <512657E7.90404@bananmonarki.se> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-21_08:2013-02-21,2013-02-21,1970-01-01 signatures=0 Cc: Fleuriot Damien , questions FreeBSD , "Teske, Devin" 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:46:37 -0000 Can you specify perhaps "/rescue/sh" as the single-user shell? That should get you in. Then you have to stick to static executables like /rescue/rcp to remotely t= ransfer files. Perhaps someone can host a file on a machine that can be reached via /rescu= e/rcp for you. --=20 Devin ________________________________________ From: Bernt Hansson [bah@bananmonarki.se] Sent: Thursday, February 21, 2013 9:22 AM To: Teske, Devin Cc: Fleuriot Damien; questions FreeBSD Subject: Re: I made a mess. libc 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 I do not want to reinstall, have 4 encrypted disks. > My latest version of Druid has a very sophisticated "Interactive Disk Rep= air" script that will assemble your system "humpty-dumpty style" while boot= ed from a CD or Thumb drive (you said you couldn't burn a CD, but it wasn't= clear whether you could master a thumb drive). > > https://urldefense.proofpoint.com/v1/url?u=3Dhttp://sourceforge.net/proje= cts/druidbsd/files/FreeBSD-8.3_Druid-1.0b60.iso/download&k=3D%2FbkpAUdJWZui= TILCq%2FFnQg%3D%3D%0A&r=3DLTzUWWrRnz2iN3PtHDubWRSAh9itVJ%2BMUcNBCQ4tyeo%3D%= 0A&m=3D07piZUd2tTTVmRt2abbbhXwBr9OUC7olyXwRy6BdjoM%3D%0A&s=3Da0b244b57abd48= f38a1cd817513b96950f4c6f2f035b3d33ddee2a27938b2f04 > > When you run the "Interactive Disk Repair (IDR) Shell" option, it present= s you with a few questions (like, "I've found a saved network interface in = rc.conf(5) -- would you like me to activate it for you?"), and ultimately m= ounts your system to present a working shell to fix your problems. > > Important: when it asks you if you want to chroot into the mounted filesy= stem, say NO (you're libc isn't working, so that would be a bad idea) -- ra= ther, run from the LiveFS environment where /mnt is your mounted system. Th= ere's even a copy of libc in the LiveFS environment that you can copy over = your old one... > > cp /cdrom/freebsd/rescue/lib/libc.so.7 /mnt/lib/libc.so.7 > > (if I recall correctly) > _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.