[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] How to install the vm (rhel4) on the xen of rhel5?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "openbsd shen" <openbsd.shen@xxxxxxxxx>
  • Date: Wed, 13 Jun 2007 14:47:24 +0800
  • Delivery-date: Tue, 12 Jun 2007 23:45:32 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=TsY4fEhN9zUPczewp3Ocsf5itlfo55590I+oNMJ3mziXzdPvv+uocv7TcGBoyQUWIiLGqK7rTsoOXwdFifJnqfOu/TnK7JaujxZ/23uX3QCICFGswTAem7uHdI6RsDUOWdc/g2FUO2s06O+ldws0I/lo/2RNWPqU5IXwyyLhfrs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

In my xen of rhel5, I want install the virtual machine RHEL4, I create
the configuration file /etc/xen/rhel4_system:
kernel = "/boot/xen.gz-2.6.18-8.el5"
name = "rhel4_system_1"
memory = "256"
disk = [ 'tap:aio:/xen/rhel4_system_1,xvda,w', ]
vif = [ 'mac=00:16:3e:33:61:d3, bridge=xenbr0', ]
vfb = ["type=vnc,vncunused=1"]
uuid = "b09fa11f-609b-a2cd-f10e-42d98949a0bb"
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot   = 'restart'
on_crash    = 'restart'

Make the file system:
dd if=/dev/zero of=/xen/rhel4_system_1 bs=2k seek=2048k count=1
mkfs.ext3 /xen/rhel4_system_1

Mount the file:
mount -o loop /xen/rhel4_system_1 /mnt/rhel4


And then, how can I do?  when I use the command "xm create
/etc/xen/rhel4_system", it said:
Using config file "./rhel4_system".
Traceback (most recent call last):
 File "/usr/bin/pygrub", line 513, in ?
   img = g.cf.images[sel]
IndexError: list index out of range
No handlers could be found for logger "xend"
Error: Boot loader didn't return any data!

I've mount the RHEL4 ISOs in web http://192.168.1.1/rhel4/cd[1-5] dirs.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.