From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7b4ab8499fa8fcaa X-Google-Attributes: gid1164f8,public From: aaron@zk3.decSPAM.com (Aaron Sawyer USG) Subject: Re: Digital Unix box hangs on boot Date: 1999/10/21 Message-ID: <7uncvm$tbj$1@lead.zk3.dec.com>#1/1 X-Deja-AN: 539156418 References: <380C984E.B51F6F7F@stanford.edu> To: Michael Friedlander X-Complaints-To: iass@lead.zk3.dec.com X-Trace: lead.zk3.dec.com 940521270 30067 16.32.176.144 (21 Oct 1999 15:54:30 GMT) Organization: Compaq UNIX System Division Reply-To: aaron@zk3.decSPAM.com NNTP-Posting-Date: 21 Oct 1999 15:54:30 GMT Newsgroups: comp.sys.dec Hi, Michael, The likely cause of the hang in doing NFS mounts is nfs entries in /etc/fstab. CTRL/C does terminate the startup script (/sbin/rc3.d/S??nfsmount, a symbolic link to /sbin/init.d/nfsmount) ( ^^20 on my system ) and allow the boot to multi-user to continue. To get to single user mode, you want to get to the SRM console prompt (>>> or P00>>>, depends on your box). Press the RESET button (or, cycle the power). It sounds like your system will attempt to auto-boot; repeatedly pressing CTRL/C and/or CTRL/P will terminate the console firmware boot process and give you the console prompt. Issue the command >>> boot -fl "s" to set the "single-user-mode" flag when booting the default boot file (usually vmunix, add the -fl "filename" flag to specify another kernel, such as genvmunix), and the default boot device. The command >>> show boot* will show the boot variables known to the console firmware. The system will boot to single user mode (should even say so), with the root filesystem mounted readonly and the root command prompt. Issue # bcheckrc to mount the root filesystem read/write, and (fsck, if UFS, and) mount the local filesystems (usr and var). You may now use your favorite UNIX editor to edit the /etc/fstab nfs entries. You could delete them, or just change the how-mount option (ro or rw) to xx; they will be skipped at nfsmount time. You may also want to run /usr/sbin/setup to configure your system for networking, NIS, NTP, mail and other services before terminating the single-user command shell (CTRL/D) and continuing to multi-user mode. I hope this helps you; let me know. Best regards, =Aaron .==================================v==================================. : D. Aaron Sawyer ZKO1-3/J33 : My opinion(s) only; not Compaq's : : UNIX Software Division : Voice: +1.603.884.2918 : : Compaq Computer Corporation : (Just the) Fax: +1.603.884.2257 : : 110 Spitbrook Road : Internet: aaron@zk3.decSPAM.com : : Nashua, NH 03062-2642 : Remove the SPAM to e-mail me : `==================================^==================================' In article <380C984E.B51F6F7F@stanford.edu>, Michael Friedlander writes: |> Our lab just inherited a couple of Digital Unix boxes. We were just |> handed the units along with the root passwords and we have no disks or |> manuals. When booting, the machines are looking for a now defunct NIS |> server, and the boot process seems that it will wait indefinitely for a |> response from that server. If I hit cntrl-c, the machine will skip the |> search for the NIS server and will show me a boot prompt, but will hang |> when I try to log in as root. |> |> It seems that I need to boot into single user mode to disable NIS. Is |> there a way of doing this without a boot floppy (e.g., something like |> the rescue disk that can be made under Linux)? |> |> Please cc any response to mpf@stanford.edu. Thanks in advance for the |> help. |> |> --Michael