2014-12-22 25 views
0

使用當前Centos 6.6 x86_64安裝中的DVD1,我可以安裝Centos 6.6最低限度,以便在具有20GB Flash和4 GB的Intel NUC計算機上成功安裝內存。內核是2.6.32-504.el6.x86_64。 Xen4CentOS將無法啓動,但在同一個系統上加載Ubuntu/Xen並不是硬件(在兩個相同的硬件設備上測試,結果相同)。錯誤9090:Xen 4.2與Centos 6.6,但Ubuntu/Xen在相同硬件上正常工作

安裝http://wiki.xenproject.org/wiki/Xen4CentOS作爲我的參考,我無法讓Xen4CentOS安裝(xen-4.2.5-37.el6)在內核3.10.56.11-el6.centos.alt.X86_64上工作。關於重啓後發生'9090'的錯誤有零星的問題,但沒有人強烈地問這個問題,或提供足夠的信息,說明他們如何在超過2-3行的文本中得到錯誤,而我發現這些錯誤不足以再現問題。 (謙卑地問,你要小心不要標記下來或以前做9090上快速搜索討論,我已經花了一天時間就這個問題和可以使用一些提示)

我遵循的步驟是:

1) Burn DVD1, DVD2 from Centos Mirrors for installation (CentOS 6.6) 
2) Install 'minimal' CentOS installation following all defaults with only the CentOS Repo, this required only DVD1 for the 'minimal' install 
3) Disabled SE Linux and rebooted (to eliminate any concern, I know it's a bit harsh but its for troubleshooting) 
4) Reboot into CentOS 6.6 - 2.6 Kernel 
5) yum install centos-release-xen (accept 1 pkg install) 
6) yum install xen (accept 36 packages install) 
7) /usr/bin/grub-bootxen.sh 
8) reboot 
9) Upon selecting the 3.10 kernel => Get "Invalid magic number: 9090 Error 13: Invalid or unsupported executable format 

指令與我的硬件不兼容的第一個跡象是「這應該會在/boot/grub/grub.conf中產生一個類似於以下內容的條目:」。 Centos 6.6上的Grub不會將配置文件放在我的架構上的那個目錄中,但它將它放在/boot/efi/EFI/redhat/grub.conf中,並在/etc/grub.conf中放置一個符號鏈接。

這裏是grub的文件:

# grub.conf generated by anaconda 
# 
# Note that you do not have to rerun grub after making changes to this file 
# NOTICE: You have a /boot partition. This means that 
#   all kernel and initrd paths are relative to /boot/, eg. 
#   root (hd0,1) 
#   kernel /vmlinuz-version ro root=/dev/mapper/vg_chassis0-lv_root 
#   initrd /initrd-[generic-]version.img 
#boot=/dev/sda1 
device (hd0) HD(1,800,64000,6d6512a3-0f84-44db-a808-1191d98cd207) 
default=0 
timeout=5 
splashimage=(hd0,1)/grub/splash.xpm.gz 
hiddenmenu 
title CentOS (3.10.56-11.el6.centos.alt.x86_64) 
    root (hd0,1) 
    kernel /xen.gz dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all 
    module /vmlinuz-3.10.56-11.el6.centos.alt.x86_64 ro root=/dev/mapper/vg_chassis0-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_chassis0/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_chassis0/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet 
    module /initramfs-3.10.56-11.el6.centos.alt.x86_64.img 
title CentOS 6 (2.6.32-504.el6.x86_64) 
    root (hd0,1) 
    kernel /vmlinuz-2.6.32-504.el6.x86_64 ro root=/dev/mapper/vg_chassis0-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_chassis0/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_chassis0/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet 
    initrd /initramfs-2.6.32-504.el6.x86_64.img 

這裏有系統的裝配:

Filesystem   1K-blocks Used Available Use% Mounted on 
/dev/mapper/vg_chassis0-lv_root 
         25131356 958760 22889320 5%/
tmpfs     1683088  0 1683088 0% /dev/shm 
/dev/sda2    487652 74666 387386 17% /boot 
/dev/sda1    204580  260 204320 1% /boot/efi 

我已經看過grub的文件,該grub-bootxen.sh bash腳本。重複安裝重現相同的結果。我很感激任何人誰可能有暗示如何通過這一個或有我可能檢查...

回答

1

一切事物中......

如果上面完全相同的過程之後,但一個使用CentOS的6.6網絡啓動安裝並選擇:X86_64,以最小的安裝,並從從URL加載安裝(不DVD版)它的作品!我使用的網址是:

http://mirror.centos.org/centos/6/os/x86_64 

'xl list'和'xm list'均顯示預期結果。

爲了清楚這裏的新步驟:

1) Download and install 'netboot' version of (CentOS 6.6) 
2) Install 'minimal' CentOS installation following all defaults with only the CentOS Repo, this required entering a URL for the location of the software: mirror.centos.org/centos/6/x86_64 
3) Rebooted (no change to SE Linux) 
4) Reboot into CentOS 6.6 - 2.6 Kernel 
5) yum install centos-release-xen (accept 1 pkg install) 
6) yum install xen (accept 36 packages install) 
7) /usr/bin/grub-bootxen.sh 
8) checked grub.conf file was present according to Xen4QuickStart under the /boot/grub/, which it was exactly as they described 
9) reboot 
10) Login and run 'xl list', 'xm list' showing expected results, 

注:英特爾NUC沒有更改BIOS,不更新BIOS所需,不改變GRUB,也沒有任何配置,只是一個從安裝網絡引導。感謝有問題的另一位用戶,他們提出這個問題可能與EFI有關,並且從網站安裝可能會解決這個問題。

1

我有完全相同的問題。目前還找不到任何解決方案,但我認爲這不是一個小問題,可能與GRUB相關。用另一個校對版本替換xen.gz也不起作用。

我在安裝過程中的步驟是相同的​​,但我從完整的DVD映像進行安裝。

系統:

  • i7-5820K
  • 技嘉X99-UD4H
  • 32GB DDR4拉姆
  • 512GB SSD三星

系統坐騎:

Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/xen-root 10190136 4860724 4805124 51%/ tmpfs 16351060 76 16350984 1% /dev/shm /dev/sda2 198337 80825 107272 43% /boot /dev/sda1 204580 376 204204 1% /boot/efi

我也試過多次安裝。我測試過的/ boot文件系統:ext2,ext4。

+0

感謝您的確認。我的想法是嘗試從文件中提取幻數,以幫助確定哪個文件具有幻數錯誤。它看起來像libmagic是正確的庫,我相信我可以拼湊在一起(一些是在stackoverflow)一個'C'程序,將讀取和打印的神奇數字,但我還不清楚哪些是正確的字節和長度。我讀了3.10的linuz文件的前2個二進制字節,並得到1888727294(示例)等數字,不完全是9090.我想幫助解決這個問題,看起來像許多在線有類似的問題。 – apollon

+0

希望下面的解決方案適合您,讓我知道。阿波羅 – apollon

相關問題