GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Moderators: Cat_7, Ronald P. Regensburg
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
1.6 apparently properly supports OS X. http://wiki.qemu.org/ChangeLog/1.6
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
If that is true, how easily can a testing environment of Qemu (for OS X 10.8.x) be achieved capable of running OS X 10.4 Tiger with Classic? Is the speed acceptable?
- adespoton
- Forum All-Star
- Posts: 4274
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Let's test it and find outPeterHolbrook wrote:If that is true, how easily can a testing environment of Qemu (for OS X 10.8.x) be achieved capable of running OS X 10.4 Tiger with Classic? Is the speed acceptable?
My guess is that it depends on what you're doing. The actual PPC emulation code in QEmu is the same stuff that's used in most other projects, so speed's likely going to be similar (or slightly faster) to using PearPC. However, like other OS X solutions, you won't get graphics acceleration (2d or 3d).
I look forward to testing it against PearPC under 10.8.x to see which performs better; even if it isn't better, hopefully I'll finally be able to run 9.1, 9.2, 10PB (unlikely), and 10.0.
[edit] Argh; should have read the notes first:
Mac OS X guests supported (10.2-10.4 for PPC, 10.4 for PPC64)
So still no PMMU support. I'm sure I could get 10.1 to work (I did under PearPC), but the missing OSes are still un-runnable in an emulated environment
Other notable features:
The Cocoa user interface now supports Mac OS X 10.6 better.
Support for TUN/TAP on Mac OS X (http://tuntaposx.sourceforge.net)
GDB 'g' packets may contain more registers than expected for arm, m68k and ppc guests.
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
I haven't actually read much about Qemu, and that very probably explains my huge ignorance on the subject, but much as I tried finding the relevant approach, I haven't figured out how to generate an OS X application to launch it. Any pointers anyone?
- adespoton
- Forum All-Star
- Posts: 4274
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
The easiest way is to use MacPorts, but that tree isn't up to date -- so your best bet is to compile it yourself from the command line. It won't compile in XCode. You also likely need to install a bunch of dependencies.
http://mikelev.in/2012/10/qemu-mac-os-x-success/ -- one man's success using homebrew.
http://mikelev.in/2012/10/qemu-mac-os-x-success/ -- one man's success using homebrew.
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Wow! Thanks. Far too complicated for now. I'll probably wait to see what more advanced users say about newer Qemu releases and their ability to run Tiger (with Classic?) under ML. Hopefully, someone will create a self-contained OS X application that can launch the emulator.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
One would also need a recent build of openbios. I failed in building it earlier. But at least in Linux it would be easier to get a first impression of performance and functionality.
Best,
Cat_7
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Let us know if you succeed and if running "Tiger" Classic is possible at all in the emulated environment.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
One of the bloggers I follow has got it to work with 10.2, albeit with some Palette issues:
http://virtuallyfun.superglobalmegacorp.com/?p=3197
There's some other notes on building it. Unfortunately I have a friends wedding to attend today, but might try a build myself later in the week.
http://virtuallyfun.superglobalmegacorp.com/?p=3197
There's some other notes on building it. Unfortunately I have a friends wedding to attend today, but might try a build myself later in the week.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
neozeed released a build of Qemu 1.6.0 for OS X. See http://virtuallyfun.superglobalmegacorp.com/?p=3223
I haven't tried it yet, but plan on giving it a go tonight.
I haven't tried it yet, but plan on giving it a go tonight.
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
I might have looked in the wrong place, but I haven't found a Qemu application. In the Qemu universe, is there anything remotely similar to an application that can be run by simply double-clicking it? Or is it all rather arcane, requiring the linking of various libraries and extensive use of the Terminal?
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
There are some GUis that ease the pain, but no recent ones for OSX. So you have to use the command line. Get one going, save it in text file, and the problem is solved.
Best,
Cat_7
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Would there be a step-by-step tutorial guaranteed to produce a valid executable of the latest Qemu for OS X? I mean something like:Cat_7 wrote:There are some GUis that ease the pain, but no recent ones for OSX. So you have to use the command line. Get one going, save it in text file, and the problem is solved.
1. Place components A, B, C, D and E in folder such and such.
2. Go to Terminal and enter the command: ...
3. Enter the command: ...
...
500. Enter the command ...
You are done. Move Qemu.app to your Applications folder and double-click on it. Go to menu such and such, create a virtual machine and install Tiger on it.
Last edited by PeterHolbrook on Sat Aug 24, 2013 10:24 am, edited 1 time in total.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
This all is hypothetical as long as we don't have access to a working set of programs, or someone else explaining how to make them work.
Yesterday I got as far as the installer for 10.3 and 10.4 coming up, but then it told me my emulated hardware doesn't support the installation. This was with the program downloadable from a post just above, and the limited knowledge at my disposal
So basically we have to wait before any useful guide can be constructed.
Best,
Cat_7
Yesterday I got as far as the installer for 10.3 and 10.4 coming up, but then it told me my emulated hardware doesn't support the installation. This was with the program downloadable from a post just above, and the limited knowledge at my disposal
So basically we have to wait before any useful guide can be constructed.
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Fair enough.Cat_7 wrote:So basically we have to wait before any useful guide can be constructed.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
I have been able to install Jaguar, but haven't been able to boot it yet.
Make sure you have your install media disk images on hand in ISO format.
Extract and copy the files:
Terminal Window run the following:
Important parts of this command are:
Make sure you have your install media disk images on hand in ISO format.
Extract and copy the files:
- Download the PPC version from http://virtuallyfun.superglobalmegacorp.com/?p=3223
- Extract the ZIP to a folder (say in your home directory)
- Extract glib.tar
- Copy the contents of glib (so all the files in ./usr/local/lib/) to /usr/local/lib on your local machine.
- Copy libintl.8.dylib and libpixman-1.0.dylib to /usr/local/lib
- Open a Terminal Window and cd to your qemu directory (eg ~/qemu-1.60-pre3)
- Type the following to to use qemu-img to make a disk image 4GB image named machd.vmdk:
Code: Select all
./qemu-img create -f vmdk machd.vmdk 4G
Terminal Window run the following:
Code: Select all
./qemu-system-ppc -L pc-bios/ -m 256 -M g3beige -hda ./machd.vmdk -cpu G3 -boot d -cdrom ./Jaguar1.iso -prom-env 'boot-args=-v'
- -m 256 the amount of memory in megabytes.
- -M g3beige the machine type. The other option is mac99. If you're installing 10.3 or newer you'll need to use mac99. I haven't had any luck with it yet.
- -hda machd.vmdk the hard disk file and path (there are other ways of specifying this, including using SCSI.
- -cpu G3 - processor to emulate. Other options include G4 and ppc970, although the latter will need qemu-system-ppc64.
- -boot d - this tells it to boot from cd by default. I suspect it refers to the ide channel/device. Use -boot c to boot off the hard disk (default)
- -cdrom ./Jaguar1.iso - specifies the path to the cd-rom to emulate
-
- Student Driver
- Posts: 16
- Joined: Tue Jun 28, 2011 8:06 am
- Location: France
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
I tried your commands, superpete (I thank you for that), and got the same result as yours so far. The installer of «Jaguar» does complete the installation on the machd.vmdk drive created by Qemu [that, I have to say, but after I used previously the «Disk Utility» shipped with the Install .iso to erase the machd.vmdk drive and format it to 'Mac OS Extended (journalized)', otherwise the disk wouldn't have been recognized as an installable volume].superpete wrote:I have been able to install Jaguar, but haven't been able to boot it yet.
But after the installation is complete, when time has come to re-boot off the Install .iso to launch «Jaguar», a message occurs in the end saying 'NO, NO, NO' = no valid bootable disk has been found, and the re-booting process launches da cappo the «Jaguar» installer from the .iso with the only perspective of installing back 10.2 to the machd.vmdk disk.
<I am on a MacBook Pro running «Mountain Lion 10.8.4»>
- Ronald P. Regensburg
- Expert User
- Posts: 7830
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
To be bootable for PPC Mac OS X, a disk not only needs to be formatted 'Mac OS Extended (journaled)', it also needs to be partitioned with 'Apple Partition Map'. You can install a system on a disk that is not correctly partitioned, but you cannot boot from that disk. Could that be the issue here?
Disk Utility offers three partition options: GUID Partition Table (for Intel Mac boot disk), Apple Partition Map (for PPC Mac boot disk), and Master Boot Record (for DOS and Windows).
Disk Utility offers three partition options: GUID Partition Table (for Intel Mac boot disk), Apple Partition Map (for PPC Mac boot disk), and Master Boot Record (for DOS and Windows).
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Have you tried 10.2 ..? It is very slow though...
Thanks for outlining the steps, I should add them to my blog.
Thanks for outlining the steps, I should add them to my blog.
don't do today what you can put off until tomorrow.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Jaguar pre-dates all of that, so Disk Utility presumably only partitions as Apple Partition Map (theres no option). My guess is either the install didn't complete properly, or I need to send some commands to OpenBIOS to boot off the HDD (on my install it tries but freezes...).Ronald P. Regensburg wrote:To be bootable for PPC Mac OS X, a disk not only needs to be formatted 'Mac OS Extended (journaled)', it also needs to be partitioned with 'Apple Partition Map'. You can install a system on a disk that is not correctly partitioned, but you cannot boot from that disk. Could that be the issue here?
Disk Utility offers three partition options: GUID Partition Table (for Intel Mac boot disk), Apple Partition Map (for PPC Mac boot disk), and Master Boot Record (for DOS and Windows).
I tried but didn't have much luck. I see you posted the 1.6.0 binaries today too, I'll have a go with them tonight. Thank you very much for building these as too - it's very much appreciated. I'm an avid reader of your blog (I think I post under my real name there) and enjoy both your and your guest's posts immensly.neozeed wrote:Have you tried 10.2 ..? It is very slow though...
Thanks for outlining the steps, I should add them to my blog.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Once Jaguar is installed you should of course boot from the hd image, and not from the cd image, so change the command line accordingly:
"boot d" into "boot c"
I got Jaguar to boot. Runs fine. I tried to start Classic inside Jaguar, but that failed. It didn't crash, it just didn't show the classic desktop.
Best,
Cat_7
"boot d" into "boot c"
I got Jaguar to boot. Runs fine. I tried to start Classic inside Jaguar, but that failed. It didn't crash, it just didn't show the classic desktop.
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
I switched to OS X from Windows back in the good old days of Panther. In those days and in Tiger, I don't actually recall a "Classic desktop". If I remember correctly, if you installed Classic, there was a System Preferences panel that actually let you load the Classic environment (which was invisible, except for a "9" icon in the Dock), which then gave you access to Classic applications. Was Jaguar any different?Cat_7 wrote:I got Jaguar to boot. Runs fine. I tried to start Classic inside Jaguar, but that failed. It didn't crash, it just didn't show the classic desktop.
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Oh, I see what you mean. I guess we are closer to running OS 9.2.2 on modern Macs, but more work on Qemu will probably be required.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
At least on Qemu 1.6 for Windows, you can run 10.2, 10.3 and 10.4 images that were installed with PearPC.
Best,
Cat_7
Best,
Cat_7