Re: upgrade from static to dynamic root

From: Harti Brandt <brandt_at_fokus.fraunhofer.de>
Date: Thu, 18 Sep 2003 08:46:39 +0200 (CEST)
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_at_fokus.fraunhofer.de, harti_at_freebsd.org
Received on Wed Sep 17 2003 - 21:46:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC