|
The next screen displays a warning that indicates you will not be able to return to the Base OS menu without rebooting.
The next screen displays information about all volume groups on the system.
/usr/sbin/logform /dev/hd8
Answer yes when asked if you want to destroy the log.
exit sync;sync;sync;reboot
As you reboot in Normal mode, notice how many times LED 551 appears. If LED 551 appears twice, fsck is probably failing because of a bad fshelper file. If this is the case and you are running AFS, see step 11.
The majority of instances of LED 552, 554, and 556 will be resolved at this point. If you still have an LED 552, 554, or 556, you may try the following steps.
ATTENTION: The following steps will overwrite your Object Data Manager (ODM) database files with a very primitive, minimal ODM database. Due to the potential loss of user configuration data caused by this procedure, it should only be used as a last resort effort to gain access to your system to attempt to back up any data that you can. It is NOT recommended to use the following procedure in lieu of restoring from a system backup.
mount /dev/hd4 /mnt mount /dev/hd2 /mnt/usr mkdir /mnt/etc/objrepos/bak cp /mnt/etc/objrepos/Cu* /mnt/etc/objrepos/bak cp /etc/objrepos/Cu* /mnt/etc/objrepos umount /dev/hd2 umount /dev/hd4 exitDetermine which disk is the boot disk with the lslv command. The boot disk will be shown in the PV1 column of the lslv output.
lslv -m hd5
Save the clean ODM database to the boot logical volume. (# is the number of the fixed disk, determined with the previous command.)
savebase -d /dev/hdisk#
If you are running AFS, go to step 11; otherwise, go to step 12.
cd /sbin/helpers ls -l v3fshelper*
If you have only one version of the v3fshelper file (for example, v3fshelper), proceed to step 12.
If there is a version of v3fshelper marked as original (for example, v3fshelper.orig), run the following commands:
cp v3fshelper v3fshelper.afs cp v3fshelper.orig v3fshelper
Make sure that hd5 is on the edge of the drive and if it is more than 1 partition that the partitions are contiguous. For systems of 5.1 and above, make sure that hd5 is greater than 12 MB:
lslv hd5 (Check to see what the PP Size: is equal to) lslv -m hd5
LP PP1 PV1 PP2 PV2 PP3 PV3 0001 0001 hdisk2 0002 0002 hdisk2
Recreate the boot image (hdisk# is the fixed disk determined in step 11):
bosboot -a -d /dev/hdisk#
Make sure the bootlist is set correctly:
bootlist -m normal -o
Make changes, if necessary:
bootlist -m normal hdiskX cdX(This can be edited to whatever you wish it to be.)
NOTE: If you suspect an inactive or damaged disk device is causing the boot problem and the boot logical device, hd5, is mirrored onto another device, you may wish to list this other boot device first in the bootlist.
Make sure that the disk drive that you have chosen as your bootable device has a yes next to it:
ipl_varyon -i
Example:
PVNAME BOOT DEVICE PVID VOLUME GROUP ID hdisk1 NO 0007b53cbfd04a9000000000000000000007b53c00004c00 hdisk4 NO 0007b53c1244625d00000000000000000007b53c00004c00 hdisk2 YES 0007b53c8ffd631200000000000000000007b53c00004c00
From the above example, hdisk2 would be a bootable disk drive while hdisk1 and hdisk4 would not be.
cp v3fshelper.afs v3fshelper
sync;sync;sync;reboot
|