Documentation/GuestOperatingSystems/MacOS9

From QEMU
Jump to navigation Jump to search

Mac OS 9 (9.0, 9.1, 9.2)

Description

Mac OS 9 is the last of the "classic" Mac operating systems. It was initially released in 1999 and discontinued in 2002.

Suggested command-line

qemu-system-ppc -hda "Mac OS 9.2 HD.qcow2" -boot c -netdev user,id=mynet0 -device sungem,netdev=mynet0 -m 512 -rtc base=localtime -M mac99,via=pmu

USB flash drive access

Accessing a real USB flash drive from a guest like Mac OS 9 can be done in two ways. The first way is to use the flash drive as an USB flash drive on the guest. This seems the most direct way of accessing files but is really very hard to accomplish. The second way is to use the UNIX device file of the USB flash drive. This is easy to do on a Mac OS host. It will give you access to your files in the form of an ATA hard drive on the guest. The only situation this would not be ideal is when you are running a program that test an USB flash drive. It is only one use case that few people would ever have to deal with.

Directions (Mac OS X and 11 hosts)

Mount USB flash drive on host.
Open Disk Utility.
Click on the USB flash drive.
In the section called "Device:", note its name (mine was called disk4s9).
Click on the "Unmount" button to unmount your flash drive from the host.
Disk Utility.png


Start your Mac OS 9 VM with this option: -hdb /dev/<name minus s and everything after>.
So for example if your disk is called disk4s9 you would use /dev/disk4.
In the QEMU monitor you could see if the flash drive is being used by typing "info block".
Once you are at the Mac OS 9 desktop you might now see the flash drive mounted.

If you don't see it, then open "Drive Setup", select your flash drive from the list.
Select flash drive.png

Click on the "Initialize..." button.
Click on the "Custom Setup" button.
Select "1 Partition".
Select "Mac OS Extended" as the file system type.
Push the "OK" button.
Custom setup.png


Push the Initialize button (this will erase the flash drive!)
The flash drive will now mount under Mac OS 9, Mac OS X, and Mac OS 11.

It is easier to treat a USB 2.0 or 3.0 flash drive as an ATA hard drive for older operating systems than using it as an USB 1.1 device. This method does not require the use of older USB 1.1 hubs or device driver unloading.

Links

Contact

If you have any issues or concerns with this page please feel free to contact me.