On Tue, Jul 22, 2008 at 8:52 PM, in message <769e0ec0807221952j47a97d6aw2e26592eafabb22a@mail.gmail.com>, "Wil Decius" <wilson.decius@gmail.com> wrote: I'm running OpenSuse11 as my Xen Dom0.
After figuring out that OpenSuse doesn't use 'pygrub', but rather 'domUloader.py', I'm able to install OpenSuse 11 as a PV DomU, using a config file format of,
... builder = 'linux' bootloader = '/usr/lib/xen/boot/domUloader.py' bootargs = '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen' ...
It works fine. openSuse DomU's are up and running.
Now I want to install OpenSolaris as a ParaVirt Guest.
Cobbling together what little I'v found for installing OpenSolaris as an /HVM/ Guest on Redhat, and what works for my OpenSuse Guests, my config is,
opensolaris.cfg name = "opensolaris" builder = 'linux' bootloader = '/usr/lib/xen/boot/domUloader.py' bootargs = "--entry=xvda1:/boot/platform/i86xpv/kernel/amd64/unix,/boot/amd64/x86.miniroo t' disk = ['phy:/dev/volgrp001/opensolaris,xvda,w', 'file:/home/xen/opensolaris/opensolaris.iso,hdc:cdrom,r'] boot = 'd' extra = "textmode=1 xencons=tty /platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom" vif = ['mac=00:16:3E:11:10:01, bridge=br001, vifname=vif001'] vfb = ['type=vnc, vnclisten=127.0.0.1, vncdisplay=2'] maxmem = 1024 memory = 1024 vcpus = 1 on_crash = "destroy" on_poweroff = "destroy" on_reboot = "destroy"
@
xm create -c ./opensolaris.cfg
I get just
Using config file "./opensolaris.cfg". Error: Boot loader didn't return any data!
I'm guessing 'bootargs' are wrong for OpenSolaris Guest.
Can anyone suggest the right instructions, or share a working config?
Thanks
Wil
I don't have any experience with Solaris as a guest on openSUSE 11.0, but if you are really trying to run it as an HVM guest (a.k.a. fully virtualized), then you can't use domUloader (as it is for paravirtualized guests only). There are a couple of other things that are incorrect for an HVM guest (such as your builder line, extra line, vfb line, drive designation, etc.). Therefore, your config file should look something like this: name = "opensolaris" builder = 'hvm' kernel = "/usr/lib/xen/boot/hvmloader" device_model = "/usr/lib/xen/bin/qemu-dm" disk = ['phy:/dev/volgrp001/opensolaris,hda,w', 'file:/home/xen/opensolaris/opensolaris.iso,hdc:cdrom,r'] boot = 'd' vif = ['mac=00:16:3E:11:10:01, bridge=br001, vifname=vif001'] vnc = 1 vncunused = 1 apic = 1 acpi = 1 pae = 1 maxmem = 1024 memory = 1024 vcpus = 1 on_crash = "destroy" on_poweroff = "destroy" on_reboot = "destroy" Hope that helps. Jason -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org