Main BLOGGER
Google
WWW THIS BLOG
Thursday, March 08, 2007
 
modify vmware bios in Linux
1. Read the thread
http://www.vmware.com/community/thread.jspa?threadID=28149&tstart=0
2. use the following script to get bios rom file
#! /bin/bash
set -e
VMWARE_DIR=`sed -n 's/^libdir *= *"\(.*\)"$/\1/p' < /etc/vmware/config`
objcopy $VMWARE_DIR/bin/vmware-vmx -O binary -j .bios440 --set-section-flags .bios440=a /tmp/bios.rom.Z
perl -e 'use Compress::Zlib; my $v; read STDIN, $v, 211638; $v = uncompress($v); print $v;' < /tmp/bios.rom.Z > ~/x440.bios.rom
echo "Please add bios440.filename=\"x440.bios.rom\" to your .vmx file."
echo "Or add it into /etc/vmware/config to make it system wide."

in the perl, read STDIN, $v, 211638; 211638 is the file size of bios.rom.Z

3. get Phoenix BIOS editor

4. read the paper at http://www.biosrepair.com/pic/pic99.htm

--
Pop (Pu Liu)



<< Home

Powered by Blogger

Google
WWW THIS BLOG