John,

To get http install done, I just installed Apache on OSOL :-

pkg install SUNWapch22
svccfg -v import /var/svc/manifest/network/http-apache22.xml
svcadm enable svc:/network/http:apache22
mkdir /var/apache2/2.2/htdocs/f11
lofiadm -a /export/home/boris/f11.iso
mount -o ro -F hsfs /dev/lofi/1   /var/apache2/2.2/htdocs/f11

Then run with no problems:-

r...@opensolaris:~# virt-install --paravirt --name F11PV --ram 1024 --vnc \
>   --os-type=linux --os-variant=fedora11 --network bridge \
>   --disk path=/tunk02/disk1,size=15,driver=phy,subdriver=zvol \
>   --location http://192.168.1.36/f11 --debug
Tue, 06 Oct 2009 13:28:21 DEBUG    Using libvirt URI 'xen'
Tue, 06 Oct 2009 13:28:21 DEBUG    Requesting virt method 'xen'
Tue, 06 Oct 2009 13:28:21 DEBUG    Received virt method 'xen'
Tue, 06 Oct 2009 13:28:21 DEBUG    Hypervisor name is 'xen'
Tue, 06 Oct 2009 13:28:21 DEBUG    parse_disk: returning ('/tunk02/disk1', 
None, None, 'disk', None, False, False, 15.0, True, None, 'phy', 'zvol', None)
Tue, 06 Oct 2009 13:28:21 DEBUG    Detected storage as type 'block'
Tue, 06 Oct 2009 13:28:21 DEBUG    Could not open "/etc/sysconfig/keyboard" 
[Errno 2] No such file or directory: '/etc/sysconfig/keyboard'
Tue, 06 Oct 2009 13:28:21 DEBUG    Could not open "/etc/X11/xorg.conf": [Errno 
2] No such file or directory: '/etc/X11/xorg.conf' 
Tue, 06 Oct 2009 13:28:21 DEBUG    Did not parse any usable keymapping.
Tue, 06 Oct 2009 13:28:21 DEBUG    DistroInstaller location is a network source.


Starting install...
Tue, 06 Oct 2009 13:28:21 DEBUG    Attempting to detect distro:
Tue, 06 Oct 2009 13:28:21 DEBUG    Fetching URI: 
http://192.168.1.36/f11/.treeinfo
Tue, 06 Oct 2009 13:28:21 DEBUG    Saved file to 
/var/tmp/virtinst-.treeinfo.NkwzdD
Retrieving file .treeinfo 100% |=========================| 1.2 kB    00:00     
Tue, 06 Oct 2009 13:28:21 DEBUG    Fetching URI: 
http://192.168.1.36/f11/images/pxeboot/vmlinuz
Tue, 06 Oct 2009 13:28:21 DEBUG    Saved file to 
/var/tmp/virtinst-vmlinuz.SgVnjH
Retrieving file vmlinuz.. 100% |=========================| 3.0 MB    00:00     
Tue, 06 Oct 2009 13:28:21 DEBUG    Fetching URI: 
http://192.168.1.36/f11/images/pxeboot/initrd.img
Retrieving file initrd.im  81% |====================     |  15 MB    00:00 ETA 
Tue, 06 Oct 2009 13:28:21 DEBUG    Saved file to 
/var/tmp/virtinst-initrd.img.SsFNh8
Retrieving file initrd.im 100% |=========================|  19 MB    00:00     
Tue, 06 Oct 2009 13:28:21 DEBUG    Creating guest from:
<domain type='xen'>
  <name>F11PV</name>
  <currentMemory>1048576</currentMemory>
  <memory>1048576</memory>
  <uuid>1131514b-87fa-016a-2028-83493f0aba5a</uuid>
  <os>
    <type arch='i686'>linux</type>
    <kernel>/var/tmp/virtinst-vmlinuz.SgVnjH</kernel>
    <initrd>/var/tmp/virtinst-initrd.img.SsFNh8</initrd>
    <cmdline>method=http://192.168.1.36/f11</cmdline>
  </os>
<clock offset="utc"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <distro>
    <type>linux</type>
    <variant>fedora11</variant>
  </distro>
  <vcpu>1</vcpu>
  <devices>
    <disk type='block' device='disk'>
      <driver name='phy' type='zvol'/>
      <source dev='/tunk02/disk1'/>
      <target dev='xvda' bus='xen'/>
    </disk>
    <interface type='bridge'>
      <source bridge='rge0'/>
      <mac address='00:16:36:6b:57:c5'/>
    </interface>
    <input type='mouse' bus='xen'/>
    <graphics type='vnc' port='-1' keymap='en-us'/>
  </devices>
</domain>

Creating domain...                                                 0 B 00:01 
Tue, 06 Oct 2009 13:28:23 DEBUG    Created guest, looking to see if it is 
running
Tue, 06 Oct 2009 13:28:23 DEBUG    Launching console callback
Tue, 06 Oct 2009 13:28:23 DEBUG    VNC Port: 5900; VNC host: localhost

VNC Viewer Free Edition 4.1.3 for X - built Sep 16 2009 15:38:53
Copyright (C) 2002-2008 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Tue Oct  6 13:28:23 2009
 CConn:       connected to host localhost port 5900
 CConnection: Server supports RFB protocol version 3.8
 CConnection: Using RFB protocol version 3.8
Tue, 06 Oct 2009 13:28:23 DEBUG    Saving XML boot config:
<domain type='xen'>
  <name>F11PV</name>
  <currentMemory>1048576</currentMemory>
  <memory>1048576</memory>
  <uuid>1131514b-87fa-016a-2028-83493f0aba5a</uuid>
  <bootloader>/usr/lib/xen/bin/pygrub</bootloader>
<clock offset="utc"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <distro>
    <type>linux</type>
    <variant>fedora11</variant>
  </distro>
  <vcpu>1</vcpu>
  <devices>
    <disk type='block' device='disk'>
      <driver name='phy' type='zvol'/>
      <source dev='/tunk02/disk1'/>
      <target dev='xvda' bus='xen'/>
    </disk>
    <interface type='bridge'>
      <source bridge='rge0'/>
      <mac address='00:16:36:6b:57:c5'/>
    </interface>
    <input type='mouse' bus='xen'/>
    <graphics type='vnc' port='-1' keymap='en-us'/>
  </devices>
</domain>

 TXImage:     Using default colormap and visual, TrueColor, depth 24.
 CConn:       Using pixel format depth 6 (8bpp) rgb222
 CConn:       Using ZRLE encoding
 CConn:       Throughput 20000 kbit/s - changing to hextile encoding
 CConn:       Throughput 20000 kbit/s - changing to full colour
 CConn:       Using pixel format depth 24 (32bpp) little-endian rgb888
 CConn:       Using hextile encoding

Tue Oct  6 13:31:17 2009
 CConn:       Throughput 20000 kbit/s - changing to raw encoding
 CConn:       Using raw encoding

VNC installer comes up and creates F11 DomU
-- 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
xen-discuss@opensolaris.org

Reply via email to