Date: Tue, 27 Feb 2001 22:05:55 -0500 (EST) From: Jim Durham <durham@w2xo.pgh.pa.us> To: Brian Peterson <brianp@apocalypse.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Freezes at /sbin/init Message-ID: <Pine.BSF.4.21.0102272156210.304-100000@shazam.int> In-Reply-To: <200102261125.f1QBPH930080@apocalypse.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Feb 2001, Brian Peterson wrote: > Greetings, > > I just installed the i386/4.2-RELEASE/ version of FreeBSD, with the > minimal install. (via ftp) > > The system freezes on booting, and when I boot -v from the "fixit" floppy, > The last message displayed is "start_init: Trying /sbin/init" > > I am able to run the fixit floppy, mount the hard drive, > see files, and even write to files with cat>filename. > > I see that there are no files or directories named /etc/init* > on the hard drive - no /etc/init.d, no /etc/inittab. > Does FreeBSD even use those files? If not, what do I need to check for? > > Since you got no answers, I'll tell you what I know (chuckle). FreeBSD is a BSD derivitive, and as such does not have the Sys V init.d and inittab stuff. Runtime configuration is controlled by the rc* files in /etc. These derive their configuration variables from /etc/defaults/rc.conf. Modifications to the default values are done in /etc/rc.conf, which is the only place configuration changes should be done for system stuff. (man rc.conf) . 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". 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? Are you sure your installation completed? Things will get very strange if you bail out early. Hope these help... Jim Durham 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?Pine.BSF.4.21.0102272156210.304-100000>
