From owner-freebsd-stable@FreeBSD.ORG Mon Nov 28 02:34:40 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDE4816A41F for ; Mon, 28 Nov 2005 02:34:40 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCEAB43D67 for ; Mon, 28 Nov 2005 02:34:39 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so2002361wxc for ; Sun, 27 Nov 2005 18:34:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XdR0Yqh+Fm3e0WpRpaaoyFvIIX93jrPSSiWs4jJmK/k0I9X1cWvmdTLXJ0xjLTDN7bzibpa34uTOawRH9t4QwApKsWA8hGrwOC/AbOIH0inA6CNlhVHboMOwDdWo5FwwwPyPIe2jyC/1nMu6P1p4WK8upsZWHi/a6YmisxUeV1Q= Received: by 10.70.128.4 with SMTP id a4mr9978541wxd; Sun, 27 Nov 2005 17:29:36 -0800 (PST) Received: by 10.70.104.18 with HTTP; Sun, 27 Nov 2005 17:29:36 -0800 (PST) Message-ID: <35c231bf0511271729t2382667dka0a6b8890926415f@mail.gmail.com> Date: Sun, 27 Nov 2005 17:29:36 -0800 From: David Kirchner Sender: dpkirchner@gmail.com To: ebm In-Reply-To: <438A525C.8010803@swervinghead.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <438A525C.8010803@swervinghead.com> Cc: freebsd-stable@freebsd.org Subject: Re: Freebsd 5.3 screw up.... deleted /lib/libc.so.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 02:34:40 -0000 On 11/27/05, ebm wrote: > After I deleted this very valuable file I realized what I did. Since I > don't have a old boot disk laying around is my only option to upgrade to > a newer version of freebsd? Unfortunately after FreeBSD 4 all of the binaries needed to boot are dynamically linked, so you are not going to be able to reboot the server, and you're not going to want to log out. There is still hope however -- the /rescue directory contains a statically linked binary and a whole bunch of hardlinks, including 'mount' and 'cp'. If you can get libc.so.5 onto a floppy somewhere else you may be able to copy it into place with these utilities. http://dpk.net/libc.so.5 That's a copy of libc from a FreeBSD 5.3-RELEASE-p5 system. Alternately, you could try installing the minimum binary package as suggested by Michael (however you'll need to use /stand/sysinstall since it is static)