An ISO of OS X. Recent version of Qemu. A processor with virtualization technology, AMD-V or Intel VT-x capable. I’m not sure if it is technically required but it certainly helps. Lots of Ram and disk space. Getting OSX 10.5.6 Leopard. A breakdown of that command:-L qemu-screamer/pc-bios sets the BIOS-cpu 'g4' emulate a G4 CPU-M mac99,via=pmu will define the Mac model and enable USB support-m 512 use 512 MB of RAM, could go lower probably-hda macos92.img use our generated disk image for the hard drive-cdrom '/Downloads/Mac OS 9.2.2 Universal Install.iso' use the ISO for the cdrom-boot d boot from the disk.
Running Mac OS X as a QEMU/KVM GuestGabriel L. Somlo
A TPP community member got OS X 1`0.15 Catalina up and running in a few minutes, way before anyone else thanks to the power of KVM and Qemu. This work started out as my OS Practicum project during the Fall of 2012, where I picked Mac OS X on QEMU/KVM as my topic. I'm a 'native' Linux user, but my IT department supports quite a few Mac OS X users, and I decided I could be much faster and more productive if I could access a Mac as a VM guest rather than dual-boot or cold-start an.
See the old version of this page here.FINAL UPDATE (2018-10-21):I no longer have the cycles to work on this project. At this point QEMU and KVM are mostly capable of supporting OS X (up to Sierra), and the largest portion of the effort still required lies with edk2/ovmf (start with my fork on github as indicated below, and go from there). Additionally, since Apple machines have become increasingly lockeddown and end-userunfriendly, I can't continue considering them for any upcoming hardware refresh (which is too bad, they used to make almost perfect Linux machines for the last 20 years!). NOTE: Installer .iso images prepared based on Sierra 10.12.4 or later will hang during boot. However, guest images installed with 10.12.3 or earlier can successfully be upgraded, assuming the applesmc fix mentioned above is applied. The cause for this is as of yet unknown (to me, at least). 1. PrerequisitesYou will need the following:
2. Creating an OS X boot DVD iso imageSnowLeopard (10.6) was the last OS X version released in DVD format. Starting with Lion (10.7), an install DVD (.iso) image may be generated on an OS X machine by following the steps below (Thanks Dick Marinus for pointing out the Yosemite-specific updates!):First, create an empty hard drive image:Using the following command line, install OS X from the boot media created earlier (Thanks Jim Burns for the Penryn hint, which is needed instead of core2duo as of Sierra):In addition to the OVMF.fd firmware blob, the DVD image, and a blank hard drive image, you'll need to provide the value of OSK0 and OSK1, as a single concatenated 64-character string. If you own a Mac and run Linux on it natively (the license-compliant use case for the application of these instructions), you can retrieve them by compiling and running SmcDumpKey.c.Finally, to start your freshly installed guest, run:NOTE: If using qemu ≤ 2.8, substitute '-device usb-mouse' instead of '-device usb-tablet'. A patch to make the latter work with OS X (thanks to Phil Dennis-Jordan) only became available starting with version 2.9.0.4. Is This Legal?Let me start with the obligatory disclaimer: I am not a lawyer, and this is not legal advice!We know that OS X is supported on commercial virtualization solutions such as VMWare Fusion and Parallels. Reading through Apple's EULA (which states that '[..] you are granted a [..] license to install, use and run one (1) copy of the Apple Software on a single Apple-Branded computer at any one time'), it appears everything is OK as long as the underlying hardware is made by Apple.What if the hypervisor OS is different than OS X? (both Fusion and Parallels both use OS X as the hypervisor OS). Well, it appears VMWare ESXi allows running OS X guests (presumably only if the hardware is, once again, manufactured by Apple). This is clearly an example of OS X running as guest on top of a non-OS X hypervisor, on top of Apple-manufactured hardware.So, it is my belief that, as long as I'm running a Linux/KVM hypervisor on a genuine Mac computer (which I've personally been doing exclusively since cca. 2006, btw), the license does not forbid me from running OS X as a VM guest on top of it.In terms of advice, all I can say is: Check with the legal and/or moral authorities in your local jurisdiction before trying this at home! :)5. Future WorkA few things still need work:
Mac Os X Qemu
Os X Download
Best mac os x software. Short explanation of the content of the file:
Canon lbp 2900 patcher for mac high sierra.
#!/bin/bash tells OSX this is a bash script
cd “$(dirname “$0”)” set the path for the executable to current folder ./qemu-system-ppc starts qemu with all the following as parameters: -L pc-bios points qemu to some required files, including openbios-ppc and the vga driver qemu_vga.ndrv. -boot d defines to boot from a drive entry marked as a cdrom, “-boot c” would define to boot from a drive entry marked as disk. -M mac99,via=pmu defines the mac model used (*). -m 512 defines the amount of memory (in Mb) for OS9/OSX. -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' define boot parameters for openbios and Mac OSX. The “-v” makes the boot process verbose -prom-env 'vga-ndrv?=true' loads the qemu_vga.ndrv file to provide on the fly resolution swithing. Setting this to false ignores the driver -drive file=MacOS9.2.iso,format=raw,media=cdrom defines the name, location, format, and type of a cdrom image file to be used -drive file=MacOS9.2.img,format=raw,media=disk defines the name, location, format, and type of a hard disk image file to be used -netdev user,id=network01 -device sungem,netdev=network01 tells qemu to use the sungem network device on a qemu-internal DHCP server -device VGA,edid=on presents additional resolutions to choose from in the guest
(*)The mac model entry accepts 3 options for the via parameter:
mac99,via=pmu (this option supports usb mouse and keyboard) mac99,via=pmu-adb (this allows some older Mac OS/Mac OS server builds to use a keyboard and mouse through the adb bus) mac99,via=cuda (this is the default setting, allowing the use of the older, now less supported cuda) Qemu For Os XQemu Gui Mac
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |