ESC1298@ESOC.BITNET (Danielle Heinzer) (12/03/88)
I have the following problem: Either a "halt" following by a "b", or a "reboot", brings my diskless Sun 3/50 (SunOS 3.2) in single user mode without displaying the message "Single user boot -- fsck not done". Either a "fasthalt" following by a "b", or a "fastboot", brings it in normal multi-user mode. Here is the log : <WSID>halt >b Boot: le(0,0,0) vmunix Size: Sun UNIX 4.2 Release 3.2EXPORT ... Copyright (c) 1986 by Sun Microsystems, Inc. mem = 4096K (0x400000) avail mem = 3244032 Ethernet address = 8:0:20:1:d1:b5 si0 at obio 140000 pri 2 sd0 at si0 slave 0 zs0 at obio 20000 pri 3 zs1 at obio 0 pri 3 le0 at obio 120000 pri 3 bwtwo0 at obmem 100000 pri 4 root on nd0 using 44 buffers containing 360448 bytes of main memory /dev/nd0: # Here is the rc.boot file: # # @(#)rc.boot 1.2 86/08/25 SMI # # Executed once at boot time # # Note that all "echo" commands are in parentheses. This is done # because all commands that redirect the output to "/dev/console" # must be done in a child of the main shell, so that the main shell # does not open a terminal and get its process group set. Since # "echo" is a builtin command, redirection for it will be done # in the main shell unless the command is run in a subshell. # hostname=MWS1 # # It is important to fsck the root filesystem here to prevent # spurious panics after system crashes. # error=0 if [ $1x = single userx ] then (echo "Singleuser boot -- fsck not done") >/dev/console else if [ -r /fastboot ] then (echo "Fast boot ... skipping disk checks") >/dev/console else /etc/fsck -p >/dev/console 2>&1 case $? in 0) ;; 4) (echo "Root fixed - rebooting.") >/dev/console /etc/reboot -q -n ;; 8) (echo "Reboot failed...help!") >/dev/console error=1 ;; 12) (echo "Reboot interrupted.") >/dev/console error=1 ;; *) (echo "Unknown error in reboot fsck.") >/dev/console error=1 ;; esac fi fi > /etc/mtab /etc/mount -f / /etc/mount /pub /bin/hostname $hostname /etc/ifconfig ec0 $hostname -trailers up /etc/ifconfig ie0 $hostname -trailers up /etc/ifconfig le0 $hostname -trailers up /etc/umount -at nfs sync # # exit with error status if there were any fsck errors above # exit $error What is wrong ? Regards, Danielle Heinzer ESA Computer Department/Computer Services European Space Operations Centre Robert-Bosch-str. 5 6100 Darmstadt West-Germany Tel int : 49-6151-886540