Cloning Solaris from/to different architecture.

From: Sebastien Daubigne (sebastien.daubigne@atosorigin.com)
Date: Tue Apr 19 2005 - 12:09:25 EDT


I'd like to clone a Solaris 8 system from one architecture to another.

The source is a Sun E450 (sun4u), the target is a Fujitsu PW900 (sun4us).
The problem would be the same as from an E450 to an E10K (sun4u1).

Apart from the devices paths and boot loader problems that can be easily
solved (devfsadm -p...., installboot, etc.), the problem is the
arch-specific ("sun4us") files under /platform, /usr/platform, etc. that are
missing on the E450.
How can I add theses specific arch packages and "activate" them.

If I take, for instance, "prtdiag", it is member of the SUNWkvm package on
both platforms (sun4u and sun4us). But the package's pkginfo output look
like this :

SUN4US>> pkginfo -l SUNWkvm
   PKGINST: SUNWkvm
      NAME: Core Architecture, (Kvm)
  CATEGORY: system
      ARCH: sparc.sun4us
   VERSION: 11.8.0,REV=2000.01.13.13.41

SUN4U>> pkginfo -l SUNWkvm
   PKGINST: SUNWkvm
      NAME: Core Architecture, (Kvm)
  CATEGORY: system
      ARCH: sparc.sun4u
   VERSION: 11.8.0,REV=2000.01.08.18.12

As you can see, the packages have the same version, but different
ARCH/revision. I didn't know that the same package can have different arch.
Were they installed from different package archive or did the pkgadd install
only the specific arch part ? (I can't see any "arch"option in pkgadd
manpage)

Is there any way to add the missing arch-specific files for SUN4US on SUN4U
? Should I install the same package for another arch ?

Thanks

--
Sebastien DAUBIGNE
Sebastien.daubigne@atosorigin.com - +33(0)5.57.26.56.36
AtosOrigin Infogerance - IMS/ERP/Pessac
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:33 EDT