* Digital Unix box hangs on boot
@ 1999-10-19 4:00 Michael Friedlander
1999-10-20 4:00 ` Adam Price
1999-10-21 4:00 ` Aaron Sawyer USG
0 siblings, 2 replies; 4+ messages in thread
From: Michael Friedlander @ 1999-10-19 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Digital Unix box hangs on boot
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
1 sibling, 0 replies; 4+ messages in thread
From: Adam Price @ 1999-10-20 4:00 UTC (permalink / raw)
[[ Mailed and Posted ]]
Michael Friedlander wrote in message <380C984E.B51F6F7F@stanford.edu>...
>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
when the machine starts to boot, you will see a sequence of numbers across
the top of the screen, if you repeatedly press cntrl-c from this point, you
will eventually get to a prompt that looks like this
>>>
From here you can boot to single user mode using the command
boot -flags s
Hope this helps
Adam
PS Lots of good documentation at
http://www.unix.digital.com/faqs/publications/pub_page/
PPS if it is a server not a workstation then it probably has a halt
button which will take you straight to the chevron prompt.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Digital Unix box hangs on boot
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
1999-10-21 4:00 ` Aaron Sawyer USG
1 sibling, 1 reply; 4+ messages in thread
From: Aaron Sawyer USG @ 1999-10-21 4:00 UTC (permalink / raw)
To: Michael Friedlander
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Digital Unix box hangs on boot
1999-10-21 4:00 ` Aaron Sawyer USG
@ 1999-10-21 4:00 ` Aaron Sawyer USG
0 siblings, 0 replies; 4+ messages in thread
From: Aaron Sawyer USG @ 1999-10-21 4:00 UTC (permalink / raw)
To: Michael Friedlander
In my previous response, I forgot to add :
While in single user mode, edit /etc/passwd and /etc/group to remove
the '+:' line; this will limit logins to entries in the /etc/passwd
file only. You might also want to remove any ',yp' references from
/etc/svc.conf . Running the /usr/sbin/setup script(s) will do this for
you, but I'm giving the quick-and-dirty approach only.
=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 :
`==================================^=================================='
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-10-21 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1999-10-21 4:00 ` Aaron Sawyer USG
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox