Out Dodging Boxes Mac OS

A checkbox is a type of button that lets the user choose between two opposite states, actions, or values. A selected checkbox is considered on when it contains a checkmark and off when it's empty. A checkbox is almost always followed by a title unless it appears in a checklist.

You can run MacOS in Virtualbox. Because? Because.

In the pursuit of Hackintosh, you need a Mac. That’s well and great, but I didn’t want to screw around with my partner’s Macbook. So what if you want to sandbox something? Virtualbox!

  • As early as Mac OS X v10.5 build 9A466 the community has maintained a version of Leopard that can run on non-Apple hardware. A hacker by the handle of BrazilMac created one of the earliest patching processes that made it convenient for users to install Mac OS X onto 3rd party hardware by using a legally obtained, retail version of Apple Mac OS X.
  • Torchlight II, The Witcher 3: Wild Hunt, and Grim Dawn are probably your best bets out of the 48 options considered. 'Elaborate loot system' is the primary reason people pick Torchlight II over the competition. This page is powered by a knowledgeable community that helps you make an informed decision.

I had no expectations that this was going to work. OS X has always been runnable in Virtualbox for a while, but the performance has normally been lacklustre. While it’s not exactly daily-driver level, the performance in Virtualbox wasn’t too bad!

The macOS Virtualbox option is designed for genuine Apple hardware. You will not get community support from Virtualbox if you have trouble with this process, as it’s against Apple ToS.

VMware more your jam? We’ve got this working in there too.

🤔️ What do I need?

You need a donor Mac to start this process. You will not need access to it permanently, but just during the process of creating an ISO for your VM to setup with. Else, you need:

  • A Mac to create an ISO with.
  • MacOS Mojave installer from the Mac App Store.
  • Virtualbox (Windows, Linux or MacOS).
    • Virtualbox Extension Pack is required.
  • At least 4GB of RAM (8GB or more recommended).
  • 40GB of free disk space (more preferred).
  • 2 core CPU or more.

This guide will discuss installing MacOS Mojave, however installation process should be similar for all MacOS versions.

⚠️ At the time of writing, Virtualbox and Hyper-V cannot co-exist on Windows. MacOS is also not installable on Hyper-V. I use Linux in my screenshots as I use Docker on Windows. This also includes Windows Subsystem for Linux, which tripped me up from installing.

💿 Creating the ISO

Virtualbox installs generally prefer to use an ISO file, which unfortunately will require some handiwork to get a hold of. Persevere and you will get there!

On the MacOS machine, download the Mojave installer. Don’t worry about actually running this application, as we’re going to use some terminal magic to build the ISO from the package.

This process is not affected by MacOS Installer expiry.If your MacOS installer has expired, you can continue with this guide.

Once the package has been downloaded, pop open Terminal (Utilities folder in Launcher), and run the following commands:

hdiutil create -o /tmp/Mojave.cdr -size 8000m -layout SPUD -fs JHFS+

This will create a virtual ‘disc’ stored in your temporary directory. This is what we’ll stuff the Mojave installation stuff into.

hdiutil attach /tmp/Mojave.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/installer_goes_here

Now MacOS can ‘see’ your disc as an actual disc, ready for writing to!

asr restore -source /Applications/Install macOS Mojave.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/installer_goes_here -noprompt -noverify -erase

We’re now grabbing the installation DMG from within the updater package, and storing it within the disc image. This will rename the disc image, so don’t panic that ‘installer_goes_here’ has vanished.

Now, detach the image from our MacOS. You can just eject it like regular DMGs. If not, run the command:

hdiutil detach /Volumes/OS X Base System

(it may change since OS X is legacy. To check, run ls /Volumes and see if it’s there, renamed).

Now for the final process, let’s convert our CDR image to an ISO!

hdiutil convert /tmp/Mojave.cdr.dmg -format UDTO -o ~/Desktop/Mojave.iso

You should now have a file on the Mac desktop called ‘Mojave.iso’. Congratulations, you have your installation disc! Copy this over to where your Virtualbox is setup. The Mac is no longer needed at this point.

🛠️ Setting up Virtualbox

⚠️ Before continuing, install the Virtualbox Extension Pack, if you haven’t already. This comes with a special USB 3 driver that without, the Mac simply won’t see USB devices.

Virtualbox has the option for a MacOS virtual machine in it’s New VM dialog, but we will need to make further adjustments to make it truly Mac-ready.

Pop open Virtualbox, and Create a new Virtual Machine. Name this MacOS Mojave, and set it to Mac OS X (64-bit).

