WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Centos installation problems

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Centos installation problems
From: kibirango moses <kibsmoses@xxxxxxxxx>
Date: Wed, 27 Oct 2010 15:40:22 +0300
Delivery-date: Wed, 27 Oct 2010 05:42:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=1Fqywyp23zx0Y5xIqhJhBiEOD2dGRdUxNmmITNMY7E0=; b=CQU5U73BlSybUcdiYHITHOiZ9drSVbQhdJuLwpy7zt3n7P9uKng5gsN8QrILzqr4pN toWgrgUSN1SXwjeYZ4HzEGr1LARaiuWIWx+YT3HEQ40c3wYGlEX7foCr+wy7v94Lj1/S /vaBwFdIJOd035Zabih301JvqF0P0AHlcgZQI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=inl4losn9AtfqnOVjdvS8WLV8wXv8TMqqh9+xX1afSEhBgYTrk4ahYnU7g8Eosz99o 0MzS+sTom11W4KoyvKKUzaRQYSx5Xq3KlnBMBPY9wJbCZn26qA647sdpLE/FPvDPMLLf KbmJTnhrZh6wL7Nj6DQIaRJQmuTLK5by0iPSs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I am having problems with installing
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, ,
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Centos installation problems, kibirango moses <=