Hi, I am getting exactly the same error as Saurabh:

# xm create -c /opt/vic/xen/config_files/pv_vic.py

--------------------------------------------------------------
 pyGRUB  version 0.5
 ??????????????????????????????????????????????????????????????????????????
 ? Solaris Express                                                        ?
 ? Solaris Express Serial Console ttya                                    ?
 ? Solaris Express Serial Console ttyb (for lx50, v60x and v65x)          ?
 ?                                                                        ?
 ?                                                                        ?
 ?                                                                        ?
 ?                                                                        ?
 ?                                                                        ?
 ??????????????????????????????????????????????????????????????????????????
     Use the ^ and v keys to select which entry is highlighted.
     Press enter to boot the selected OS. 'e' to edit the
     commands before booting, 'a' to modify the kernel arguments
     before booting, or 'c' for a command line.




     Will boot selected entry in  1 seconds


# Error: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Will only load 
images built for the generic loader or Linux images')
--------------------------------------------------------------------

I am running OpenSolaris as Domain0 and I am trying to install OpenSolaris also 
as Domain1:

# uname -a
SunOS ge10 5.11 snv_86 i86pc i386 i86xpv

# virsh list --all
 Id Name                 State
----------------------------------
  0 Domain-0             running

This is the config file I am using, I tried many of them already, always 
unsuccessfully...

# cat /opt/vic/xen/config_files/pv_vic.py
name = "opensolaris-pv-install"
vcpus = 1
memory = "1024"
#bootloader = "/usr/lib/xen/bin/pygrub"
#kernel = "/platform/i86xpv/kernel/amd64/unix"
ramdisk = "/opt/vic/xen/ramdisks/x86.miniroot"
extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text"
disk = 
['file:/opt/vic/xen/os_images/sol-nv-b98-x86-dvd.iso,6:cdrom,r','file:/opt/vic/xen/virtualdisks/disk01.img,0,w']
vif = ['']
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"


I have been googeling quite a lot but without any luck, any advice???
Thanks a lot in advance.
--
This message posted from opensolaris.org

Reply via email to