centos from an image and below is the process i went thru . Could somebody outthere help with identifying my problem
root@virtualintranet /# xe vdi-create sm-config:type=raw sr-uuid=b303be09-6a32-8d94-d248-7551860fbc3f name-label="Centos-Vdi" virtual-size=20GiB type=user
eefa9066-a991-44c3-b537-d20d65f3d10c
root@virtualintranet /# xe vbd-create vm-uuid=3c63c943-32b3-b343-0f90-343a9df6b72e device=0 vdi-uuid=eefa9066-a991-44c3-b537-d20d65f3d10c bootable=true type=disk mode=RW
0d36d882-80e8-159f-7c43-b3111676eec2
root@virtualintranet /# lvscan
inactive '/dev/VG_XenStorage-b303be09-6a32-8d94-d248-7551860fbc3f/LV-eefa9066-a991-44c3-b537-d20d65f3d10c'
http://20.00 GB inherit
root@virtualintranet /# lvchange -a y /dev/VG_XenStorage-b303be09-6a32-8d94-d248-7551860fbc3f/LV-eefa9066-a991-44c3-b537-d20d65f3d10c
root@virtualintranet /]# kpartx -a /dev/VG_XenStorage-b303be09-6a32-8d94-d248-7551860fbc3f/LV-eefa9066-a991-44c3-b537-d20d65f3d10c
Note my centos image is under /domu/ centos.5-5.x86-64.20100923.img
root@virtualintranet /# dd if=/domu/centos.5-5.x86-64.20100923.img of=/dev/VG_XenStorage-b303be09-6a32-8d94-d248-7551860fbc3f/LV-eefa9066-a991-44c3-b537-d20d65f3d10c bs=1M count=10240
10001+0 records in
10001+0 records out
10486808576 bytes (10 GB) copied, 76.3104 seconds, 137 MB/s
root@virtualintranet /# mount -o loop domu/centos.5-5.x86-64.20100923.img centos/
root@virtualintranet etc# cat fstab
/dev/VG_XenStorage-b303be09-6a32-8d94-d248-7551860fbc3f/LV-eefa9066-a991-44c3-b537-d20d65f3d10c / ext3 defaults,errors=remount-ro 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
root@virtualintranet grub# cat grub.conf
default=0
timeout=10
title vmlinuz-2.6.18-194.11.4.el5xen
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-194.11.4.el5xen console=hvc0 root=/dev/sda1 ro
root@virtualintranet xen# cat centos.5-5.x86-64.20100923.pygrub.cfg
bootloader = "/usr/bin/pygrub"
memory = 1024
name = "CVG"
disk =
vif =
vcpus=1
root = "/dev/VG_XenStorage-b303be09-6a32-8d94-d248-7551860fbc3f/LV-eefa9066-a991-44c3-b537-d20d65f3d10c"
extra = "fastboot"
root@virtualintranet /# xe vm-start uuid=3c63c943-32b3-b343-0f90-343a9df6b72e
root@virtualintranet /# xentop
No Virtual Machine shown
root@virtualintranet /# xe-edit-bootloader -n "CVG" -p1 -f /grub/grub.conf
Creating dom0 VBD: 46275e93-4308-6be7-ed85-1b0a3ab712f9
Plugging VBD:
Waiting for /dev/xvda1: .....Device /dev/xvda1 not found.
You must specify the correct partition number with -p
Unplugging VBD: . done
root@virtualintranet /# xe vm-param-set PV-bootloader=eliloader uuid=3c63c943-32b3-b343-0f90-343a9df6b72e
root@virtualintranet /# xe vm-start uuid=3c63c943-32b3-b343-0f90-343a9df6b72e
Error code: UNSUPPORTED_INSTALL_METHOD
Error parameters: other-config:install-repository was not set to an appropriate value, and this is required for the selected distribution type., ,
root@virtualintranet /# xe vm-param-set uuid=3c63c943-32b3-b343-0f90-343a9df6b72e other-config:install-repository=cdrom
root@virtualintranet /# xe vm-start uuid=3c63c943-32b3-b343-0f90-343a9df6b72e
Error code: INVALID_SOURCE
Error parameters: cdrom repo /dev/xvda, ,