[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 System Management Guide: Operating System and Devices

Creating Boot Images

To install the base operating system or to access a system that will not boot from the system hard drive, you need a boot image. This procedure describes how to create boot images. The boot image varies for each type of device. The associated RAM disk file system contains device configuration routines for the following devices:

Prerequisites

  1. You must have root user authority to use the bosboot command.
  2. The /tmp file system must have at least 7MB of free space.
  3. The physical disk must contain the boot logical volume. To determine which disk device to specify, enter:
    lsvg -l rootvg
    The lsvg -l command lists the logical volumes on the root volume group (rootvg). From this list you can find the name of the boot logical volume. Then use the following command:
    lsvg -M rootvg
    The lsvg -M command lists the physical disks that contain the various logical volumes.

Creating a Boot Image on a Boot Logical Volume

If the base operating system is being installed (either a new installation or an update), the bosboot command is called to place the boot image on the boot logical volume. The boot logical volume is a physically contiguous area on the disk created through the Logical Volume Manager (LVM) during installation.

The bosboot command does the following:

  1. Checks the file system to see if there is enough room to create the boot image.
  2. Creates a RAM file system using the mkfs command and a prototype file.
  3. Calls the mkboot command, which merges the kernel and the RAM file system into a boot image.
  4. Writes the boot image to the boot logical volume.

To create a boot image on the default boot logical volume on the fixed disk /dev/hdisk0, enter:

bosboot -a -d /dev/hdisk0
Note: Do not reboot the machine if the bosboot command fails while creating a boot image. The problem should be resolved and the bosboot command run to successful completion. For information about solving boot problems, see the AIX Version 4.3 Problem Solving Guide and Reference.

You must reboot the system for the new boot image to be available for use.

Creating a Boot Image Containing an Uncompressed RAM File System Boot Image

To create an uncompressed RAM file system boot image for the fixed disk /dev/hdisk0, enter:

bosboot -a -U -d /dev/hdisk0

Creating a Boot Image Containing a Compressed RAM File System for a Network

To create a compressed RAM file system boot image for an Ethernet boot, enter:

bosboot -ad /dev/ent

For a Token-Ring boot:

bosboot -ad /dev/tok

[ Previous | Next | Contents | Glossary | Home | Search ]