From owner-freebsd-current@FreeBSD.ORG Wed Sep 17 23:46:48 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E26EC16A4B3 for ; Wed, 17 Sep 2003 23:46:48 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7710E43FBF for ; Wed, 17 Sep 2003 23:46:47 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h8I6kdh09463; Thu, 18 Sep 2003 08:46:39 +0200 (MEST) Date: Thu, 18 Sep 2003 08:46:39 +0200 (CEST) From: Harti Brandt To: Gordon Tetlow In-Reply-To: <20030917165442.GY64655@roark.gnf.org> Message-ID: <20030918084356.I46092@beagle.fokus.fraunhofer.de> References: <20030911142821.S69286@beagle.fokus.fraunhofer.de> <20030916180924.K9151@beagle.fokus.fraunhofer.de> <20030917165442.GY64655@roark.gnf.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: upgrade from static to dynamic root X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: harti@freebsd.org 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 Sep 2003 06:46:49 -0000 On Wed, 17 Sep 2003, Gordon Tetlow wrote: GT>On Tue, Sep 16, 2003 at 06:11:01PM +0200, Harti Brandt wrote: GT>> On Tue, 16 Sep 2003, Richard Nyberg wrote: GT>> GT>> RN>At Thu, 11 Sep 2003 14:44:55 +0200 (CEST), GT>> RN>Harti Brandt wrote: GT>> RN>> Hi, GT>> RN>> GT>> RN>> I just tried to upgrade one of my systems from a static root from july to GT>> RN>> an actual dynamic root. The installworld went fine 'til the place where GT>> RN>> /bin/test is installed. At that point the installation stopped with "ELF GT>> RN>> interpreter /libexec/ld-elf.so.1 not found". And really /libexec is not GT>> RN>> populated yet. GT>> RN> GT>> RN>Me too :( GT>> RN>To get installworld back on track I used cp under linux emulation to GT>> RN>copy ld-elf.so.1. Then I also had to run ldconfig -m /lib. After that GT>> RN>make installworld completed successfully. GT>> GT>> Or you could cd into /usr/obj/usr/src/rescue/rescue and do ./rescue cp ... GT>> (as long as you have a working shell) GT> GT>Which of course exists in /rescue too. No, it doesn't. Rescue is installed after /bin, so if something goes wrong early in installworld, your system is hosed: no /libexec, no /rescue. You need to know how to get yourself out of this by pulling your hair... Seems that Ruslan has taken care of and emergency install of rtld-elf. This leaves you still without /rescue, but enables you to run at least /bin/sh. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org