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] RHEL full virtualization with virt-install : How to ?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] RHEL full virtualization with virt-install : How to ?
From: "Emre ERALTAN" <eeraltan@xxxxxxxxx>
Date: Mon, 2 Jul 2007 18:09:46 +0200
Delivery-date: Mon, 02 Jul 2007 09:08:30 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=Th6j62DnbYfohOoEsifKtBpQA3EoUm96kz9AfxSzJXkxNsKVFD6z8djNInrfgzr1Foq3ZE4ubA/2+/Egba4edcj/Lip+7Qcem7+YlfF4mYpTNz0+ppYcg67UDFV3uyHJVKMGIAB5PmzWZ1PVV43n8CH4lp5uNUwMsPKnol3j/Ig=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=edC/OKiNCFysxi+lom+SHlmM14kJUoFvMb1h8Ugsa3qn6CYsbYhm9M0rFEMwTnIxhzKIHs7uXezi4QOCJ+WwNVWFOfNYQz4xibA0pjKAibkJSiBTZKMvD9QhMfA0gW5BO7WMqkcbI1g/14jMl9PQIru0zQpw7LlHHpR0ImmeQIY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I am using Xen integrated in RHEL 5. I have followed the tutorial given with the documentation of RHEL 5 and I have been able to start a para virtualized guest which was another RHEL 5 on a RHEL 5 Dom0.

Now, I am trying to obtain a fully virtualized RHEL 5 guest. I am following Red Hat's guide for installing a fully virtualized guest OS by using "virt-install" (https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Virtualization-en-US/task-virt-lab2.html - Lab Sequence 5: Installing RHEL5 Beta 2 Xen fully virtualized guest using virt-install)
It asks the following questions :

- Would you like a fully virtualized guest (yes or no)?  This will allow you to run unmodified operating systems <-- I type yes
- What is the name of your virtual machine? <-- rhel
- How much RAM should be allocated (in megabytes)?
<-- 1024
- What would you like to use as the disk (path)?
<-- /xen/rhel-full.img
-
How large would you like the disk (/xen/rhel-full.img) to be (in gigabytes)? <-- 5
- Would you like to enable graphics support? (yes or no) <-- no
- What would you like to use for the virtual CD image?
<-- /xen/rhel5-server-x86_64- disc1.iso

Then it says :
"Starting install...
Domain installation does not appear to have been
successful.  If it was, you can restart your domain
by running 'xm create -c rhel'; otherwise, please
restart your installation."

and Xen console tells :
(XEN) (file=hvm.c, line=197) Allocated port 3 for hvm.
(XEN) vmx_do_launch(): GUEST_CR3<=00fc77a0, HOST_CR3<=87443000

But nothing is installed. What could be wrong with this installation ? could anybody please help me ?

Xend-debug.log file tells:
Traceback (most recent call last):
  File "/usr/bin/pygrub", line 497, in ?
    g = Grub(file, isconfig)
  File "/usr/bin/pygrub", line 152, in __init__
    self.read_config(file, isconfig)
  File "/usr/bin/pygrub", line 342, in read_config
    raise RuntimeError, "we couldn't find grub config file in the image provided
."
RuntimeError: we couldn't find grub config file in the image provided.
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", lin
e 77, in op_create
    dominfo = self.xd.domain_create(config)
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 228, in
 domain_create
    dominfo = XendDomainInfo.create(config)
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 195
, in create
    vm.initDomain()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 130
1, in initDomain
    self.configure_bootloader()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 177
0, in configure_bootloader
    self.info['image'])
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendBootloader.py", line 85,
 in bootloader
    raise VmError, msg
VmError: Boot loader didn't return any data!
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
ERROR: Kernel not a Xen-compatible Elf image.
ERROR: Error constructing guest OS
ERROR: Kernel not a Xen-compatible Elf image.
ERROR: Error constructing guest OS
ERROR: Kernel not a Xen-compatible Elf image.
ERROR: Error constructing guest OS
ERROR: Kernel not a Xen-compatible Elf image.
ERROR: Error constructing guest OS
Nothing to flush.
Nothing to flush.

Regards,
--

- - - - - - - - - - - - - -  -  -  -  -  -  -  -  -  -  -  -
Emre ERALTAN
Elève ingénieur 3ème année
Electronique et Informatique Industrielle
ENSSAT
- - - - - - - - - - - - - -  -  -  -  -  -  -  -  -  -  -  -
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] RHEL full virtualization with virt-install : How to ?, Emre ERALTAN <=