openbsd shen
2007-Jun-13 06:47 UTC
[Xen-users] How to install the vm (rhel4) on the xen of rhel5?
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@lists.xensource.com http://lists.xensource.com/xen-users