Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ reboot(8) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

crash

fsck, dfsck

halt

init, telinit

minidisks

rc

shutdown

syslogd



REBOOT(8,C)                 AIX Commands Reference                  REBOOT(8,C)



-------------------------------------------------------------------------------
reboot



PURPOSE

Restarts the machine.

SYNTAX


          +--------+
reboot ---| +----+ |---|
          +-| -l |-+
           ^| -n ||
           || -q ||
           |+----+|
           +------+


DESCRIPTION

The reboot command starts by placing the kernel in memory at location zero and
transferring to the entry point.  Since the system is not re-enterable, it is
necessary to read the kernel in from disk or tape each time it is to be loaded.

REBOOTING A RUNNING SYSTEM

When the system is running and multiple users are logged in, shutdown is
normally used to perform a reboot.  If there are no users, reboot can be used.

The reboot command causes the disks to be synced and allows the system to
perform other shutdown activities such as resynchronizing the hardware
time-of-day clock.  A reboot is then started, as described below.  By default,
the system boots and the disks are automatically checked.  If all this succeeds
without incident, the system comes up for multiple users.

POWER FAIL AND CRASH RECOVERY

For a 370:

To force a reboot, type "PA1 CP IPL ### CLEAR" where ### is the virtual address
of the system's residence disk.  If you are set up for auto-IPL, you can log
out the virtual machine, and then log back in.

For a PS/2:

Normally, the system will reboot itself at power-up or after crashes.  To force
a reboot, type "Ctrl-Alt-7" at the PS/2 console.  This will reboot the machine
without unmounting file systems and without syncing the disks.




Processed November 8, 1990        REBOOT(8,C)                                 1





REBOOT(8,C)                 AIX Commands Reference                  REBOOT(8,C)



BOOT PROCEDURE

For a 370:

After the IPL command, the disk is scanned for a bootstrap program.  This
program loads a more complex boot program in an AIX file system on the disk.
This boot program then loads the kernel debugger, and depending on the
specified boot parameter, it either boots unix.std from that file system, or
prompts the operator for the name of the AIX kernel.

+---------+----------+----------+---------------------------------------------+
|boot     | kernel   | initial  | initial debugger entry                      |
|parameter|          | state    |                                             |
+---------+----------+----------+---------------------------------------------+
|0        | unix.std | multi-use| no                                          |
+---------+----------+----------+---------------------------------------------+
|1        | ask name | multi-use| yes                                         |
+---------+----------+----------+---------------------------------------------+
|2        | unix.std | single-us|ryes                                         |
+---------+----------+----------+---------------------------------------------+
|3        | ask name | single-us|ryes                                         |
+---------+----------+----------+---------------------------------------------+

For a PS/2:

Once the PS/2 resets and completes a self-test program, the fixed disks are
scanned for a bootable AIX partition.  The boot program is loaded, which will
begin to boot unix.std, but may be interrupted by pressing any key.  After such
an interruption, the boot program will provide the devices.  The menus may be
used to boot alternate kernels and to perform system maintenance.  Refer to the
Installing and Customizing AIX for further information.

FLAGS

-l     Do not log the reboot or place a shutdown record in the accounting file.
       The -n and -q options imply -l.

-n     Do not perform the sync.  Use this option in case of catastrophe.

-q     Reboot quickly and ungracefully, without shutting down running processes
       first.

The reboot command normally logs the reboot using syslog (8) and places a
shutdown record in the login accounting file /usr/adm/wtmp.  These actions are
inhibited if the -l, -n, or -q options are present.

FILES

/unix  System code.
/boot  System bootstap.





Processed November 8, 1990        REBOOT(8,C)                                 2





REBOOT(8,C)                 AIX Commands Reference                  REBOOT(8,C)



RELATED INFORMATION

See the following commands:  "crash,"  "fsck, dfsck,"  "halt," "init,
telinit,"  "minidisks,"  "rc," "shutdown," and  "syslogd."



















































Processed November 8, 1990        REBOOT(8,C)                                 3



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026