Sunday, August 16, 2009

Leopard 10.5.8 in VMWare




I have used VMWare 2.5 player on Linux. The installed system is a 10.5.6 upgraded to 10.5.8.
I have started from Donk's tutorial available here
The VM specs are below.
In order to enable the VMWare tools I have downloaded the VMWare Fusion 2.0.5 and then using dmg2img tool I have extracted the content. Inside the extracted image there is a file called Archive.pax.gz. Using pax you can uncompress it. Inside the Library directory of the compressed file there is an ISO file called darwin.iso. Connect it to the VM and install the tools from it.
They will enable shared folders and better performance of the VM.

#!/usr/bin/vmware
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "7"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "1024"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "OSX.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "/home/nilu/darwin.iso"
ide1:0.deviceType = "cdrom-image"
floppy0.startConnected = "FALSE"
floppy0.autodetect = "TRUE"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.virtualDev = "e1000"
ethernet0.wakeOnPcktRcv = "FALSE"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
roamingVM.exitBehavior = "go"
displayName = "OSX"
nvram = "OSX.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
tools.upgrade.policy = "useGlobal"

extendedConfigFile = "OSX.vmxf"

floppy0.fileName = "/dev/fd0"

checkpoint.vmState = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 70 12 43 d2 19 fe-fd 0c 32 6e e2 bc 29 80"
uuid.bios = "56 4d 70 12 43 d2 19 fe-fd 0c 32 6e e2 bc 29 80"
scsi0:0.redo = ""
vmotion.checkpointFBSize = "16777216"
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
sound.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmci0.pciSlotNumber = "36"
ethernet0.generatedAddress = "00:0c:29:bc:29:80"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "-490985088"

tools.syncTime = "FALSE"
guestOS = "darwin-64"
ich7m.present = "TRUE"
smc.present = "FALSE"
keyboard.vusb.enable = "TRUE"
mouse.vusb.enable = "TRUE"
monitor.virtual_exec = "hardware"
monitor.virtual_mmu = "software"

ide1:0.startConnected = "TRUE"
usb:0.present = "TRUE"
usb:1.present = "TRUE"
tools.remindInstall = "FALSE"
usb:1.deviceType = "hub"
usb:0.deviceType = "mouse"

sharedFolder.option = "alwaysEnabled"
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "/home/nilu/Public"
sharedFolder0.guestName = "Public"
sharedFolder0.expiration = "never"
sharedFolder.maxNum = "1"

isolation.tools.hgfs.disable = "FALSE"

debugStub.linuxOffsets = "0x0,0xffffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0"


Now I can join the world of Cocoa developers :)

5 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. How does sound work for you?

    ReplyDelete
  3. 1. Sound is quite crappy with lots of tick and hiss (maybe a RTC clock problem) using AC97 drivers.

    2. I cannot post the image because:
    2.1 It is huge (about 22GBytes)
    2.2 It would mean that I will break even more the Apple license. I do not want to be liable for some acts of piracy

    ReplyDelete
  4. How do I install share folders in Vmware on Leopard using Vista?

    ReplyDelete