Using this scenario, you can perform a non-prompted new and complete overwrite base operating system installation from CD. The first time you install, the base operating system (BOS) installation program presents menus from which you must choose setup options.
For subsequent installations, you can change many aspects of the default BOS installation program by editing the bosinst.data file. The bosinst.data file directs the actions of the BOS installation program. The file resides in the /var/adm/ras directory on the installed machine only, and it is not accessible on the commercial tape or the CD on which you received AIX 5.2.
Also, the bosinst.data file can be used to replicate one set of installation settings on other machines. For example, system administrators can create a bosinst.data file with settings that can be used to install all the machines they support that have the same configuration.
In this scenario, you will create a bosinst.data file that will not prompt the user during the BOS installation menus.
In this scenario, you will do the following:
If you are overwriting an existing system, gather the TCP/IP information from the system before you begin this scenario.
Note: The following example includes automatic acceptance of Software License Agreements.
control_flow: CONSOLE = /dev/lft0 INSTALL_METHOD = overwrite PROMPT = no EXISTING_SYSTEM_OVERWRITE = yes INSTALL_X_IF_ADAPTER = yes RUN_STARTUP = yes RM_INST_ROOTS = no ERROR_EXIT = CUSTOMIZATION_FILE = TCB = INSTALL_TYPE = full BUNDLES = SWITCH_TO_PRODUCT_TAPE = no RECOVER_DEVICES = yes BOSINST_DEBUG = no ACCEPT_LICENSES = yes INSTALL_64BIT_KERNEL = INSTALL_CONFIGURATION = DESKTOP = CDE target_disk_data: LOCATION = SIZE_MB = HDISKNAME = hdisk0 locale BOSINST_LANG = en_US CULTURAL_CONVENTION = en_US MESSAGES = C KEYBOARD = en_US
/usr/lpp/bosinst/bicheck bosinst.data
cp /var/adm/ras/bosinst.data /bosinst.data
data
The BOS installation program uses the customized bosinst.data file on the diskette, rather than the default bosinst.data file shipped with the installation media to answer the questions in the BOS menus. If you filled in the values correctly in the bosinst.data file, the BOS installation will begin. If the BOS installation program detects an error with a value in the bosinst.data file, the BOS menus will display with a message explaing what information needs to be corrected.