Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2003 08:46:39 +0200 (CEST)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        Gordon Tetlow <gordont@gnf.org>
Cc:        current@freebsd.org
Subject:   Re: upgrade from static to dynamic root
Message-ID:  <20030918084356.I46092@beagle.fokus.fraunhofer.de>
In-Reply-To: <20030917165442.GY64655@roark.gnf.org>
References:  <20030911142821.S69286@beagle.fokus.fraunhofer.de> <20030916180924.K9151@beagle.fokus.fraunhofer.de> <20030917165442.GY64655@roark.gnf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030918084356.I46092>