vmware5.5安装HMC7.72步骤

来源:互联网 发布:网络语言暴力的危害 编辑:程序博客网 时间:2024/06/03 06:32

HMC版本:HMC_Recovery_V7R720
HMC下载地址:ftp://ftp.software.ibm.com/software/server/hmc/recovery_images
Linux版本:redhat 9.0
Vmware版本:5.5
操作系统:Windows XP PRO
 
一、安装HMC
1)     使用UltraISO 打开HMC recovery CD1,解开isolinux/initd.gz文件
2)     在linux系统中修改initrd.gz文件
       A. gunzip initrd.gz
       B. mount -o loop initrd /mnt/
3)     修改机器型号验证函数程序文件/mnt/opt/hmc/bin/functions
      
  A.Chmod 755 functions
       B. vi functions
注释掉ShowInvalidVpdMSG的全部内容
         #ShowInvalidVpdMSG{
       
     #}
  C. umount /mnt/
  D. gzip initrd.gz
4     将修改后的initd.gz文件用Ultraiso重新保存在HMC recovery CD 1中
5     Vmare中的设置60G大小的IDE硬盘
6)     修改显示选项
用hscroot 用户进入系统命令行
su 命令切换到root 用户
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

 

原创粉丝点击