Using the standby BOS shell operation

The multibos shell operation -S flag enables you to start a limited interactive chroot shell with standby BOS file systems.

This shell allows access to standby files using standard paths. For example, /bos_inst/usr/bin/ls maps to /usr/bin/ls within the shell. The active BOS files are not visible outside of the shell, unless they have been mounted over the standby file systems. Limit shell operations to changing data files, and do not make persistent changes to the kernel, process table, or other operating system structures. Only use the BOS shell if you are experienced with the chroot environment.

The multibos shell operation performs the following steps:

  1. The standby BOS file systems are mounted, if they are not already.
  2. The chroot utility is called to start an interactive standby BOS shell. The shell runs until an exit occurs.
  3. If standby BOS file systems were mounted in step 1, they are unmounted.
Here is an example of some operations that can be performed in the multibos shell:
MULTIBOS> lppchk –v   # check system fileset consistency  
MULTIBOS> installp -ug bos.games # removes bos.games  
MULTIBOS> oslevel –r # reports recommended maintenance level for standby BOS

Automatic file system expansion

The multibos -X flag auto-expansion feature allows for automatic file system expansion, if space is necessary to perform multibos-related tasks. Start all multibos operations with this flag.