Set the RAM to 4096 MB (or higher if you can achieve it!).

When creating the disk, you can use either format versions. Dynamic will not immediately take up the storage size you chose, whereas Static immediately reserves the chosen size for the VM. The latter is slightly better for performance.

Now you should have a new, primed MacOS machine. But you will need to run some commands now. This can be hit-and-miss, and may require some Google-fu. The following works for my AMD FX computer:

Windows? Change VBoxManage to 'C:Program FilesOracleVirtualBoxVBoxManage.exe' (if you didn’t change your Virtualbox install location).

The above does the following, in order of command:

  • Sets a known CPU ID set that MacOS will recognise.
  • Especially for AMD machines, changes what MacOS sees as your processor to something it supports.
  • Tells MacOS you’re installing Mojave onto a mid-2010 iMac. You can change this to your preference.
  • These two specify a fake DMI, typically found in Apple PCs.
  • A device key to pass system checks.

Before starting the VM, open the VM settings and make the following changes:

  • System > Processor > Processor(s) is 2 or more.
  • System > Acceleration > uncheck Enable Nested Paging.
  • Display > Screen > Video Memory is 128MB.
  • USB > USB 3.0 Controller.
    • If greyed/not there, you did not install additions.

With all that done, we’re ready to start the VM!

You should be greeted with the following screen:

Click on the folder icon, and find your ISO created on the Mac before, then click Start.

And wait. yes, this process takes a long time. If your installation stops, try googling the last output message to see if there is a community fix, or post below… Otherwise, this is generally a slow process.

If all has gone well, you should be greeted by the MacOS installer language selection. If so, you’re almost there! On the top menu, open Utilities > Disk Utility.

There should be a disk named VBOX HARDDISK or similar. This is the VDI you created during the setup process, and not your actual hard drive. So go ahead and full-erase this disk, with Mac OS Extended (Journaled) and GUID Partition Map.

Once the disk formatting has completed, close it down. You should now be able to start the installation!

Out Dodging Boxes Mac OS

Once this is complete and you filled all the required details in, congratulations! You’re running MacOS Mojave within Virtualbox!

❓ What works?

✔️ Does

  • Screen (No 3D).
  • Regular input methods (mouse sharing).
  • Networking.
  • USB devices.
  • Mac App Store.

At the end of the day it’s still a virtual machine, and a technically unsupported one at that. However, considering the matter it’s still impressive how Virtualbox can cope with MacOS.

Files can be shared using typical Windows share features. If you share a folder on your network from your host machine, your Mac VM should be able to connect to it.

🌟 Special Thanks

Out Dodging Boxes Mac Os 8

This required a lot of Googling, and these are the people who saved me at the end of the process!

  • This How-to Geek article, that started this whole process. They have a much better step-by-step guide on this!
  • Forchia on Reddit for a different instruction set.
  • miranhasan on Reddit for AMD processors.
  • kvotheV on Reddit for disabling nested paging.

🐛 Troubleshooting

You get Guru Meditation, “A critical error has occurred while running the virtual machine and the machine execution has been stopped” when machine gets to RandomSeed.

This is a difficult one, and will require investigation. I checked the logs as the error message said, and discovered:

HM: HMR3Init: Attempting fall back to NEM: AMD-V is not available

If you’re on an Intel processor, it’ll likely say VT-x instead.

Obviously, check if this is enabled. If you’re on a legacy BIOS computer, it’s a straightfoward scan for AMD-V/VT-x in your settings. If it’s UEFI, you’re gonna have to Google it.

Strangely, on my machine it was enabled. Supposedly Virtualbox and Hyper-V can run side-by-side, so at this point I decided to remove Hyper-V, to see if that would improve. It didn’t, but I forgot something. For this to work, you must turn off Windows Subsystem for Linux!

I completely forgot that WSL uses Hyper-V, and apparently still does when it’s disabled. Unfortunately, it would seem (for me at least) you need to trade it off for macOS in Virtualbox.

I will retest this when WSL2 is launched.

You’ve heard plenty online about Mac OS X from those who installed the Public Beta and those who took the jump before this. But now you’ve received your shiny white box with the big X, and after reading last week’s article about Mac OS X, you’re ready to install Apple’s new operating system. My goal here is to help you install and set up Mac OS X in as painless a manner as possible. The process is a bit like Mac OS X itself – simple on the surface, but complex under the hood, as you can tell if you read through the TidBITS Talk threads related to installation.

