The RS/6000AIX Boot Mode is divided into multi-user normal mode and single-user service mode. Generally, the multi-user guide mode is selected under normal circumstances. During system maintenance, the single-user mode is selected.
1. Multi-User Guide Mode
After the system is correctly installed, perform the following two steps for multi-user mode guidance:
● Switch the front panel key to switch to the head counterclockwise at the Normal position ).
● Press the system POWER supply in the multi-processor system, you can type POWER on the console and press Enter ).
Later, the system runs automatically and enters multi-user mode. The login wait interface appears. In multi-user mode, the system boot process goes through the following phases in sequence:
Phase 1: read-only memory boot program imports ros ipl)
This phase includes power-on self-check POST), find the boot device, and load the boot core into the memory.
Phase 2: Configure basic Devices
In this phase, the system runs/etc/rc. boot 1. Rc. boot create Object Data Manager ODM) database, ensure that the basic device is set, then initialize the logical volume manager LVM), activate the root volume group rootvg), check and install the root file system.
Phase 3: Configure other devices
In this phase, the system runs/etc/rc. boot 2. Load the ODM data and device files into the root file system and configure other devices not configured in Phase 2.
Phase 4: system initialization
In this phase, start/etc/init with the process ID pid) as 1.
Phase 5: operation phase
In this phase, init runs the entries in the/etc/inittab file and calls/etc/rc. boot 3. Then, install the/tmp File System. The ODM database is saved for the next startup, and the running status is set to multiple users, if entries such as TCP/IP and NFS in the/etc/inittab are not commented out, these systems will be started.
The following is a typical/etc/inittab file.
Init: 2: initdefault:
Brc: sysinit:/sbin/rc. boot 3>/dev/console 2> & 1 # Phase 3 of system boot #★Phase 5
Powerfail:/etc/rc. powerfail 2> & 1 | alog-tboot>/dev/console # Power
Failure Detection
Rc: 2: wait:/etc/rc 2> & 1 | alog-tboot>/dev/console # Multi-User checks #★Multi-User Mode
Fbcheck: 2: wait:/usr/sbin/fbcheck 2> & 1 | alog-tboot>/dev/console # run/etc/firstboot
Srcmstr: 2: respawn:/usr/sbin/srcmstr # System Resource Controller #★Start SRC
Rctcpip: 2: wait:/etc/rc. tcpip>/dev/console 2> & 1 # Start TCP/IP daemons #★Start tcpip
Rcnfs: 2: wait:/etc/rc. nfs>/dev/console 2> & 1 # Start NFS Daemons #★Start NFS
Cron: 2: respawn:/usr/sbin/cron
Piobe: 2: wait:/usr/lib/lpd/pio/etc/pioinit>/dev/null 2> & 1 # pb cleanup
Qdaemon: 2: wait:/usr/bin/startsrc-sqdaemon
Writesrv: 2: wait:/usr/bin/startsrc-swritesrv
Uprintfd: 2: respawn:/usr/sbin/uprintfd
Logsymp: 2: once:/usr/lib/ras/logsymptom # for system dumps
Infod: 2: once: startsrc-s infod
Diagd: 2: once:/usr/lpp/diagnostics/bin/diagd>/dev/console 2> & 1
Dt: 2: wait:/etc/rc. dt #★General desktop environment
Cons: 0123456789: respawn:/usr/sbin/getty/dev/console #★Start the ASCII terminal waiting process
As you can see, the/etc/inittab runs the/etc/rc. dt script to start the General desktop environment CDE on the lft low-function terminal device ). The xdm-like interface is displayed, which is completely different from the logon interface displayed on the ASCII terminal.
Before Phase 5, you can learn about the boot sequence through the LED display on the front panel of the machine. When the boot sequence is in progress, the LED has three bits of code flashing. If you want to know the meaning of the Code, go to the diagnosis guide. At a certain stage, you will see the code c32 or c33, which shows that the runtime stage is being allocated to the console. C32 is a low-function terminal (lfts), and c33 is a serial-port terminal (ttys ).
2. Single User Guide Mode
To enter the single-user boot mode on AIX, you only need to set the key to the maintenance SERVICE location, and then power on the system.
The system first displays the Diagnostic Operation Command Diagnostic Operating Instructions) screen. On this screen, press enter to enter the Function Selection menu. For example:
FUNCTION SELECTION
IDITEM
1. Diagnostic Routines
...
Service Aids
...
3. Advanced Diagnostics Routines
...
4. Initialize Terminal
99. Exit Diagnostics
To make a selection, type the number and press Enter. [4]
Select 4 and press enter to enter the terminal settings window. Enter the terminal type, for example, vt100. Press enter and return to the Function Selection menu shown in:
FUNCTION SELECTION
Move cursor to selection, then press Enter.
Diagnostic Routines
Select Service Aids and enter the Service Aids Selection menu. In this menu, select AIX Shell Prompt. After this option is selected, the password input requirement is displayed. Once you enter the root user password, the system enters the single-user mode.
Advanced Diagnostics Routines
If an error occurs during the system boot phase, use the system installation media, such as cdrom or tape, and place the key to the maintenance SERVICE.
3. System Shutdown
To shut down the system, the shutdown command is generally used, but you must log on as the root user. The following are examples of system shutdown:
1) Turn off the system in 10 minutes:
# Shutdown + 10
2) fast shutdown without warning:
# Shutdown-F or
# Halt
3) Disable and warn the user to exit:
# Shutdown now
4) shut down and restart after 1 minute of warning:
# Shutdown-r
5) fast shutdown and restart:
# Shutdown-Fr
# Reboot
6) Disable AIX to single-user mode:
# Telinit S
# Init s
# Shutdown-m
Oracle video tutorial follow: http://u.youku.com/user_video/id_UMzAzMjkxMjE2.html