Good day Emre,

 

I think you might look in my howto, you might find some tidbits of
information to help you there.  <http://www.micheldonais.com/archives/161>
http://www.micheldonais.com/archives/161

 

Please post back your findings and experimentation to the list to help other
people with the same problems as you. I might also update the howto with
additional information from what you’ve gathered.

 

Michel

 

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Emre ERALTAN
Sent: 2 juillet 2007 13:03
To: [email protected]
Subject: [rhelv5-list] RHEL full virtualization with virt-install : How to ?

 

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>
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
- - - - - - - - - - - - - -  -  -  -  -  -  -  -  -  -  -  - 

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to