<https://tidbits.com/getbits.acgi?tbart=06372>
<https://tidbits.com/getbits.acgi?tlkthrd=1327 +1332>

System Recommendations — Officially, Apple says you need an original PowerPC G3 or G4-based Macintosh (other than the original PowerBook G3) with at least 128 MB RAM and 1.5 GB of hard disk space. As usual with new operating systems, the more processing power and memory you have, the better it operates. That’s how Apple sells new hardware, right? Personally, I’m running Mac OS X on a 400 MHz iMac DV SE with 256 MB of RAM. I’ve also installed it with no problems on my 366 MHz Indigo iBook with 198 MB of RAM.

I wouldn’t recommend running Mac OS X on non-Apple computers, but several Unix-experienced friends have reported success using Power Computing clones with PowerPC G3 upgrade cards, and others have managed to hack Mac OS X into running on Macs whose CPUs predate the PowerPC G3 as well.

<http://homepage.mac.com/RyanRempel/OldWorld/ Instructions.html>

As far as RAM goes, 128 MB of RAM is a realistic minimum. You might theoretically get away with less if you’re not using Classic applications, since Mac OS X manages its virtual memory efficiently. But how many people won’t be using Mac OS X’s Classic mode at least some of the time? Since Classic puts the entire Mac OS 9.1 operating system in RAM when loading, Mac OS X needs at least 64 MB just for Classic. Initial reports indicate that memory beyond 128 MB improves performance.

Mac OS X itself requires about 1.1 GB of hard disk space for a default installation (you can opt out of installing extra printer drivers and the BSD subsystem, each of which take about 80 MB), which it spreads across many thousands of files and folders. I assume Mac OS X requires the rest of the disk space for virtual memory swap space. Welcome to the wonderful world of Unix, and as you can tell, hard disk speed and possibly fragmentation level will play a part in overall performance, since Mac OS X will be hitting the disk constantly.

Advice for Testers — Before I delve into the basics of a safe installation process, let me make a few points for those who have tried one of the earlier releases. I have now installed every version of Mac OS X from Developer’s Preview 1 to the official release, and I’ve come up with the following pieces of advice.

If you installed any version of Mac OS X prior to the Public Beta on a hard disk partition, you probably have a corrupted partition and should run the latest version of Norton Disk Doctor or Micromat’s TechTool Pro and try to repair it. If these programs can’t fix the damage, you must back up and reinitialize your hard disk, then restore from your backup. Frankly, that might be safest anyway.

<http://www.micromat.com/>
<http://www.symantec.com/nu/nu_mac/>

Although Mac OS X will install over the Public Beta, the process is much slower than installing from scratch because the installer has to work hard to figure out which of the many thousands of files have changed. Also, there have been reports of performance problems and other weird behaviors from such an approach. Although installing over the Public Beta retains all your settings (not a big deal unless you used it heavily), you won’t get some new stuff. For instance, on an iBook, if you install over the Public Beta, you won’t get the battery monitor in the Dock by default, as you do after doing a clean install.

Preparing for Mac OS X — Now, for everyone else… Unless you are installing on a Mac containing no useful data, the first thing you should do is back up everything (not just important data) to a location from which you can restore easily. Despite the similarities in the way you use it, Mac OS X is a vastly different environment from any previous version of the Mac OS, and although you should not lose data, it is possible. Be smart and back up.

The next step is to decide whether you want to install Mac OS X on the same partition as your existing copy of the Mac OS, or if you’d prefer to separate the two by partitioning your hard disk and installing Mac OS X on a different partition. I’ve seen no difference in the safety of data, but it’s easier to customize or even get rid of a Mac OS X installation entirely if you’ve dedicated a partition to it. Of course, if you have working data on your hard disk, you’ll need that backup to restore your data after reformatting and partitioning with Apple’s Drive Setup utility.

If you’re not running Mac OS 9.1 currently, you’ll need to install it before installing Mac OS X, and it’s generally easiest to find, download, and install any necessary updates to the programs you use while you’re in a familiar environment. I recommend starting with the newest versions of your programs when upgrading versions of the operating system because it saves you grief in the long run. Otherwise, you might have crashes from, for instance, an old extension that isn’t compatible with the new operating system, and you don’t want to see crashes as soon as you’ve finished installation. One additional suggestion – if you see a Mac OS X version of a program while downloading an update, snag the Mac OS X version at the same time. You’ll want it eventually, and again, it’s easier to work in your familiar environment right now.

