Hi,

In the installation docs for a Solaris Xen 07/07 DomU 
(http://www.opensolaris.org/os/community/xen/docs/install-solaris-domu-iso.htm) 
the config file for the Solaris DomU is

name = "solaris-install"
memory = "1024"
disk = [ 'file:/ws/public/isos/65-0604-nd.iso,6:cdrom,r', 
'file:/export/root/solaris_domu/disk.img,0,w' ]
vif = [ 'mac=00:0e:0c:3e:18:cd' ]
on_shutdown = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'


In this file only the ISO image is configured - not the kernel or ramdisk to 
use.


When I try this config file for a Live CD with Linux it does not work, e.g.

bash-3.00# cat test.cfg
name = "knoppix"
memory = "368"
vcpus = "1"
disk = [ 
'file:/export/incoming/knoppix_v5.1.1CD_20070104_xen3.1.0_vbox-20070620+IPAFont.iso,0:cdrom,r'
 ]
vif = [ '' ]

bash-3.00# xm create -c test.cfg
Using config file "./test.cfg".
Error: (2, 'Invalid kernel', 'Not a valid ELF or raw kernel image')

or for another CD:

bash-3.00# cat finnix.cfg
name = "finnix"
memory = "368"
vcpus = "1"
disk = [ 'file:/export/xen-images/finnix/finnix-89.2.iso,0:cdrom,r' ]
vif = [ '' ]

bash-3.00# xm create -c finnix.cfg
Using config file "./finnix.cfg".
Error: Boot loader didn't return any data!


But I can use the ISO images if I copy the kernel and ramdisk to the harddisk 
and add the approbiate entries to the config file, e.g. this config file works:

name = "xenoppix"
memory = "368"
vcpus = "1"
disk = [ 
'file:/export/incoming/knoppix_v5.1.1CD_20070104_xen3.1.0_vbox-20070620+IPAFont.iso,hdc,r'
 ]
vif = [ 'mac=00:16:3e:00:00:20' ]
ramdisk = "/export/xen-images/xenoppix/miniroot-xen.gz"
kernel = "/export/xen-images/xenoppix/vmlinuz-2.6.18-xen"
extra = " ramdisk_size=100000 init=/etc/init lang=de apm=power-off nomce 
xserver=Xvnc_xen nosound noapic noacpi pnpbios=off acpi=off nofstab noscsi 
nodma noapm nousb nopcmcia nofirewire noagp noswap nohwsetup"


So the question is : 

Is the config file format used to install a Solaris DomU only possible for 
Solaris DomUs?

regards

Bernd
 
 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to