From owner-freebsd-current@freebsd.org Sun Nov 8 03:35:09 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54C6EA27BAB for ; Sun, 8 Nov 2015 03:35:09 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3DAE11C0B for ; Sun, 8 Nov 2015 03:35:09 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3A0DDA27BA9; Sun, 8 Nov 2015 03:35:09 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39A32A27BA8 for ; Sun, 8 Nov 2015 03:35:09 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0A011C0A for ; Sun, 8 Nov 2015 03:35:08 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.241] (helo=rmm6prod02.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1ZvGRL-0007f7-W6 for current@freebsd.org; Sun, 08 Nov 2015 04:14:48 +0100 Received: from mail by rmm6prod02.runbox.com with local (Exim 4.76) (envelope-from ) id 1ZvGRL-0005AG-Uq for current@freebsd.org; Sun, 08 Nov 2015 04:14:47 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated user (846156)] by runbox.com with http (RMM6); for ; Sun, 08 Nov 2015 03:14:47 GMT From: "Jeffrey Bouquet" Reply-To: jbtakk@iherebuywisely.com To: "current" Subject: Cannot installworld, don't expect to...Workaround? Date: Sat, 07 Nov 2015 19:14:47 -0800 (PST) X-Mailer: RMM6 Message-Id: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 08 Nov 2015 03:35:09 -0000 I've a not-complete-installworld from today, dumped core halfway through=20 despite single-user mode... began with an install of libc++... which was fine. i can restore /lib /libexec /bin /sbin /usr/bin /usr/sbin from an earlier backup and most binaries work again, but nowhere near full functionality... wanting to restore browser functionality... which mysteriously broke (all segfault) which prompted the buildworld. setting COMPILER_TYPE results later in sh: cc; not found during the installworld.=20=20 OTOH some buildworld=20 produced files may have been lost during the fsck to lost+found I noticed a few clang files ended up in lost+found during one of the many f= sck. So as an aside of any usual question... Is there any documentation=20 where make installs should proceed? for instance libc++ first, then ... and/or how to run the installworld segment-at-a-time to find the specific failure? OR it is too complex Assuming "no" to each of the above... is there a best practice to=20 copy a greater number of the /lib, libexec from=20 backup to completely restore, or is it necc. to do a reinstall to an ENTIRELY new disk... given that the existing disk for some reason does not want to complete it. Maybe even someone has an easier way... or procedure. Thanks. ... As an aside, a wanted feature: during one disk crash recently, the pass* in /etc wound up in lost+found. No login resulted. Restored from backup by luck... was clueless. Would it be wise to build redundancy into the base, so that for example if /etc/fstab has vanished, its shadow copy in /etc/shadow/... or even enough binaries, (similar /rescue ) to complete a complete svn buildworld installworld as a sort of /rescue/usr/src with all binaries and libraries contained therein. Maybe...