Maybe modify /vault/share/Software/stage3-i686-2008.0.tar.bz2 so that it contains a root/etc/sysconfig directory? Otherwise you'll need to modify/patch the script that attempts to place /zone/1/root/etc/sysconfig/network and put a "mkdir -p" before it to ensure the directory exists.

Manuel Astudillo wrote:
Hi,

you are right. The sunwlxu package was missing.

Now after some strugling I come to a point were I am stuck. I get the following error when trying to install the zone using zoneadm:
( from /zone/1/root/var/log/lx-zone.install.1219.log )

Installation started for zone "lx-zone" Sat Nov 29 08:34:50 CET 2008
Installing zone 'lx-zone' at root directory '/zone/1'
from archive '/vault/share/Software/stage3-i686-2008.0.tar.bz2'

Initial lx_brand environment modification started Sat Nov 29 08:35:50 CET 2008
Making needed directories in "/zone/1/root".

Modifying system configuration in "/zone/1/root"
Creating "/zone/1/root/var/ld/ld.config"...

Modifying "/zone/1/root/etc/fstab"...
Modifying: "/zone/1/root/etc/inittab"...

Modifying: "/zone/1/root/etc/sysconfig/network"...
etc/sysconfig/network: cannot create [No such file or directory]
Could not create new "/zone/1/root/etc/sysconfig/network"!
Tar install failed for zone "lx-zone" Sat Nov 29 08:35:50 CET 2008.

Installation of zone 'lx-zone' FAILED.

See the log file:
  '/zone/1/root/var/log/lx-zone.install.1219.log'
for details.

Any Ideas?

regards,

Manuel.


On 29 nov 2008, at 14.47, Michael Watters wrote:

Hmm, looks like you need to install the sunwlxu and sunwlxr packages,
once that's done the zone should work.

apt-get install sunwlxr sunwlxu

[EMAIL PROTECTED]:~# ls /usr/lib/brand/
lx  native

[EMAIL PROTECTED]:/etc/zones# zonecfg -z lx-zone
lx-zone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:lx-zone> create -t SUNWlx26
zonecfg:lx-zone> set zonepath=/zone/lx-zone
zonecfg:lx-zone> verify

As you can see there are no errors.


On Sat, Nov 29, 2008 at 7:24 AM, Manuel Astudillo <[EMAIL PROTECTED]> wrote:
Hi Michael,

I tried to create a zone as described in the links you told me ( linux 2.6
compatible ), but when I try to verify and commit I get an error.
Googling this error shows me that in some old nexenta releases zones were
not really working. I am using NCP 2 beta:

zonecfg:lx-zone> commit
lx-zone: unknown brand.

lx-zone: Invalid document
zonecfg:lx-zone> verify
lx-zone: unknown brand.

lx-zone: Invalid document
zonecfg:lx-zone>

regards,

Manuel.

_______________________________________________
gnusol-users mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-users

_______________________________________________
gnusol-users mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-users

Reply via email to