HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 8

System Startup and Shutdown

Page 8 highlights

2. System Startup and Shutdown IRIX Normal Boot If everything is configured properly, a normal boot up simply involves powering on the computer and display monitor or console terminal. Everything else is automatic: the system comes up in multi-user mode, ready for someone to login. During boot up the system runs power-on diagnostics and displays the system startup information on the console screen. A copy of these messages is also written to the /var/adm/SYSLOG file. To see system startup messages on HP-UX use the /etc/dmesg command. Both the IRIX and HP-UX operating systems can run in either single-user or multi-user mode. The init program is used to change the run state (run level) of the system. The state of the system is controlled by the file /etc/inittab. Below is a typical /etc/inittab file for IRIX. init:2:initdefault: fs::sysinit:/etc/bcheckrc /dev/console 2>&1 mt::sysinit:/etc/brc /dev/console 2>&1 s0:06s:wait:/etc/rc0 >/dev/console 2>&1 /dev/console 2>&1 /dev/console 2>&1 /dev/console 2>&1 /dev/console 2>&1 of:0:wait:/etc/uadmin 2 0 >/dev/console 2>&1 /dev/console rb:6:wait:/etc/uadmin 2 1 >/dev/console 2>&1

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

3
2. System Startup and Shutdown
IRIX
Normal Boot
If everything is configured properly, a normal boot up simply involves powering on the computer and
display monitor or console terminal.
Everything else is automatic: the system comes up in multi-user
mode, ready for someone to login.
During boot up the system runs power-on diagnostics and displays the
system startup information on the console screen.
A copy of these messages is also written to the
/var/adm/SYSLOG
file.
To see system startup messages on HP-UX use the
/etc/dmesg
command.
Both the IRIX and HP-UX operating systems can run in either single-user or multi-user mode.
The
init
program is used to change the run state (run level) of the system.
The state of the system is controlled by
the file
/etc/inittab
.
Below is a typical
/etc/inittab
file for IRIX.
init:2:initdefault:
fs::sysinit:/etc/bcheckrc </dev/console >/dev/console 2>&1
mt::sysinit:/etc/brc </dev/console >/dev/console 2>&1
s0:06s:wait:/etc/rc0 >/dev/console 2>&1 </dev/console
s1:1:wait:/etc/shutdown –y –is –g0 >/dev/console 2>&1 </dev/console
s2:23:wait:/etc/rc2 >/dev/console 2>&1 </dev/console
s3:3:wait:/etc/rc3 >/dev/console 2>&1 </dev/console
or:06:wait:/etc/umount –ak –b /proc,/debug >/dev/console 2>&1
of:0:wait:/etc/uadmin 2 0 >/dev/console 2>&1 </dev/console
RB:6:wait:echo “The system is being restarted.” >/dev/console
rb:6:wait:/etc/uadmin 2 1 >/dev/console 2>&1 </dev/console
Run level
0
is the power-off state; run level
1
or
s
is the single-user mode; run level
2
is the default multi-
user state; run level
6
is the reboot state.
To change run levels, the system administrator can use the
telinit
,
init
,
multi
,
single
, or
reboot
commands.
To change run level on HP-UX use the
/sbin/init
command.
Initial messages that appear on the system console are also written to the file
/var/adm/SYSLOG
.
To see these messages on the HP system, run the following command in the
superuser
mode:
/etc/dmesg
.
Single-user Boot
The process for booting up in the single-user mode on the SGI system is very similar to the one on the HP
system.
Pressing the
Escape
key on either system interrupts the normal boot up sequence.
On the SGI
system a menu of various choices for system maintenance will appear on the screen.
Select the
Enter Command Monitor
option.
Type in
single
to boot the system in single-user mode.
Unlike the HP system, the SGI system will require a
password to enter this mode.