[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.