Running Raspbian On Qemu For Mac High Sierra

Nov 06, 2017  Also, the sound in High Sierra via the AMD graphics card works perfectly - does not suffer from the slight lag as in the case of running Win 10 in QEMU with the same card passed through. Second, in the High Sierra boot screen, the progress bar under the logo would tear slightly during boot up and appear to freeze (but it is still booting. Jul 19, 2015 Legacy VMInit task is responsible to initialize the BlueBox environment, the emulator were all the 68k code built in these older OS versions runs. MacOS9 still has a lot of 68k code, not only running at high level, but also running at low level, in drivers, extensions and toolbox firmware device managers. Jan 02, 2019  Hello, I tried to boot Mac Os X High Sierra with Qemu (3.1.0) and HAXM,but it did not work. Maybe someone can help me to fix it in some way? Would be nice to make it work,since HAXM does not suppo. The author of that tutorial does not use the default Raspbian Buster Lite image. Default Raspbian is a 32 bit version. You should use the image that the author used and if there are problems you should also ask the author. It has nothing to do with default Raspbian.

I’m not a fan of Mac or OSX by any means however, there comes a time where I need to test either using their native Safari browser or some other native Mac environment. To solve this issue, I set out to install OSX into QEMU. It wasn’t very straight forward but I figured it out so hopefully you won’t have to go through the same issues I had to. Please make sure to follow along exactly with the steps provided, any missed or skipped step could easily lead to a failed install.

Make sure you already have QEMU installed on your system.

Also ensure you have cfdisk installed on your system, or something comparible that you’re comfortable using. We’ll be using this later to create a GPT partition.

You’ll also need to get a hold of an OSX High Sierra ISO. At the time of this publication I was able to located a download of OSX High Sierra 10.13.1 at High Sierra 10.13.1. If for some reason the provided link is unavailable simply do a search or use an actual OSX install disc.

I found the best luck using the enoch_rev2902_boot BIOS. At the time of this publication I was able to located a download at enoch_rev2902_boot. If this specific version is no longer available a later version may work as well.

First we need to create the OSX QEMU image. Issue the following command:

Mac

Replace the 32g with the actual hard disk size you want to use (ie. 64g, 128g, 256g, etc.).

Next, let’s create a GPT partition on the “osx” image. Issue the following command:

You should be presented with the above image. When you are hit enter to select “gpt” as the label type.

Next, select “New” and hit enter. At this point you can select the size of the partition or partitions you would like to create. I created a single partition. Hit enter when you’ve chosen your size or just hit enter for the default max size.

After the partition has been created, we’ll need to write it back to disk and quit. Select the “Write” option and hit enter, then when prompted enter “yes” to confirm the writing of the partition to disk and hit enter. Next, select “Quit” and hit enter.

At this point we’ve created the osx disk image which we’ll be using with QEMU, next we’ll need to configure a boot script for QEMU to load the installer ISO.

To make life easy on ourselves, let’s create a start-mac.sh script so that we don’t have to type out a ton of information each and every time we want to launch the qemu image. Create a start-mac.sh script and add the following to it:

Take note of a few things here. If you’re network device differs from mine which is “eno1” then rename anything in the -netdev from “eno1” to whatever your network interface is called. Next, if you named your QEMU disk image anything other than “osx”, make sure you change the -drive line to reflect that. Lastly, before we move on and spin up the image, make sure you have your High Sierra install ISO and the “enoch_rev2902_boot” BIOS all in the same directory or at least referenced correctly in the start-up script.

Now, let’s set the execute bit on the script and spin it up:

As the image starts up you should see something like the following:

Hit enter to start the OSX installer.

NOTE: from this point forward if your mouse gets stuck in the QEMU window, use the key combination “CTRL + ALT + G” to release the mouse.

Next you’ll see the following if everything went well:

This will take a while and you may see no progress for quite some time. Don’t shut the image down, just wait. Seriously, it could take up to 30 minutes on just that screen along. Eventually however, you will be presented with the black loading screen:

This screen will take a little bit at first too, once again, just be patient it will eventually load. Eventually you will be presented with the language selection screen. Go ahead and select your choice of language and hit the next arrow.

DO NOT SELECT “Install macOS” YET, OR IT WILL FAIL!

First we’ll need to drop down into a terminal and format the disk image “osx” we created to be of the proper Apple type. All the work we did up until this point was just getting it so the Apple installer would recognize it. Also, don’t try and using the graphical Disk Utility either, it will fail and complain about the the disk saying:

Free download TVPaint Animation TVPaint Animation for Mac OS X. TVPaint Animation - TVP Animation Standard Edition is a basic version designed for enthusiasts of 2D animation and digital painting. May 27, 2020  Animation Desk™ 1.7.1 for Mac can be downloaded from our website for free. The most popular versions among Animation Desk™ for Mac users are 2.2 and 1.2. Animation Desk™ for Mac relates to Design & Photo Tools. This Mac download was. Free animation for mac os x. Jul 08, 2020  PhotoRec can be a good choice if you’re thinking about any data recovery software for Mac OS X free download. This absolutely free data recovery tool is compatible with all Windows versions (Windows 10, 8, 7, Vista, XP), DOS/Windows 9x, macOS, Linux, Sun Solaris, FreeBSD, NetBSD, and OpenBSD as well. Mac Os X Lion with CSS3 Experiment - I wanted to create with only use of CSS3 the boot, the login page and finally the desktop of the Mac OS X Lion. I'm sorry to.

Once you reach the macOS Utilities screen, click on the Utilities drop down at the top of the screen and select the “Terminal”.

Once the “Terminal” app has launched we’ll need to re-partition the disk and format it using a Mac readable format.

By default, the disk we’re looking to format should be labelled as “disk2”. If for some reason you’ve deviated from the above steps your label may be different. To ensure you’re partitioning the correct drive issue the following command:

Once you’ve identified the correct drive, we’ll need to partition it. Issue the following command to re-partition the drive:

diskutil partitionDisk /dev/disk2 GPT JHFS+ New 0b

Once complete you should see the following:

Finally, close the open terminal application and select Terminal -> Quit Terminal from the top drop down.

Now, we can actually install macOS to our drive. Select the “Install macOS” option and click continue.

Follow the next few screens and agreements until you get to the disk selection screen.

Now you can actually select the installation drive we labelled as “New”. You may have chosen a different label and if so select that drive and continue the installation.

Shortly after the installer finishes, you may be presented with a black screen and an error which reads:

ParseTagDate unimplemented

Don’t panic! Hit F12 and the boot BIOS screen will be presented. Select the “New” drive “hd(1,2) () New”, hit enter and complete the macOS installation.

At this point you’ll be presented with the gray Apple loading screen. Once again, this may take quite a while. Don’t terminate the instance, let it complete fully.

Raspbian

Eventually you’ll be presented with the black Apple loading screen again.

Finally, you’ll see the actual install progressing.

Hooray! After the install completes you’ll see the BIOS boot screen once more. This time it will contain your Installer, your installed macOS image disk and a recovery disk. Select your macOS image disk “hd(1,2) (10.13) New”, finish up the welcome installer and enjoy your new OSX QEMU instance.

The follow are some final tweaks to make the overall experience a little better.

Screen Resolution

If you see your OSX resolution stuck at something you don’t like say 1024×768, there’s a simple fix that can be applied to change this. Do the following:

First, apply any Apple updates to the OS currently outstanding or available.

Running Raspbian On Qemu For Mac High Sierra Patcher

Next, open your “Finder” application, select “Applications” and go to the root of your drive by using Apple/Metakey + Option/Alt + Up arrow.

Create a directory called Extra

Next, copy the file /Library/Preferences/SystemConfiguration/com.apple.Boot.plist into the /Extra directory you just created.

Now, edit the file and change the following from:

To:

Or change it to whatever graphics resolution you would like. The format of which is:

Next, shutdown the OS completely by selecting “(Apple Icon) -> Shutdown”. Once the instance has completely shutdown, relaunch manually by issuing:

./start-mac.sh

You should see an error in the QEMU window:

Press any key and you should see the window resized to the width and height you specified above. Next, to get rid of the boot error, rename the com.apple.Boot.plist file to org.chameleon.Boot.plist in the /Extra directory.

Finally, shutdown fully using the “(Apple Icon) -> Shutdown” and start the instance again using:

./start-mac.sh

Install Qemu On Raspberry Pi

Now your resolution should be set and you’re good to go.

Remove the ISO image from the start script

Running Raspbian On Qemu For Mac High Sierra Pro

Edit the start-mac.sh script and comment out the last 2 -device and -drive lines:

Running Raspbian On Qemu For Mac High Sierra Download

This will remove the macOS Installer selection from the boot BIOS defaulting the selected item to the “New” drive. Next time you boot, just hit enter and you’re good to go.