From owner-freebsd-current@FreeBSD.ORG Fri Mar 19 06:28:43 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 47584106566C for ; Fri, 19 Mar 2010 06:28:43 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 199948FC15 for ; Fri, 19 Mar 2010 06:28:42 +0000 (UTC) Received: by pwj4 with SMTP id 4so2341105pwj.13 for ; Thu, 18 Mar 2010 23:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=930c7Q2P96tFLJT1Ksflg2CgjQTo7c897dY0jLYQBog=; b=bClkHDTeAFZUzA0yPEhs1rhckZpGqoLyGTBxhMZ5lZwJocSvzvEas0nvB6ulQ2KeH9 nXFypDvuIJ5XIRqlbmx31bYmCph67N3TJ1GetyD2Bc90b3Tz8Hhwq1+GMFXfAS5bcFrO amOPNVNkeweWbd3p51+QS0DmNFVhHzU6lCzOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Aep61e1XGfPBHAawT3TnN1WL8aWtUrp2844YKEgK+FFmR2//Nj3xf2kB9ChbHPQb7O s5Lf3u9ibK4wcKjrA74vFSDQU766jSDocvkZYXa1WKsfGkhJkP/v0kX6QEjGsXc9Mdus bu2k0Skyry0FwPycNYYYNMYDwoCXO934x4NK8= MIME-Version: 1.0 Received: by 10.142.61.36 with SMTP id j36mr627097wfa.322.1268980122542; Thu, 18 Mar 2010 23:28:42 -0700 (PDT) In-Reply-To: References: <20100318200329.GC67716@mech-cluster241.men.bris.ac.uk> Date: Thu, 18 Mar 2010 23:28:42 -0700 Message-ID: <7d6fde3d1003182328w63c84053r2bbc3e05f4ec6530@mail.gmail.com> From: Garrett Cooper To: krad Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Freddie Cash 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: Fri, 19 Mar 2010 06:28:43 -0000 On Thu, Mar 18, 2010 at 4:08 PM, krad wrote: > On 18 March 2010 20:41, Freddie Cash wrote: > >> 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). =A0It'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. =A0You'll = lose >> all your /etc settings, but will get a bootable system again. >> >> -- >> Freddie Cash >> fjwcash@gmail.com >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or= g" >> > > > easier and less risky to boot in on some form of live cd, mount all the f= s > up under /mnt, set the DESTDIR=3D/mnt and continue the installworld Yes, this is the easiest way to do things: 1. Boot live CD, USB, w/e. 2. mount all of your filesystems. 3. make -C $DESTDIR/usr/src installworld DESTDIR=3D$DESTDIR No loss of data. But given that you've already done the reinstall, I suppose there's no way to go back now :/... -Garrett