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.
Traceback (most recent call last): File "/usr/bin/pygrub", line 691, in ? data = fs.open_file(chosencfg["ramdisk"],).read() IOError: [Errno 2] No such file or directory No handlers could be found for logger "xend" Error: Boot loader didn't return any data!
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:
Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 16 128488+ 83 Linux /dev/sdb2 17 1928 15358140 83 Linux /dev/sdb3 1929 5752 30716280 83 Linux /dev/sdb4 5753 19435 109908697+ 5 Extended /dev/sdb5 5753 6013 2096451 82 Linux swap / Solaris /dev/sdb6 6014 19435 107812183+ 83 Linux
/etc/xen/uno - The Xen Configuration File
name = 'uno' bootloader = '/usr/bin/pygrub' maxmemory = 1256 memory = 512 vcpus = 1 cpus = '1-2' vif = [ '' ] disk = [ 'phy:sdb2,sda1,w', 'phy:sdb5,sda2,w', 'phy:sdb6,sda3,w', 'phy:sdb3,sda4,w' ]
# obsolete /boot ext3 defaults 1 1 /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 /dev/sda3 /u ext3 defaults 1 2 /dev/sda4 /backup ext3 defaults 1 2
Any one have any clue .?