QEMU/Guests/Mac OS 9: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
You should see an output like this:
 
[[File:MacOS Img Created.png|700px]]
 
Now we're ready to go.
<pre>qemu-system-ppc -M mac99 -m 512 -hda macos9.img -cdrom /path/to/macos-9-cd.iso -netdev user,id=mynet -device sungem,netdev=mynet -device usb-mouse -device usb-kbd -boot d</pre>
 
A breakdown of this command: <code>qemu-system-ppc</code> is the name of the QEMU emulator, of course. <code>-M mac99</code> tells it to emulate a "Mac99" model (which is a G4 Mac). QEMU also supports a Beige PowerMac G3. You can type <code>-M ?</code> for a full list. <code>-m 512</code> adds 512 MB of RAM to the machine. The system becomes pretty unstable with more than 1 GB of RAM so I recommend setting this to about 896 MB at most. <code>-hda macos9.img</code> is the hard drive. <code>-cdrom /path/to/macos-9-cd.iso</code> adds a CDrom drive, which needs to be changed to point to the Mac OS ISO. <code>-netdev user,id=mynet</code> adds a virtual "user" network and sets up some network configuration. It'll also attach to your host's LAN. <code>-device sungem,netdev=mynet</code> adds a virtual NIC (in this case, a SunGEM network card) and assigns it to the virtual network specified before. <code>-device usb-mouse</code> and <code>-device usb-kbd</code> add a USB mouse and keyboard which will allow for much better input (especially if you are hosting this on [[CollabVM]]). And finally, <code>-boot d</code> tells the machine to boot from the CD-ROM drive.
 
With all that in mind, we are now ready to start.
 
[[File:MacOS Installing.png]]
 
When it's done installing you will get a message box asking if you want to exit or continue to install other software. Choose "Continue" and close out of QEMU (press Ctrl+ALT+G to release the mouse grab). Change the <code>-boot d</code> flag to <code>-boot c</code> so that it boots to the new image, like so:
 
<pre>qemu-system-ppc -M mac99 -m 512 -hda macos9.img -netdev user,id=mynet -device sungem,netdev=mynet -device usb-mouse -device usb-kbd -boot c</pre>
 
You may also remove the CD rom if you want. You will see the same yellow boot screen as before, and if all went well, you should see this (you may have to jiggle your mouse a bit to make it actually load):
 
[[File:MacOS StartingUp2.png]]
 
And if all went well, you should be in the desktop! Hooray!
 
[[File:MacOS Desktop.png]]
 
You may have a "Setup Assistant" appear. You can go through and set everything up or close it, it doesn't matter much, though it will help you set up some basic network functions like shared folders and the like, so I recommend it. It's a very simple wizard.
 
===Software===
Mac OS 9 had lots of software released for it back in the day, and fortunately, a lot of it was preserved thanks to the efforts of [https://macintoshgarden.org/ Macintosh Garden] and the Internet Archive. Pretty much every major software for OS 9 is on Macintosh Garden, so I recommend checking that one out first. At the end of this tutorial I'll list some useful software.
 
===Sound===

Navigation menu