From: aaron@zk3.decSPAM.com (Aaron Sawyer USG)
To: Michael Friedlander <mpf@stanford.edu>
Subject: Re: Digital Unix box hangs on boot
Date: 1999/10/21 [thread overview]
Message-ID: <7uncvm$tbj$1@lead.zk3.dec.com> (raw)
In-Reply-To: 380C984E.B51F6F7F@stanford.edu
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 <mpf@stanford.edu> 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
next prev parent reply other threads:[~1999-10-21 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-19 4:00 Digital Unix box hangs on boot Michael Friedlander
1999-10-20 4:00 ` Adam Price
1999-10-21 4:00 ` Aaron Sawyer USG [this message]
1999-10-21 4:00 ` Aaron Sawyer USG
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox