I fixed cdrom as block device  /dev/loop1  in virsh profile for Ubuntu's 
Libvirt . Xen has been set
as default Hypervisor :-
# export VIRSH_DEFAULT_CONNECT_URI="xen:///" 
Pygrub still fails to read OSOL131 ISO image .

However , profile :-

r...@serverkoala:/home/boris/solaris# cat osol.py
name = "sol131"
vcpus = 1
memory = "1024"
bootloader="/usr/local/bin/pygrub"
kernel="/platform/i86xpv/kernel/amd64/unix"
ramdisk="/platform/i86pc/amd64/boot_archive"
# kernel = "/home/boris/solaris/unix"
# ramdisk = "/home/boris/solaris/boot_archive"
extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom"
disk = ['phy:/dev/loop1,xvdc:cdrom,r','phy:/dev/sdb8,xvda,w']
vif = ['bridge=eth0']
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"

Starts install OSOL131 at Xen 3.4.3-rc1 Dom0 ( 2.6.31.6 pvops) on top of Ubuntu 
9.10 Server
r...@serverkoala:/home/boris/solaris# xm create -c  osol.py
Using config file "./osol.py".
Started domain sol131 (id=4)
                            v3.4.3-rc1 chgset 'Wed Jan 13 08:37:09 2010 +0000 
19871:eafb9f876dd2'
SunOS Release 5.11 Version snv_131 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: opensolaris
Remounting root read/write
Probing for device nodes ...
Preparing live image for use
Done mounting Live image
USB keyboard
 1. Albanian                      24. Latin-American                
 2. Belarusian                    25. Lithuanian                    
 3. Belgian                       26. Latvian                       
 4. Brazilian                     27. Macedonian                    
 5. Bulgarian                     28. Malta_UK                      

     . . . . . . . . . . . . .

 9. German                        20. Slovak                        
10. Greek                         21. Spanish                       
11. Hebrew                        22. Swedish                       
To select desktop language, enter a number [default is 7]: 
User selected: English
Configuring devices.
Reading ZFS config: done.

opensolaris console login: jack
Password: 
Sun Microsystems Inc.   SunOS 5.11      snv_131 January 2010
j...@opensolaris:~$ pfexec ifconconfig -a
ifconconfig: Command not found
j...@opensolaris:~$ pfexec ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
xnf0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
        inet 192.168.1.38 netmask ffffff00 broadcast 192.168.1.255
        ether 0:16:3e:31:d5:75 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128 
xnf0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
        inet6 fe80::216:3eff:fe31:d575/10 
        ether 0:16:3e:31:d5:75 
j...@opensolaris:~$
-- 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to