📖 ~1 min read
Table of contents
Symptom & Impact
mksysb restore fails with bos_inst errors or restwpar-like media issues.
Environment & Reproduction
Restoring via NIM or local tape/USB with mismatched architecture or filesets.
lsmksysb -lf /backup/mksysb.img
nim -o bos_inst -a source=mksysb client01
errpt | head
Root Cause Analysis
Backup image is incomplete, from a different architecture, or NIM resources are wrong.
Quick Triage
Inspect the image manifest and target architecture.
lsmksysb -lf /backup/mksysb.img
bootinfo -p
lsnim -l mksysb_res
Step-by-Step Diagnosis
Validate NIM mksysb resource and spot resource type.
lsnim -l mksysb_res
lsnim -l spot_res
nim -o lslpp -a lpp_source=lpp01 client01

Solution – Primary Fix
Recreate matching SPOT and mksysb resources, then restart the bos_inst operation.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
nim -o remove mksysb_res
nim -o define -t mksysb -a server=master -a location=/backup/mksysb.img mksysb_res
nim -o bos_inst client01

Solution – Alternative Approaches
Restore manually using restbyname on a maintenance-booted system and rebuild boot.
Verification & Acceptance Criteria
Client boots from restored mksysb to login banner with expected oslevel.
oslevel -s
lsvg rootvg
lssrc -a | head
Rollback Plan
Reset the NIM client and fall back to a previous mksysb image if restore is unstable.
nim -o reset -a force=yes client01
nim -o bos_inst -a source=mksysb -a mksysb=old_res client01
oslevel -s
Prevention & Hardening
Validate mksysb after creation with lsmksysb and keep paired SPOT/lpp_source up to date.
Related Errors & Cross-Refs
Related to bosboot failures, NIM master errors, and rootvg integrity issues.
Related tutorial: View the step-by-step tutorial for aix-7.2.
View all aix-7.2 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
IBM AIX 7.2 backup and recovery documentation.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.