4

I used VMWare vConverter and everything converted fine, but when I try to boot I get an error:

Error 13: Invalid or unsupported executable format

The physical machine boots correctly, so I don't think it is a source machine issue. I am not sure why the VM won't boot; aren't VMs exact copies of source machines?

1
  • Was this a physical XEN-Dom0 server before?
    – Nils
    Jul 28 '12 at 19:39
2

You are trying to boot a Xen-specific kernel, intended for a Xen dom0, and also suitable for a Xen domU. I don't think that kernel works outside Xen. Install a regular kernel for a VMware guest. You'll need to boot from a rescue disk if you don't have any other kernel installed in that VM.

0

Grub can not find this kernel

This could be for several reasions.

  1. The name of the kernel is wrong (since this is a xen kernel this would not supprise me). Try editing the line in the grub boot loader and remove the "xen" from the end of it.

  2. Grub is looking in the wrong place on the file system for the kernel. Again there is a good chance that this was caused by the V2V, possibly changing the partition numbers.

To fix this one try running the following at the grub prompt: grub > find /vmlinuz. This should display the something like the following. (hd0,0)

Note that if it is different use what grub shows, it should be in the format (hd,X,Y)

Next to get the full name of the kernel type grub > null (hd0,0) /vmli and press TAB This should output something like the following:

Possible files are: vmlinuz vmlinuz-2.6.18-194.17.4.el5, vmlinuz-2.6.18-194.17.4.el5xen

Let's say for this segment that the kernel is called (again use the grub output from the prevous line to guide you): /vmlinuz-2.6.18-194.17.4.el5

Now that you know the full name try typing the following:

grub > root (hd0,0)
grub > kernel = /vmlinuz-2.6.18-194.17.4.el5 root=/dev/VolGroup00/LogVol00
grub > boot

This should boot the system (hopefully as long as nothing else is wrong).

Once you are up and running you will need to reconfigure grub. There is plenty of data on google showing how to do this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.