From owner-freebsd-questions@FreeBSD.ORG Fri Dec 24 11:28:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54DC116A4CE for ; Fri, 24 Dec 2004 11:28:51 +0000 (GMT) Received: from chello084114137224.1.15.vie.surfer.at (chello084114137224.1.15.vie.surfer.at [84.114.137.224]) by mx1.FreeBSD.org (Postfix) with SMTP id BC25243D48 for ; Fri, 24 Dec 2004 11:28:11 +0000 (GMT) (envelope-from 4711@chello.at) Received: (qmail 54228 invoked from network); 24 Dec 2004 11:28:09 -0000 Received: from matrix010.matrix.net (192.168.123.10) by ns.matrix.net with SMTP; 24 Dec 2004 11:28:09 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org Date: Fri, 24 Dec 2004 12:27:51 +0100 User-Agent: KMail/1.7 References: <41CBECE9.6040101@gmail.com> In-Reply-To: <41CBECE9.6040101@gmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412241228.09467.4711@chello.at> cc: Darksidex Subject: Re: Problems booting my computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2004 11:28:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 24 December 2004 11:18, Darksidex wrote: > A few days ago I tried to compile and install FreeBSD 5.3-p2 from a > FreeBSD 5.3-p1 > Everething worked until I wanted to make installword. I switched to > single mode, and during the installation my computer stoped and shaw me > a error (I don't remember it). I had to reboot, and booting process > stopped with some hexadecimal characters and with the string "BTX Halted". > > I downloaded the second disc of FBSD 5.3 release, and I could fix the > disk, and I could copy /boot/kernel directory from cd to my disk. > But when I try to boot up my computer it stops with this message: > > Mounting root from ufs: /dev/ad1s1a > pid 49 (sh), uid 0: exited on signal 4 > Dec 23... init: /bin/sh on /etc/rc terminated > abnormally, going to single user mode > Enter root password, or ^D to go multi-user > Password: > Enter full path name for shell or RETURN for /bin/sh: You can try to run the statically linked version of sh and try to repair your system. It's path is /rescue/sh. Possibly ld-elf.so.1 is missing in /libexec. I would try to mount the disc2.iso and copy it from there. In worst case I would copy /bin, /lib, /libexec, /sbin, /usr/bin, /usr/sbin, /usr/lib, /usr/libexec (eventually /usr/libdata and /boot) from the live-filesystem-cd over to your system. Before you start to copy the files over, run the command '/rescue/chflags -R noschg *' on each of the paths in question to remove all system immutable flags). After your have fixed your system, re-cvsup sources and do a rebuild and reinstall of world and kernel. - -- Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBy/1J09WjGjvKU74RAl4VAJwKM4kuVXFVQDdH3dNc6m+JdB1SCgCcCkxe aAtJdPgj3Azu/LC1qGG05N0= =dwiM -----END PGP SIGNATURE-----