From owner-freebsd-current@FreeBSD.ORG Thu Mar 18 20:56:46 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7303B106567B for ; Thu, 18 Mar 2010 20:56:46 +0000 (UTC) (envelope-from freebsd-current-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4C0548FC1E for ; Thu, 18 Mar 2010 20:56:45 +0000 (UTC) Received: (qmail 8377 invoked from network); 18 Mar 2010 20:56:45 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 18 Mar 2010 20:56:45 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 8FCC75088A; Thu, 18 Mar 2010 16:56:44 -0400 (EDT) From: Lowell Gilbert To: freebsd-current@freebsd.org References: <20100318200329.GC67716@mech-cluster241.men.bris.ac.uk> Date: Thu, 18 Mar 2010 16:56:44 -0400 In-Reply-To: (Freddie Cash's message of "Thu, 18 Mar 2010 13:41:41 -0700") Message-ID: <444okds60j.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Anton Shterenlikht Subject: Re: recovery from terminated make installworld? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 20:56:46 -0000 Freddie Cash writes: > On Thu, Mar 18, 2010 at 1:07 PM, Justin Hibbits wrote: > >> On Thu, Mar 18, 2010 at 4:03 PM, Anton Shterenlikht > >wrote: >> >> > I was in the single user mode doing 'make installworld' >> > when the system froze and I had to cold reboot. >> > Now in single user mode I get to: >> > >> > Enter full pathname of shell or RETURN for /bin/sh: >> > /libexec/ld-elf.so.1: /lib/libc.so.7: invalid file format >> > /libexec/ld-elf.so.1: /lib/libc.so.7: invalid file format >> > Enter full pathname of shell or RETURN for /bin/sh: >> > >> > Is there a way to recover? >> > Or do I have to reinstall from scratch? >> >> Try /rescue/sh (or tcsh). It's all statically linked, so you should be >> able >> to recover from there. >> >> And if that doesn't work, try a LiveFS CD. > > And, if all else fails, you can do a minimal install overtop. You'll lose > all your /etc settings, but will get a bootable system again. A lot of the time, an "upgrade" binary install will do the job, with less risk to your /etc directory. I had a problem like this not that long ago, thanks to the new kernel crashing (but not until I'd had time to start the installworld). Going back to the old kernel and copying in the libraries that didn't work was enough to get me up enough to retry the upgrade with a GENERIC kernel. I don't generally recommend running -current to anybody unless they have some comfort with recovering from these kinds of problems...