虛擬機下安裝HMC的過程(親自動手)
客戶的POWER6 550 服務器需要安裝系統,沒有顯卡,也沒有串口線,於是準備在筆記本上通過虛擬機安裝一個HMC。
具體環境:筆記本 R60 / windows 7 ultimate 32 bit
虛擬機: vmware workstation 7.1.2 build-301548 完整版
HMC 版本: V7R720
從ibm官網上下載的 ftp://ftp.software.ibm.com/software/server/hmc/recovery_p_w_picpaths/
過程:
現在VMWARE中創建一個虛擬機,類型我選的是Redhat linux,其他的沒試過,估計也可以.
內存設置爲768M,硬盤設置爲IDE,40G(硬盤參數要求是參考網友的,很順利,就沒試過其他類型的了)
其他默認都可以.
下載下來的hmc_recovery_V7R720_1.iso 不能直接使用,否則會報錯。
具體修改方法可參考:http://bjibm1188.blog.sohu.com/105687042.html
安裝過程省略...
安裝完成後,hmc啓動時報錯:
A critical error has prevented normal HMC startup. Please reboot the HMC and try again. If the problem persists, contact your support personnel. 1901: HMC Startup aborted due to a malfunction of a required module
解決辦法:
1) Move the original dmidecode
2) Create a script named /usr/sbin/dmidecode with this content: 3) Make the script executable 4) Reboot the HMC. 啓動後,正常進入圖形界面......
cd /usr/sbin
mv dmidecode dmidecode.orig
#!/bin/bash
DMIDECODE=/usr/sbin/dmidecode.orig
if [[ "$2" == "bios-version" ]]
then
echo "1234-123"
elif [[ "$2" == "system-product-name" ]]
then
echo "1234-123"
else
$DMIDECODE "$@"
fi
chmod +x dmidecode