VersionTracker is the first place to look for and download updates. If you don’t mind spending some money, you could purchase either Insider Software’s $70 UpgradeAgent 8 (it also runs under Mac OS X as Upgrade Agent X) or Casady and Greene’s $40 Chaos Master (which uses VersionTracker to compare versions). These programs scour your hard disk and return a list of applications that have updates available. Then it is just a matter of spending hours downloading patches and running their installers.

<http://www.versiontracker.com/>
<http://www.insidersoftware.com/>
<http://www.casadyg.com/products/chaosmaster/>

Still assuming that you’re not already running Mac OS 9.1, you’ll need to install it next. Apple has made it easy by including a Mac OS 9.1 CD-ROM in the box with Mac OS X. (Note, however, that PowerBook G4, Power Mac G4 (Digital Audio) and iMac (Early 2001) machines that come pre-installed with Mac OS 9.1 cannot boot from the Mac OS 9.1 CD included with Mac OS X.) There are a few interesting changes in Mac OS 9.1, but the two that affect you the most with Mac OS X are the way it rearranges your folder structure (the Applications folder becomes 'Applications (Mac OS 9)' and the Internet, Utilities, and Apple Extras folders move inside it) and the new Startup Disk control panel that enables you to switch between Mac OS 9.1 and Mac OS X. It’s a good idea to move all your custom Mac OS 9 folders inside Apple’s default folder hierarchy to avoid file permissions problems. The top level of your hard disk should thus contain only Applications (Mac OS 9), Documents, and System Folder. Also, be sure to run the Software Update control panel to check for any recent updates, such as the essential Startup Disk 9.2.1 control panel Apple released last week.

<http://asu.info.apple.com/swupdates.nsf/artnum/ n12078>

Also noteworthy, on the Mac OS 9.1 CD-ROM in the CD Extras folder, there are a number of firmware updaters for the blue & white Power Mac G3, the iMac, the iBook, the Power Mac G4, and the PowerBook (FireWire). Apple recommends using these firmware updates, but if you have third party RAM in your Mac, the potential of having that RAM disabled outweighs the benefits, so hold off on those until Apple addresses the problems.

At this point, you should have Mac OS 9.1 running, with all of your extensions and control panels. They’re some of the most likely things to break under Mac OS X’s Classic mode, so shut them all off by using Extensions Manager to switch to a Mac OS 9.1 All set of extensions. Those should work under Mac OS X, and once you’re in Mac OS X’s Classic mode, you can create a set which contains just the Mac OS 9.1 extensions and control panels you need, and to which you can slowly add your third-party extensions. (Casady & Greene’s Conflict Catcher 8.0.8 knows about Mac OS 9.1 and can even switch between extension sets depending on whether you’re in Mac OS 9.1 or in Classic under Mac OS X, but a bug means you have to enter your registration information in Classic each time if you’re using a single-partition approach.)

<http://til.info.apple.com/techinfo.nsf/artnum/ n106149>

One last thing. Although you should do so before installing any software, be sure to read the READ BEFORE YOU INSTALL.pdf file located on the Mac OS X CD-ROM for information about things you might want to do before installation (especially with beige Power Mac G3 and the PowerBook G3 Series machines with large partitioned hard disks). If you launch right into the installer and read this info at the start of the installation process, you won’t be able to back out without restarting the Mac.

Phew! You are now ready to install Mac OS X itself. Luckily, that’s much easier than all the preparation.

Setup and Installation — The actual process of installation is almost trivially easy, although it can take some time (half an hour or more). You can start the installation while booted into Mac OS 9.1, though the installer immediately reboots from the Mac OS X CD-ROM; or, you can just boot from the Mac OS X CD-ROM directly by holding down the C key during startup. Apple recommends the latter as a troubleshooting approach should the initial attempt fail for some reason.

At the initial startup, Mac OS X provides you with a new version of the Setup Assistant that Apple has used for years. Each screen of the Setup Assistant asks for different information, such as your time zone, your localization requirements (language and keyboard), and so forth.

The Setup Assistant also walks you through creating your user account – remember, Mac OS X is inherently a multiple user system – and in the User Account pane, you must enter a long name (for File Sharing purposes) as well as a short name (but not 'root' or, possibly 'wheel', both of which are special accounts in Unix) and password. Write these down on paper and store them in a secure location! The short name and password are very important because they give you authority to change important preferences and set up how other users can access your Mac. Luckily, Mac OS X makes this account an administrator-level account (so you can set up and manage preferences and access) and defaults to an automatic login, so you don’t have to enter a password on every restart.

