http://aixwiki.org/wiki/Installing_HMC_in_VirtualBox_or_VMWare
http://omnitech.net/cat/reference/
Test on HMC v7.7.7.0, on ESXi 5.1 disk 160GB linux suse entr 11 32b
After burning the first DVD, the disk1.img is installing well, for the next disk2 and 3, I use the first original recovery DVD.
check info from /opt/hsc/bin/hscdc x0
also
/opt/hsc/data/bin/ getHMCVPD getHMCInfo getuuid
Running HMC V7 R3.3.0 in VMWare or other unsupported hardware
Based on original topic by Yikching ( Actual for HMC V7 R3.1.0 ), http://www.pseriestech.org/forum/hardware-management-console/running-hmc-in-vmware-1052.html
Editing for HMC V7 R3.3.0 by Vlad [ monumentum@gmail.com]
Modifying initrd
You'll need a linux machine to perform certain actions.
1. Take isolinux/initrd.gz from the first HMCs install DVD
2. gunzip initrd.gz and mount it (on linux machine):
# cd /tmp # gunzip initrd.gz # mkdir /mnt/initrd # mount -o loop initrd /mnt/initrd
3. Modify /mnt/initrd/opt/hmc/bin/GetVPD file as follows:
replace /usr/sbin/dmidecode --string bios-version | sed -e 's/-\[//g' | sed -e 's/\]-//g' line with echo "2AKT51A" replace sn=`/usr/sbin/dmidecode --string system-serial-number` with sn="7042CR7*10-1234A" replace echo "$cmodel$mtype" with echo "7042CR7"
4. Modifying XF86Config and xorg.conf:
# cp /mnt/initrd/opt/hsc/data/7042CR7.tar /tmp # tar xf 7042CR7.tar and modify /tmp/etc/X11/XF86Config as follows: replace Driver "vga" with Driver "vesa" replace Driver "ati" with Driver "vesa" # tar cf 7042CR7.tar ./etc # cp /tmp/7042CR7.tar /mnt/initrd/opt/hsc/data # unmount /mnt/initrd # gzip initrd
5. Replace original initrd.gz on the first DVD with modified version, and make it bootable.
You can use ImgBurn (freeware), WinISO, UltraISO or MagicISO (or mkisofs on linux) to replace initrd.gz
VMWare settings
You need to create a new VM machine or use a physical machine if you prefer.
1. Use IDE HDDs controller under VMware as there is problems detecting SCSI HDDs using HMC media.
Also i've faced some problems with SATA hdd on real hardware, but setting SATA mode to LEGACY in the BIOS will help.
2. Set maximal disk size to 70GB ( I've used 40GB and it works ok!)
Further actions
Once infstalled and rebooted, it should display login prompt after all services as X windows will fail to start.
1. Boot into single mode. When the system is in the GRUB menu, press 'e' and scroll to 2nd line and press 'e' again. Remove the 'ro' option and replace it with 'single'.
2. Modify the following file:
/opt/hsc/bin/getHMCVPD replace /usr/sbin/dmidecode --string bios-version | sed -e 's/-\[//g' | sed -e 's/\]-//g' with echo "2AKT51A" replace echo "$cmodel$mtype*$sn" with echo "7042CR7*10-1234A" replace echo "$cmodel$mtype" with echo "7042CR7"
3. Reboot into normal mode (or do init 3) and reboot again into single mode.
4. Modify the following file (or extract it from /opt/hsc/data/7042CR7.tar):
/etc/X11/XF86Config replace Driver "vga" with Driver "vesa" replace Driver "ati" with Driver "vesa"
5. Reboot. Enjoy your shiny new HMC.
You might not be able to change network settings in the GUI, suspect it to be related to sl0, as it fails on startup.
As for me, i cant change network settings from GUI on VMWare (VMWare Fusion), but it works on real hardware (old Dell desktop).
Copy the content of ISO image into /data/hmc (example), and replace the files initrd.gz. Then create a bootable ISO image:
mkisofs -o /tmp/HMC_recovery1.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -l -allow-leading-dots -relaxed-filenames -joliet-long -max-iso9660-filenames -D -R -J -T -V HMCv7 -v /data/hmc/
Error 1901 after reboot:
1) Move the original dmidecode cd /usr/sbin mv dmidecode dmidecode.orig 2) Create a script named /usr/sbin/dmidecode with this content: #!/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 3) Make the script executable chmod +x dmidecode
Remove restricted shell for hscroot user:
cd /opt/hsc/data/ssh/ chmod 755 hmcsshrc vi hmcsshrc Add # before "set -r"