The solution was to get an Apple Developer's license - as a developer wanted to do this anyway to do code signing when it's out of beta. It costs $99 a year, or £60 a year here in the UK.
This gives you access to downloads of all the previous retail versions of the operating systems. I downloaded the very first release of Leopard, 10.5. That worked in the VM - though I haven't tested if any later ones work.
The problem I had originally was that I was using a non retail version of Leopard which only works with certain machines.
So - had already primed the Virtual Machine, to identify its cpu as an older machine, by putting these instructions into Terminal (rpmurray's tweak) -
Code: Select all
VBoxManage modifyvm Leopard --cpuidset 00000001 0001067a 00000800 80000209 078bfbff
VBoxManage setextradata Leopard VBoxInternal/Devices/efi/0/Config/DmiSystemProduct "MacBookPro5,1”
LEOPARD STILL HAS NO SOUND THOUGH
It doesn't have any sound - shows as "no sound output devices" in the VM. Tried all the possibilities in the VM there, and also tried installing this sound driver for Leopard VMs:
viewtopic.php?f=30&t=33358
That didn't work. But, as this is just for debugging, and also for an ancient version of OSX that only a few users need it for - then I'm not too bothered about that.
My programs play notes via Midi usually, and whatever changes there might be in the audio architecture - don't expect there were any changes that would impact on them playing via midi. So it's enough for now to debug it purely visually. If anyone happens to know how to fix the sound issue, do say, but it's not a big deal right now.
=====================================================================
Original post:
Okay encouraged by success in 10.6.3 on OSX in VB, I'm now trying Leopard (10.5.6).
Did various tweaks in the command line: the rpmurray tweak, the license key command and the display command:
That got me as far as starting up the installer.VBoxManage modifyvm "<VM_Name>" --cpuidset 00000001 000006fb 00000800 80000209 078bfbff
VBoxManage setextradata "<VM_Name>" VBoxInternal/Devices/efi/0/Config/DmiSystemSerial <YourSerialNumber>
VBoxManage setextradata "<VM_Name>" VBoxInternal2/EfiGopMode 3
But now it says ""Mac OS X cannot be installed on this computer".
Is there any fix for this?
I'm using VB 4.3.6 for this as recommended in the OSX on OSX thread.
Also BTW - this is just a a matter of convenience - for some reason Disk Utility refuses to make a cdr disk image of it. Interested to know if anyone knows why that is also.
It's awkward doing it from the DVD drive - slower - but the main thing is that it tends to power down - and so sometimes my VM loses it, and I have to reattach it under storage - and also sometimes get the error "still waiting for root device" for instance.
However, if I keep trying, it eventually loads the installer okay - but then I get this message saying it can't be installed on this computer.
I wondered if it could be that it thinks my computer is too new for Leopard. Just a guess. If so - is there some way to tell it that it is okay to go ahead in the Virtual Machine?
Or any other thoughts? Interested in any suggestions at all, even if there's only a remote chance they might help, is easy enough to just give them a go and see if they do anything. Thanks!