Skip to contentSkip to conversation

MacOsX 10.2 guest under a GNU/Linux host

Qemu-devel Jean-Michel POURE 5 participants 6 messages Mar 17, 2004

lore
Share & tools
lore
#0 lore raw

Dear friends,

I would like to install a MacOs X 10.2 guest under a GNU/Linux host. Any sucess so far. How to proceed?

Cheers,
Jean-Michel

#1 lore raw
Quoted 2 lines · Jean-Michel POURE

I would like to install a MacOs X 10.2 guest under a GNU/Linux host. Any sucess so far. How to proceed?

Well, to my knowledge, qemu doesn't yet have that ability. It doesn't currently (that I know of) have full-machine emulation capability for PowerPC, not to mention a compabile OpenFirmware implementation (and compatible OF drivers). I don't know if or when Fabrice intends to do something like that with qemu, and I don't believe the SheepShaver port is anywhere near far enough along (currently only OldWorld compatible, requires a ROM image, and last time I tried to build it, still slightly broken). If you have a PowerPC system, you can run MacOS X inside the Mac-on-Linux virtualization environment, which I've done on multiple occasions on my PowerBook Pismo, but that's about it. Also, Apple's licenses are written such that running their OS on non-Apple hardware is a direct license violation. Just FYI.

Signature · 2 lines
Derrik Pates
[email protected]
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines

Also, Apple's licenses are written such that running their OS on non-Apple hardware is a direct license violation. Just FYI.

This is not legal in France:

As a basic principle of law, you shall be able to devide anything you buy for seperate use (even licenses).

This kind of license is not legal in most countries. I cannot tell about the US-American laws because I am not of American citizenship.

In my case, I bought a MacOsX 10.2 license for an old PowerMac in order to compile pgAdmin III (http://www.pgadmin.org). I never used the license because MacOsX 10.2 does not support Unicode.

So basically, I still have an old PowerMac with MacOs9 and an idle MacOsX 10.2 license, which I would really like to use.

So, when Qemu or Balilik2 supports MacOsX 10.2 under a GNU/Linux host, I am ready to make installation tests.

Cheers,
Jean-Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAWEVpextoHHj2YFMRAn0oAJ0bi2G0PR/O8gDkmK+Pri+BwodULQCgmj5W azQ1/UgJAn+hXTLHKgQOciE=
=vshz
-----END PGP SIGNATURE-----

#3 lore raw
In reply to Derrik Pates
Quoted 3 lines · Derrik Pates
Quoted 2 lines · Jean-Michel POURE

I would like to install a MacOs X 10.2 guest under a GNU/Linux host. Any sucess so far. How to proceed?

I tried OpenDarwin 1.4.1, 6.2 & 7.1 & GNUDarwin (version ?) for x86. All load the kernel, start and seem to hang.
I can see the white screen with the Apple for all versions but 1.4.1, then nothing more happens...

Quoted 4 lines

Well, to my knowledge, qemu doesn't yet have that ability. It doesn't currently (that I know of) have full-machine emulation capability for PowerPC, not to mention a compabile OpenFirmware implementation (and compatible OF drivers). I don't know if or when Fabrice intends to do

Quoted 8 lines

something like that with qemu, and I don't believe the SheepShaver port is anywhere near far enough along (currently only OldWorld compatible, requires a ROM image, and last time I tried to build it, still slightly broken). If you have a PowerPC system, you can run MacOS X inside the Mac-on-Linux virtualization environment, which I've done on multiple occasions on my PowerBook Pismo, but that's about it. Also, Apple's licenses are written such that running their OS on non-Apple hardware is a direct license violation. Just FYI.

I work on PPC system emulation but I'm still far from running MacOS X under qemu. The main reasons are:
- bugs in PPC emulation
- Lack of Open-Firmware: it did some tests with a quick hacked OF emulation, but the good way is to wait for OpenBIOS to be available for MacOnLinux (I did asked to have access to their sources, but for now never got any answer, even to say "no !"). I may try to use the OF from my Ibook to make tests, but this cannot be a solution for Qemu releases.
- Lack of hardware emulation: Mac is *NOT* great: the hardware specifications change almost every day :-). For now, my goal is to emulate the 3 PPC standards: PREP, CHRP and OpenPPC. Some Macs are quite CHRP machines, newer ones seems more like OpenPPC ones.
For now, I use PREP, because my first goal is to eliminate PPC CPU emulation bugs. As PREP is nearly a PC with a PPC CPU, I can re-use current Qemu hardware emulation, which make things simpler... The only thing I got for recent Mac emulation is OpenPIC (good start).

I don't intend to emulate oldworld Macs for now.
I'd better have a recent one working, because the hardware is more standard and documented.

Current PPC system emulation status is:
I can launch Linux and a shell in it and use it. That's all.

All this need to be merged with latest Fabrice's commits before I can send patches...

Signature · 2 lines
Jocelyn Mayer <[email protected]>
Never organized
#4 lore raw

Jocelyn Mayer <[email protected]> wrote:

: - Lack of Open-Firmware: it did some tests with a quick hacked OF : emulation, but the good way is to wait for OpenBIOS to be available for : MacOnLinux (I did asked to have access to their sources, but for now : never got any answer, even to say "no !").

If you use bitkeeper you can get them from:

bk://openbios.bkbits.net/unstable (bk clone URL)

Signature · 4 lines
Johan Rydberg, Free Software Developer, Sweden
http://rtmk.sf.net | http://www.nongnu.org/guss/

Playing Incubus - Nice To Know You
#5 lore raw
In reply to Derrik Pates
Quoted 2 lines · Derrik Pates

I don't know if or when Fabrice intends to do something like that with qemu, and I don't believe the SheepShaver port is anywhere near far

It never intended to emulate OSX as it's of different ABI than Classic. So far, only OS 8.6 is supported at most. The advantage of SheepShaver approach is it's simply faster.

Quoted 1 line

enough along (currently only OldWorld compatible, requires a ROM image,

It supports old-style NewWorld ROM images (up to 1.6 AFAIK), as available on Apple's FTP site. Parcels based ones are not supported yet.

Quoted 1 line

and last time I tried to build it, still slightly broken).

Actually, it depends on your compiler. Tried 3.2 -> 3.4, no problem so far on amd64 nor ia32. What are the issues you are facing?