Sometimes, AIX migrations are a pain…

*************************************************************
Mksysb\Migration Enabled
*************************************************************

Running: Init_Target_Disks...
Running: Other_Initialization...
Running: Fill_Target_Stanzas...
Running: Check_Other_Stanzas...
Could not load program ls:
Cannot run a 64-bit program until the 64-bit
environment has been configured. See the system administrator.

This is because the default in 32-bit systems is to NOT load the 64-bit kernel. Just another line to override in the bosinst.data file:

So, the total list so far is:
CONTROL_FLOW stanza must be set as follows:

     MKSYSB_MIGRATION_DEVICE = network
     INSTALL_METHOD = migrate
     PROMPT = no
     EXISTING_SYSTEM_OVERWRITE = yes
     RECOVER_DEVICES = no
     INSTALL_64BIT_KERNEL = yes

target_disk_data should have one entry for each of hdisk0 and hdisk1

target_disk_data:
        PVID =
  PHYSICAL_LOCATION =
        CONNECTION =
        LOCATION =
        SIZE_MB =
        HDISKNAME = hdisk0