In previous versions of the Mac OS, a separate Internet Setup Assistant helped you configure your Mac for use on the Internet. In Mac OS X, the main Setup Assistant does this as well, so make sure you know your email address, mail server addresses, DNS addresses, modem access numbers, passwords, and so on. One departure from the previous Internet Setup Assistant is that Mac OS X’s Setup Assistant asks you for your iTools account (and lets you sign up for one if you haven’t already). This is worthwhile – access to your iDisk is built into the Mac OS X Finder in the Go menu, and Apple is already making software like iTunes and iMovie available via iDisk.

Switching Back and Forth — The details of using Mac OS X are beyond the scope of this article (and of course, if you’ve bought into Apple’s rhetoric, Mac OS X is utterly intuitive, right?), but there is one important task you need to know how to perform – how to switch back to Mac OS 9.1. If you’re like almost everyone else, you’ll need to do that on occasion when you run into software that doesn’t work in Mac OS X’s Classic mode. And, if you’ve installed the new operating system on your primary Mac, you may find that working in Mac OS 9.1 is necessary to get your work done efficiently.

To switch from Mac OS X back to Mac OS 9.1, choose System Preferences from the Apple menu (or click its icon in the Dock). Click the Startup Disk icon in either the toolbar (Apple set it as one of the favorites that appears there no matter what other control panel you’re using) or in the collection of control panels below. You’ll see a list of System Folders that can boot your Mac (at least one for Mac OS X and one for Mac OS 9.1, and possibly more, depending on your setup). Select one with Mac OS 9, and then choose Restart from the Apple menu to restart the Mac.

When the Mac reboots, you’ll notice that some new files and folders have appeared at the top level of your hard disk (assuming you installed on a single partition). Along with the Mac OS 9.1 System Folder, Documents, and Applications (Mac OS 9) folders, you’ll see a new Applications folder that holds Mac OS X applications, a System folder that contains much of the guts of Mac OS X, a Users folder that holds folders and sub-folders for each user, and a Library folder that contains folders for shared files like fonts. Also at the top level are two files – mach and mach.sym – that are part of Mac OS X and are invisible when you’re in Mac OS X.

Feel free to explore the new Mac OS X folders while in Mac OS 9.1 – you’ll probably find navigating in the familiar Mac OS 9.1 Finder to be much faster and more fluid. However, do not move or delete anything! In previous versions of the Mac OS, there were a few files that were dangerous to move, such as the System and Finder and any enablers or Mac OS ROM files, but short of those, you couldn’t do much serious damage. That’s totally not true of Mac OS X – move or delete the wrong file while in Mac OS 9.1 and the whole thing may cease to work. Worse, there aren’t yet many people out there who will be able to help).

Plus, Mac OS X uses many more invisible files and folders, which means that if you end up with a bad installation for some reason and want to erase it, just deleting visible Mac OS X files and folders while in Mac OS 9.1 won’t completely uninstall Mac OS X. First, make sure to switch to Mac OS 9.1 in the Startup Disk control panel (this is important), reboot, and then start deleting things, including all those invisible files and folders (utilities like DiskTop and Greg’s Browser can display and manipulate invisible files and folders). This is the point at which having Mac OS X on its own partition would save some time and uncertainty, since you could just choose Erase Disk from the Finder’s Special menu.

<http://www.prgrsoft.com/pages/disktop.html>
<https://tidbits.com/getbits.acgi?tbart=05843>
<http://www.kaleidoscope.net/greg/browser.html>

When you’re finished in Mac OS 9.1 and ready to return to Mac OS X, just open the Startup Disk control panel in Mac OS 9.1, click the disclosure triangle to reveal the different valid operating systems, choose the Mac OS X System folder, and click the Restart button. A few minutes later, you’ll be back in the watery wonderland of Mac OS X.

Go West, Young Mac — Where to go from here? I’d encourage you to explore Mac OS X on your own first – there’s nothing like personal experience to help you make up your own mind what you think about Apple’s efforts at redesigning the Macintosh interface. For additional tips, opinions, and a moderated forum for asking questions, subscribe to TidBITS Talk (send an email message to <[email protected]>), where the Mac OS X discussions have been going strong. And of course, I’m sure additional articles about Mac OS X will be forthcoming in TidBITS over the next few months.

<https://tidbits.com/getbits.acgi? tlkthrd=active>

[Rita Lewis is the author of over 20 Macintosh books, including the best-selling Mac OS in a Nutshell from O’Reilly.]

Out Dodging Boxes Mac Os Operating System

<http://www.lewiswrite.com/>