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] How to install the vm (rhel4) on the xen of rhel5?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How to install the vm (rhel4) on the xen of rhel5?
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
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=V2KOfOswuWCgNJcfsv+udbiLaIou2ej0INfhAFiU/BKx1Ws1f6qkrlwzhm6AQK/9pZunVQPCcTXqmH2O2OJd4d19jbeYgfc/V9Mzu0NSrnNW5bS3kSnFegPwO8OnSPSEzNL8zBst9Um+gpKFZ10vUCSC8tPm5lwjYKbrnrSvhVM=
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=
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
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] How to install the vm (rhel4) on the xen of rhel5?, openbsd shen <=