Sorry... it should have been zones-discuss at opensolaris.org.


Jonathan Warner wrote:
> I've been trying to install a Solaris 10 full OS in a non-global zone of an 
> open solaris machine. I followed the following steps;
> 
> 1. Installed the Solaris10 brand package in the global zone, which allowed me 
> to create a solaris 10 branded zone. 
> 2. Using "flarcreate" created an image of the machine to be installed in the 
> branded zone.
> 3. Tried to install the image in the branded zone using the following 
> commands;
> 
> * Can anyone suggest what I can do next? *
> 
> /zonespool# zoneadm -z z2 install -a /zonespool/engtsc22.flar -u
> A ZFS file system has been created for this zone.
>       Log File: /var/tmp/z2.install_log.6yaG3g
> Postprocessing: This may take a while...
>    Postprocess: ERROR: Invalid 'etc' directory within the zone
>         Result: Postprocessing failed.
> 
>         Result: *** Installation FAILED ***
>       Log File: /var/tmp/z2.install_log.6yaG3g
> jack at engtsc48:/zonespool# zoneadm list -cv
>   ID NAME             STATUS     PATH                           BRAND    IP   
>  
>    0 global           running    /                              native   
> shared
>    1 z1               running    /zonespool/z1                  ipkg     
> shared
>    - z2               incomplete /zonespool/z2                  solaris10 
> shared
> jack at engtsc48:/zonespool# cat /var/tmp/z2.install_log.6yaG3g
> [Friday, 11 December 2009 15:58:50 GMT]       Log File: 
> /var/tmp/z2.install_log.6yaG3g
> [Friday, 11 December 2009 15:58:50 GMT] Starting pre-installation tasks.
> [Friday, 11 December 2009 15:58:50 GMT] Installation started for zone "z2"
> /usr/lib/brand/solaris10/image_install[214]: install_image: not found [No 
> such file or directory]
> [Friday, 11 December 2009 15:58:50 GMT] Postprocessing: This may take a 
> while...
> [Friday, 11 December 2009 15:58:50 GMT] running: p2v  -u z2 /zonespool/z2
> [Friday, 11 December 2009 15:58:51 GMT] ERROR: Invalid 'etc' directory within 
> the zone
> [Friday, 11 December 2009 15:58:51 GMT]         Result: Postprocessing failed.
> [Friday, 11 December 2009 15:58:51 GMT] 
> [Friday, 11 December 2009 15:58:51 GMT]         Result: *** Installation 
> FAILED ***
> [Friday, 11 December 2009 15:58:51 GMT]       Log File: 
> /var/tmp/z2.install_log.6yaG3g
> jack at engtsc48:/zonespool# exit
> exit

Reply via email to