From owner-freebsd-questions@FreeBSD.ORG Thu Feb 21 17:23:12 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 AD64F69 for ; Thu, 21 Feb 2013 17:23:12 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 0B4728B8 for ; Thu, 21 Feb 2013 17:23:11 +0000 (UTC) Received: from kw.news4all.se (usenet4all.se [82.182.32.53]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r1LHMvKj022657; Thu, 21 Feb 2013 18:22:59 +0100 (CET) (envelope-from bah@bananmonarki.se) Message-ID: <512657E7.90404@bananmonarki.se> Date: Thu, 21 Feb 2013 18:22:47 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "Teske, Devin" Subject: Re: I made a mess. libc References: <51263091.1080507@bananmonarki.se> <2E4C6324-D93A-46EF-82C4-D7C8F9D06894@my.gd>, <51264295.1040902@bananmonarki.se> <13CA24D6AB415D428143D44749F57D7201EAC464@ltcfiswmsgmb21> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EAC464@ltcfiswmsgmb21> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Fleuriot Damien , 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:23:12 -0000 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 Repair" script that will assemble your system "humpty-dumpty style" while booted 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). > > http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60.iso/download > > When you run the "Interactive Disk Repair (IDR) Shell" option, it presents 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 mounts your system to present a working shell to fix your problems. > > Important: when it asks you if you want to chroot into the mounted filesystem, say NO (you're libc isn't working, so that would be a bad idea) -- rather, run from the LiveFS environment where /mnt is your mounted system. There'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) >