Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 17:46:33 +0000
From:      "Teske, Devin" <Devin.Teske@fisglobal.com>
To:        Bernt Hansson <bah@bananmonarki.se>
Cc:        Fleuriot Damien <ml@my.gd>, questions FreeBSD <FreeBSD-questions@freebsd.org>, "Teske, Devin" <Devin.Teske@fisglobal.com>
Subject:   RE: I made a mess. libc
Message-ID:  <13CA24D6AB415D428143D44749F57D7201EAC4FD@ltcfiswmsgmb21>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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

<enter>
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13CA24D6AB415D428143D44749F57D7201EAC4FD>