On Fri, Aug 8, 2008 at 5:15 PM, Dan Price <[EMAIL PROTECTED]> wrote:
> On Fri 08 Aug 2008 at 11:13AM, Edward Pilatowicz wrote:
>> > [Thu Aug  7 23:59:44 EDT 2008]     Installing: This may take several 
>> > minutes...
>> > [Thu Aug  7 23:59:44 EDT 2008] cd /zones/solaris8/root &&
>> > [Thu Aug  7 23:59:44 EDT 2008] do_flar < "/engr.flar"
>> > uncompress: stdin: corrupt input
>
> This code changed recently, and I guess there's a bug.  My suggestion
> for now would be to use 'flar split' to unpack your archive by hand,
> then use the '-d' option to install the zone from the resulting
> directory of files.  Make sure to do the unpack as root so that file
> permissions are correct.

bash-3.00# cd /
bash-3.00# flar split -d /flash engr.flar
bash-3.00# ls /flash
archive         cookie          identification
bash-3.00# zoneadm -z engr-01 install -u -d /flash
      Log File: /var/tmp/engr-01.install.7570.log
  Sanity Check: /flash doesn't look like a Solaris 8 image.

bash-3.00# cat /var/tmp/engr-01.install.7570.log
[Fri Aug  8 19:29:07 EDT 2008]       Log File: /var/tmp/engr-01.install.7570.log
[Fri Aug  8 19:29:07 EDT 2008]        Product: Solaris 8 Containers 1.0
[Fri Aug  8 19:29:07 EDT 2008]      Installer: solaris8 brand installer 1.22
[Fri Aug  8 19:29:08 EDT 2008]           Zone: engr-01
[Fri Aug  8 19:29:08 EDT 2008]           Path: /zones/solaris8
[Fri Aug  8 19:29:08 EDT 2008] Starting pre-installation tasks.
[Fri Aug  8 19:29:08 EDT 2008]   Sanity Check: Missing etc at /flash
[Fri Aug  8 19:29:08 EDT 2008]   Sanity Check: Missing etc/init at /flash
[Fri Aug  8 19:29:08 EDT 2008]   Sanity Check: Missing usr at /flash
[Fri Aug  8 19:29:08 EDT 2008]   Sanity Check: Missing usr/sbin at /flash
[Fri Aug  8 19:29:08 EDT 2008]   Sanity Check: Missing usr/lib at /flash
[Fri Aug  8 19:29:08 EDT 2008]   Sanity Check: Missing sbin at /flash
[Fri Aug  8 19:29:08 EDT 2008]   Sanity Check: Missing lib at /flash
[Fri Aug  8 19:29:08 EDT 2008]   Sanity Check: Missing lib/ld.so.1 at /flash
[Fri Aug  8 19:29:08 EDT 2008]   Sanity Check: /flash doesn't look
like a Solaris 8 image.

I must be missing a step or a switch



>
>        -dp
>
> --
> Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - 
> blogs.sun.com/dp
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to