Sunday, March 21, 2010

vmware-rawdiskCreator - Use entire disk instead of a single partition

Follow this vmware-rawdiskCreator - Use entire disk instead of a single partition

fdisk /dev/disk?
Disk: /dev/disk? geometry: 977/32/63 xxx sectors

/Library/Application\ Support/VMware\ Fusion/vmware-vdiskmanager -c -s xxx -a lsilogic -t 1 rawdisk.vmdk
rm rawdisk-s*.vmdk

edit the only file rawdisk.vmdk and replace the two lines inside

createType="fullDevice"
RW xxx FLAT "/dev/disk?" 0

Seem vmware-rawdiskCreator can do the same
/Library/Application\ Support/Vmware\ Fusion/vmware-rawdiskCreator create /dev/disk? 1 lsilogic

modify lines inside
# Extent description
RW 63 FLAT "s320g-pt.vmdk" 0
RW 409600 FLAT "/dev/disk0s1" 0
RW 624727682 ZERO
RW 5103 ZERO


replace with
RW 625142448 figures FLAT "/dev/disk0" 0