Hello,
I've followed
this tutorial to install Xen4CentOS on CentOS 6.4.
When I boot the server with Xen, Grub gives this error:
Code:
invalid magic number: 9090
Error 13: Invalid or unsupported executable format
The server supports EFI. To solve the problem, I've tried to copy "/boot/efi/EFI/redhat/grub.conf" to "/boot/grub/grub.conf" and run "grub-install sda", but it didn't work.
My grub.conf is as below:
Code:
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title CentOS (3.4.59-8.el6.centos.alt.x86_64)
root (hd0,1)
kernel /xen.gz dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all
module /vmlinuz-3.4.59-8.el6.centos.alt.x86_64 ro root=/dev/mapper/vg_server-lv_root rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_LVM_LV=vg_server/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_server/lv_swap rd_NO_DM rhgb quiet
module /initramfs-3.4.59-8.el6.centos.alt.x86_64.img
title CentOS (2.6.32-358.18.1.el6.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.32-358.18.1.el6.x86_64 ro root=/dev/mapper/vg_server-lv_root rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_LVM_LV=vg_server/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_server/lv_swap rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-358.18.1.el6.x86_64.img
I will be happy if you help me to solve this issue.
Thanks.