So I am attempting to move a physical Native CentOS 4.6 Installation to a DomU instance on a CentOS 5.5 Server. I have followed the available to tutorial @ CentOs - WIki but have encountered the following issue upon running xm create.

The funny thing is pygrub loads fine, but it seems to run into a snag loading the ram which I though might be a problem when mapping the physical HD to the vm instance so I looked at fdisk -l (see below). And mapped the swap in the domU configuration to sda2 and proceeded to modify the fstab on the domU (sdb2) to the swap mapped to sda2, but it won't work. If anyone can lend me a hand, I have some mor info below:

2 Answers
2

I think it wants to load a ramdisk. In my xen confs, I have a line like so:

ramdisk = "/boot/initrd-xen-2.6.18-128.4.1.el5xen"

Now, in my confs, this is because the kernel and the ramdisk resides outside the VM file system. I would have thought that this was config pygrub should read from the VM grub conf/file system, but you could try simply copying the ramdisk outside and pointing to it with the ramdisk option.