Documentation/GuestOperatingSystems/MacOS9: Difference between revisions

From QEMU
Line 7: Line 7:
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.
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 guests) ==
=== Directions (Mac OS X and 11 guests) ===
Mount USB flash drive on host.<br>
Mount USB flash drive on host.<br>
Open Disk Utility.<br>
Open Disk Utility.<br>

Revision as of 19:50, 16 May 2021

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.

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 guests)

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.