Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to boot Digital unix in single user mode

Posted on 1998-05-19
5
Medium Priority
?
1,292 Views
Last Modified: 2013-12-16
How do I boot Digital unix box(Alpha Station 500) in single user mode.

Currently when I power on the machine, I see the following messages:
   ea.e0.e9.e8.e7.....   e4
   CPU 0 booting
   boot dka0.0.0 ...... -flags a
   boot strap code read in
   jumping to boot strap code

   Loading vmunix
   ....
   ....

I do not see any other prompt to stop or alter the boot sequence, etc. Due to various reasons the system does not complete the boot sequence in multi user mode (init level 3).
0
Comment
Question by:seedy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:julio011597
ID: 1812109
I've no access to an Alpha anymore (nor to documentation), so i'll just give you a few hints from what i can remember.

First, while booting, a *wild* CTRL-C hitting does stop the boot.

If instead you haven't stopped the boot, as root you can:

# shutdown -h now

to get back to console mode. After shutdown, from console, issue a:

# man init

to get init parameters to boot in level 1 (maybe "init -S"?).

Also, from console, issue:

# show all

to get values of your boot parameters (cannot remember the exact names - maybe "auto_action" is the relevant one?). Anyway, any OS installation guide has a section dedicated to what (and how) to set in order to prevent an automatic boot - which is a needed step before starting an installation.

This said, a "man reboot" or "man init" (from level 3) should give you the usual way to just reboot in level 1 from level 3 (because, yes, it is doable - again, maybe "init -S").

HTH, julio

P.S. i don't know if this is worth a grade, so i'll leave this up to your judgment.
0
 
LVL 5

Expert Comment

by:julio011597
ID: 1812110
Sorry, i lost your last sentence: "Due to various reasons the system does not complete the boot sequence in multi user mode (init level 3)".

In my experience, when a boot fails on level 3, you get straight to a level 1 prompt... what's happening in your case?

-julio
0
 
LVL 2

Author Comment

by:seedy
ID: 1812111
Just after posting this Q, EE got screwed up.  Meanwhile, I did manage to bring up the machine in single user mode.  Yes, as you mentioned CTL-C, while the 'CPU 0 booting' message is displayed, takes you to the console prompt '>>>'.  Help gives you info on available commands.  To goto single user mode you need to do:
    boot -flags s

".. what's happening in your case?"
We had problems with the NIS and and NFS services and so the system will boot up to init level 3, but one cannot login to the machine.  Thats why we had to boot to signle user, fix problems.

Thanks for your help.  Now, if you could make it as an answer, I will award them points to you.

0
 
LVL 5

Accepted Solution

by:
julio011597 earned 150 total points
ID: 1812112
Well, thanks for your clarifications :)

The answer was: *wildly* hit CTRL-C while the machine starts booting.

BTW, "one cannot login to the machine" sounds like a really strange situation. Whichever the problem, and whichever the boot level reached, i've never seen - on Alpha - a complete system hung-up preventing even root to login...?

Regards, julio
0
 
LVL 2

Author Comment

by:seedy
ID: 1812113
Well, the machine was setup to run with NIS.  Then it was moved to a totaly different physical location/network.  The IP number, netmask were wrong.  There weren't any NIS servers on the new network, etc.  Login prompt did appear, accepted login-id and then went to a limbo, never prompted for a password(not for atleast 5 minutes - that was my patience level)

Thanks for your help.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question