Pages

Monday, July 17, 2006

Re-create a Corrupted Boot Image in AIX

Re-create a Corrupted Boot Image in AIX

The following procedure describes how to identify a corrupted boot image and re-create it. If your machine is currently running and you know the boot image has been corrupted or deleted, re-create the boot image by running the bosboot command with root authority.
Attention: Never reboot the system when you suspect the boot image is corrupted.
The following procedure assumes your system is not rebooting correctly because of a corrupted boot image. If possible, protect your system from a possible loss of data or functionality by scheduling your downtime when it least impacts your workload.
Insert the product media into the appropriate drive.
Power on the machine following the instructions provided with your system.
From the System Management Services menu, select Multiboot.
From the next screen, select Install From.
Select the device that holds the product media and then select Install.
Select the AIX version icon.
Follow the online instructions until you can select which mode you use for installation. At that point, select Start Maintenance Mode for System Recovery.
Select Access a Root Volume Group.
Follow the online instructions until you can select Access this Volume Group and start a shell.
Use the bosboot command to re-create the boot image. For example: bosboot -a -d /dev/hdisk0
If the command fails and you receive the following message: 0301-165 bosboot: WARNING! bosboot failed - do not attempt to boot device.
Try to resolve the problem using one of the following options, and then run the bosboot command again until you have successfully created a boot image:
Delete the default boot logical volume (hd5) and then create a new hd5.Or
Run diagnostics on the hard disk. Repair or replace, as necessary.
If the bosboot command continues to fail, contact your customer support representative.
Attention: If the bosboot command fails while creating a boot image, do not reboot your machine.
When the bosboot command is successful, use the reboot command to reboot your system.

No comments:

Post a Comment