Wednesday, 18 July 2012

Error 0301-150

I encountered problem “0301-150 bosboot: Invalid or no boot device specified!” while cloning a rootvg to an another disk for Technology upgrade using simtty ( cmd: /usr/sbin/alt_disk_copy -I agXY -P all -l . -F update_all -d hdisk4) and upgrade failed.
Reason : Somehow the last boot disk information was missing on the server . There was no output of the command bootinfo -b
e.g
$ bootinfo -b ##### root@wenmanual01
Solution :
1) Create the boot image again for your safe side using command bosboot -ad /dev/hdiskXX
2) Reboot the server using command shutdown -Fr
3) After reboot login to server and check bootinfo -b . It should provide a output
e.g
$ bootinfo -b
hdisk1
4) Start the upgrade again
I have seen people also encountered this problem after migrating the whole rootvg from some disks to other disks.
Reason : The problem occurs when running the bosboot -a command w/o the device flag set to a specific disk device. If one omits the device parameter, bosboot calls the bootinfo command to determine the correct disk device to put the BLV content on (bootinfo -b). As we migrated the whole rootvg, bootinfo gives back an old hdisk device which WAS the boot device, but either is no longer bootable or non-existant . Solution is same as above and bad luck is we almost can not resolve this problem with reboot.

* Article Source from : Internet