[opensuse-virtual] Xen .cfg file for a paravirt OpenSolaris DomU ?
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.miniroot' 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 -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
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
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)
Actually, per my Subject & post, I'm not trying to run Opensolaris as an HVM, but as a PV Guest. And, I've learned from trolling through some other folks' communications that Opensuse's bootloader can't interrogate & boot Opensolaris as it's built for their *own* zfs-enabled pygrub. What does seem to work is extracting the kernel & ramdisk by hand, and referencing them directly in the xen config file. In other words, not using Opensuse's bootloader. At the moment, I'm successfully using Opensolaris as a Paravirt Guest on an OpenSuse Dom0. Wil -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
On Thu, Jul 24, 2008 at 5:46 PM, in message <769e0ec0807241646k1cdd3793mb4c872485bb9b00d@mail.gmail.com>, "Wil Decius" <wilson.decius@gmail.com> wrote: 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)
Actually, per my Subject & post, I'm not trying to run Opensolaris as an HVM, but as a PV Guest.
And, I've learned from trolling through some other folks' communications that Opensuse's bootloader can't interrogate & boot Opensolaris as it's built for their *own* zfs-enabled pygrub.
What does seem to work is extracting the kernel & ramdisk by hand, and referencing them directly in the xen config file. In other words, not using Opensuse's bootloader.
At the moment, I'm successfully using Opensolaris as a Paravirt Guest on an OpenSuse Dom0.
Wil
Sorry for the confusion ... this statement from your original message was misleading: "Cobbling together what little I'v found for installing OpenSolaris as an /HVM/ Guest on Redhat". Glad to hear that you got something working. Jason -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
Sorry for the confusion
Np :-)
... this statement from your original message was misleading: "Cobbling together what little I'v found for installing OpenSolaris as an /HVM/ Guest on Redhat".
Yes, I'd only found info on OpenSolaris as an HVM on RedHat. Hadn't found anything useful as yet on PV Guest ... Now, moot. Wil -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
participants (2)
-
Jason Douglas
-
Wil Decius