No way to install a flar archive of Solaris 10 to Solaris 11.4 zone

I want to migrate a solaris 10 os to solaris 11.4 zone.
I did this

a)Collect some data like id sysid,disks,ip,etc..on solaris10

OK

b)Create this file.cfg with this command on solaris 10

zonep2vchk -c > /migration/sol10.cfg

OK

c)Create the archive flash on Solaris10

flarcreate -L cpio -S -n solaris10  /migration /migration/solaris10.flar 

OK

d)On solaris 10 I put the flar and cfg on /migrate shared folder

OK

e)On solaris 11 I mount the folder (nfs)

mount sol10:/migrate /mnt

OK

f)I configure the zone

 zonecfg -z solaris10 -f /mnt/solaris10/sol10.cfg 

OK

g)And finally I install the archive and...

FAIL!

zoneadm -z solaris10 install  -a /mnt/solaris10/sol10.flar 
The following ZFS file system(s) have been created:
    rpool/zones
    rpool/zones/solaris10
Progress being logged to /var/log/zones/zoneadm.20181008T175155Z.solaris10.install
       Image: Preparing at /zones/solaris10/root.

ERROR: archiveadm info: Execution failed: file:///mnt/solaris10/sol10.flar is not a valid Unified Archive
ERROR: Could not read info from Unified Archive '/mnt/solaris10/sol10.flar'.
zoneadm: zone 'solaris10': ERROR: installation failed: zone switching to configured state
The following ZFS file systems are being removed:
    rpool/zones/solaris10
    rpool/zones

I have tried to change options to flarcreate

flarcreate  -n solaris10  /migration /migration/solaris10.flar 
flarcreate  -n solaris10  /migration -c /migration/solaris10.flar 

But nothing..same error.
How to migrate?
Thanks

------ Post updated at 12:06 PM ------

Solution found,editing zone the brand must be

brand: solaris10

instead of configured

brand: solaris
1 Like

Thanks for posting the solution and marking your question solved.