Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 09:46:13 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Brian Peterson <brianp@apocalypse.org>
Cc:        questions@freebsd.org
Subject:   Re: Freezes at /sbin/init
Message-ID:  <15005.7493.384691.230895@guru.mired.org>
In-Reply-To: <40546830@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Peterson <brianp@apocalypse.org> types:
>     From: Jim Durham <durham@w2xo.pgh.pa.us>
>     ...
>     As to why /sbin/init won't run, more information would be a real
>     help. When you mount the drive from the fixit floppy, does /sbin
>     exist? Does init exist? Can you fsck all the partitions on the
>     hard drive successfully?
> 
> Yes, they both exist on the hard drive. Fsck runs ok; at least,
> it does phase 1-5 without complaint, and goes on to tell me how
> many files I have, the disk fragmentation, etc.
> This happens for /, /usr, and /var. (All my filesystems.)

Try comparing /sbin/init on the fixit file system to the one on your
file system. If they aren't the same, move the old one and copy the
new one into place.

>     I should mention that daemons are started from /usr/local/etc/rc.d.
>     This directory contains Bourne shell scripts to fire the various
>     daemons, and such scripts should also understand the arguments
>     "start" and "stop". 
> 
>     Are you sure your installation completed? Things will get very
>     strange if you bail out early.
> 
> Guess what? I don't HAVE anything in /usr/local   !!!
> Certainly not a /usr/local/etc/rc.d
> (There IS a /usr/local directory, though. It's just empty.) 

He's only half right. Ports daemons are started from
/usr/local/etc/rc.d. Base system daemons are started from /etc/rc (or
the things it runs). Don't worry about it being empty - at least not
yet. The problem you've described is apparently happening before that.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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