Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 2004 12:27:51 +0100
From:      Christian Hiris <4711@chello.at>
To:        freebsd-questions@freebsd.org
Cc:        Darksidex <humprhey@gmail.com>
Subject:   Re: Problems booting my computer
Message-ID:  <200412241228.09467.4711@chello.at>
In-Reply-To: <41CBECE9.6040101@gmail.com>
References:  <41CBECE9.6040101@gmail.com>

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



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