Vmare中安装HMC

Vmare中安装HMC
2011-06-28 12:32

HMC版本:HMC_Recovery_V7R720
HMC下载地址:ftp://ftp.software.ibm.com/software/server/hmc/recovery_images
Vmware版本:6.5.2 build-156735
操作系统:Windows 7 旗舰版

一、安装HMC
1)     使用UltraISO 打开HMC recovery CD1,解开isolinux/initd.gz文件
2)     在linux系统中修改initrd.gz文件

b3e634f3ebad6a30342acc15.jpg
3)     修改机器型号验证函数程序文件/mnt/opt/hmc/bin/functions

96f5be7e11aae6580dd7da15.jpg

Chmod 755 functions
注释掉如下内容

cf666b38d1fd124396ddd815.jpg

4)     生成新的initrd文件压缩包

09319f2348f72224ac34de15.jpg

5)     将修改后的initd.gz文件用Ultraiso重新保存在HMC recovery CD 1中
6)     Vmare中的设置40G大小的IDE硬盘,只需要一块网卡,使用上面修改的ISO文件安装HMC
7)     设置IP地址、网关等
切换到root用户(密码为passw0rd),修改/etc/systconfig/network/ifcfg-eth0

8)     修改显示选项
cd /opt/hsc/data
tar -xvf 7310c04.tar
cd etc/X11/
cp XF86config /etc/X11/
vi /etc/X11/XF86config
将以下内容:
Section "Device"
Identifier "ATI"
Driver "vesa"
#### VideoRam 8192
# Insert Clocks lines here if appropriate
EndSection

修改为
Section "Device"
Identifier "ATI"
Driver "vmware"
#### VideoRam 8192
# Insert Clocks lines here if appropriate
EndSection

9)     图形界面启动出错处理

如果出现以下错误提示:
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

解决方法如下:
编辑hmc的开始引导项,在kernel /boot/bzImage ro root=/dev/hda2 clock......上ro后面加上数字1(1前面有一个空格),修改后的选项为:
kernel /boot/bzImage ro 1 root=/dev/hda2 clock......

确定修改后选中kernel /boot/bzImage ro 1 root=/dev/hda2 clock......引导启动,进入单用户模式,启动完输入root密码passw0rd进入命令行界面,进入命令行后按如下方式操作:

cd /usr/sbin 
mv dmidecode dmidecode.orig
生成新的/usr/sbin/dmidecode文件,内容如下:

#!/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 /usr/sbin/dmidecode

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12330444/viewspace-708935/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/12330444/viewspace-708935/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值