WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] How to install OpenIndiana DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to install OpenIndiana DomU
From: Christophe Bailleux <ch.bailleux@xxxxxxxxx>
Date: Mon, 7 Mar 2011 14:19:09 +0100
Delivery-date: Mon, 07 Mar 2011 05:20:16 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=4J7IR+RaAdiE1IACbEHU7w1idb79rsTPKwo5RbKxMMs=; b=ffd9AGheK2C4zNleHUqgTGC9ymn+RvN3iD+ql07/iSuC2X8QL9p2j2EWjHzWOfQWGu Ur9GComN7ykgLCCkSuf4Pz//8rofZ930aB4posgvhLhaCEO96gSfOnFOwBDDjwqyLxhP Uhuww61DRdRX46ziM4E+4cH3xJKqovBs5Id0s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=AnIx0bUbKTVQpDad/LpWdMLAQ6JqDQtqbgQgctrtqnJgkiV52ygzq92Bei89G4AjwY BEoE9ig51tOs1cNZTtddsebZAKis44hfXKdiYUL3Gn+I7/atJGMch9IWcBIEPgB1P0yP VyK5jfIdIflCzidQ9PbVZ4uU/ZK3prS4hWF0A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTim10h==TqpjCdbH0QoQ8dpxaMXPuqoHmUcCRgMS@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikdc6MaVGH6EjDavCdXx+CjEkT2QNwofZkJzsiU@xxxxxxxxxxxxxx> <AANLkTinJ2fhGVC_1x6=OXWcmdKSH4fpcBcqcq=EWyg2x@xxxxxxxxxxxxxx> <AANLkTimozirB7qWair2FLK+1fkzhuiTFEpQn5_pdsknU@xxxxxxxxxxxxxx> <AANLkTinWWibu0PKHLCDOAcS-mBz2VBVJvta6ST-YiiFv@xxxxxxxxxxxxxx> <AANLkTimyu4mvp5Er6ogpgfm=e698RM0Y2N80QatdW16t@xxxxxxxxxxxxxx> <AANLkTim10h==TqpjCdbH0QoQ8dpxaMXPuqoHmUcCRgMS@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Now the system is running.
My config file to run the system

OpenIndiana Build oi_148 64-bit
SunOS Release 5.11 - Copyright 1983-2010 Oracle and/or its affiliates.
All rights reserved. Use is subject to license terms.


My config file to run the system:

name = 'indiana'
memory = 2048
vcpus = 1
kernel = '/solaris/unix'
ramdisk = '/solaris/boot_archive'
extra = "/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool1/ROOT/solaris,bootpath=/xpvd/xdf@51712:a"
disk = ['file:/xen/domains/open-indiana/disk.img,xvda,w']
vif = [ 'bridge=br0' ]


In the extra i need to use rpool1 and solaris value.

My "zfs list" looks like this:

rpool1                        4.05G  15.5G    45K  /rpool1
rpool1/ROOT                   1.98G  15.5G    31K  legacy
rpool1/ROOT/solaris           1.98G  15.5G  1.98G  /
rpool1/dump                   1.00G  15.5G  1.00G  -


On Mon, Mar 7, 2011 at 11:09 AM, Christophe Bailleux <ch.bailleux@xxxxxxxxx> wrote:
Ok now installation works fine with this config file:

name = 'solaris'
memory = 2048
vcpus = 1
kernel = '/solaris/unix'
ramdisk = '/solaris/boot_archive'
extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya"
disk = ['file:/var/tmp/oi.iso,6:cdrom,r', 'file:/xen/domains/open-indiana/disk.img,0,w']
vif = [ 'bridge=br0' ]

The installation is finished. Now i'm testing to run the system ... ^^


On Mon, Mar 7, 2011 at 8:37 AM, Christophe Bailleux <ch.bailleux@xxxxxxxxx> wrote:
Hi,

I 've tested too and i get the same error.
I'm using the  Debian squeeze package : Xen 4.01. So i think my pygrub is not too old...
I'v copied manually kernel and ramdisk image too but it's not work:

Using config file "/etc/xen/solaris.cfg".

Error: Boot loader didn't return any data!

 
My config:

vcpus       = '1'
memory      = '1024'
name        = 'solaris'

bootloader = "/usr/bin/pygrub"
vif = [ "" ]
disk =  [
       "file:/var/tmp/osol.iso,xvdc:cdrom,r",
       "file:/xen/domains/solaris/disk.img,xvda2,w"
        ]
kernel = "/solaris/unix"
ramdisk = "/solaris/x86.microroot"
extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom"

> >



On Mon, Mar 7, 2011 at 4:54 AM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:



Is the ISO listed first? It must, in order for pygrub to pick it up.

You can also test if pygrub can correctly load kernel and ramdisk from
ISO by running something like

pygrub /path/to/your/openindiana.iso

If you see an error, then probably your pygrub version is too old. Try
MRJ's for example on how to use kernel and ramdisk copied manually
from the ISO.

--
Fajar



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>