• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2319
  • Last Modified:

Trouble booting converted Linux VM Error 13: Invalid or unsupported executable format

I have some Linux (Oracle) servers I am trying to migrate to my VMware server and have successfully used the VMware Converter to migrate them to my VMware server but when I boot the server on VMware I am getting "Error 13:  Invalid or unsupported executable format". *See attachment.

If i press continue I am able to get to a grub> prompt.

I have limited Linux experience so please be detailed in responses (sorry in advance).

Any help is appreciated.
0
pspomaha
Asked:
pspomaha
  • 4
  • 2
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0
 
pspomahaAuthor Commented:
Attached is screenshot of the VMware vCenter Converter Standalone 5.1 successful message I received.

It does look like the version or RedHat (Version 5) is supported by the converter, but maybe it has something to do with the way the server is configured by Oracle?  The version of Linux was downloaded from Oracle's website (if that is any insight).
0
 
MazdajaiCommented:
Converter supports RHEL5/6. Can you attach the screen the screenshot and the converter log? What version of converter are you using?
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
pspomahaAuthor Commented:
I am using version 5.1 of the converter (latest on website).  I thought I had attached the image already.  Sorry about that, see attachments now.
capture2.PNG
capture.PNG
vmware-converter-server-1.log
converter-gui-5.log
0
 
MazdajaiCommented:
Is the number of target disks same as the source? What is your disk layout on the P2V? You might need to tweak the disk layout since you have LVMs.
0
 
pspomahaAuthor Commented:
I finally figured out what the problem was and completed a successful migration that booted correctly.  I actually owe thanks to Marcelo Soares's article (see PDF attachment).  My steps varied slightly but this gave me enough information to figure it out from here.

The source server was setup on OVS (Oracle VM Server) and running Oracle Enterprise Linux release 5.4 using kernel 2.6.18-164.el5xen.  After conversion the VMware machine could not boot this kernel version due to the "xen" version of it.  So according to this article I needed to install a second kernel that VMware could boot.  Prior to converting the machine again I went out to kernel.org website and downloaded a copy of 2.6.18-194.el5 (https://www.kernel.org/pub/linux/kernel/v2.6/).  I then copied this kernel to the source server and installed it and then modified \boot\grub\grub.conf to not have the "xen" as the default anymore.  I then ran the VMware Converter again and booted converted server to linux rescue using a Linux disk.  I modified the /boot/grub/grub.conf, /etc/modprobe.conf, and /etc/initab files as suggested and ended it running /mkinitrd command and rebooted.  On reboot it came up and worked fine!
1
 
pspomahaAuthor Commented:
figured it out on my own
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now