Re: killed libc.so.7 somehow - help./ISO images of CURRENT

From: O. Hartmann <ohartman_at_mail.zedat.fu-berlin.de>
Date: Wed, 15 Feb 2012 13:37:45 +0100
On 02/15/12 13:01, Lars Engels wrote:
> On Wed, Feb 15, 2012 at 01:47:24PM +0200, Andriy Gapon wrote:
>> on 15/02/2012 12:33 O. Hartmann said the following:
>>> Hello. Accidentally, I managed to kill my libc.so.7 and didn't make a
>>> backup. Now my FreeBSD 10/amd64 box, compiled yesterday's world last time, 
>>> refuses to do anything since login doesn't work. /bin/sh is missing a 
>>> symbol, I forgot the name, it was late last night (and therefore I made 
>>> that mistake).
>>>
>>> I thought I could start over with a snapshot emergency/live DVD/CD, but for
>>> CURRENT, I can not find any ISO images. Apart from the CTM way, is there
>>> another opportunity toget a) ISO images of a more recent CURRENT b) a
>>> working libc.so.7 that will make me rebuilding the system?
>>>
>>> Sorry for the noise, I'm ashamed about to ask and yes, I will bare the 
>>> laugh.
>>
>> Tools in /rescue should work without libc, but I am not sure if they would be
>> enough to somehow restore libc on your system.
> 
> A static version of fetch(1) would be great for this.


;-) Problem: I can not even login anymore, since I have "insecured" the
console for security reasons and the shell is rejecting due to a symbol
missing. I tried booting into single user mode, but that doesn't help
much. I really fu**ed up the box by stupiditely interrupting the install
process at some point letting my finger play tired on the keyboard.

The only way is to boot into rescue mission disk/dvd and try copying the
corrupted libc with another one ... I hope it doesn't make difference
then that most images I saw compile with legacy GCC and I built the
whole system with CLANG.

Thanks and regards,
Oliver


Received on Wed Feb 15 2012 - 11:37:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC