ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Mac Os Virtualbox Image Download
    카테고리 없음 2022. 1. 1. 14:20

    You can run MacOS in Virtualbox. Because? Because.

    1. Mac Os Lion Virtualbox Image Download
    2. Mac Os 9 Virtualbox Image Download
    3. Vmware Mac Os Catalina Download
    4. Mac Os Virtualbox Image

    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!

    Download macOS Big Sur VirtualBox Boot Image File: This file is created and uploaded on Google Drive completely for free so if you’d like to get the file simply head to the file by clicking on it and right-click on the file and download it. Download and Run install-mac-tools.sh in the USB drive Download and Run linux-create-bootable-macos-recovery-image.sh in the USB drive.

    To download macOS Catalina Virtual image. There are two versions. One for the VirtualBox. Second for the VMware. However, I will provide the the virtual image which will work on both of them. Therefore, you don’t need to download separate image for VirtualBox and VMware. When you will download the virtual image.

    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.

    🤔️ 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

    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:

    Mac os high sierra virtualbox image

    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:

    Mac Os Virtualbox Image Download
    • 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!

    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

    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!

    Mac os 10.9 virtualbox image download

    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.

    These advanced steps are primarily for system administrators and others who are familiar with the command line. You don't need a bootable installer to upgrade macOS or reinstall macOS, but it can be useful when you want to install on multiple computers without downloading the installer each time.

    What you need to create a bootable installer

    • A USB flash drive or other secondary volume, formatted as Mac OS Extended, with at least 12GB of available storage
    • A downloaded installer for macOS Big Sur, Catalina, Mojave, High Sierra, or El Capitan

    Download macOS

    • Download: macOS Big Sur, macOS Catalina, macOS Mojave, or macOS High Sierra
      These download to your Applications folder as an app named Install macOS [version name]. If the installer opens after downloading, quit it without continuing installation. To get the correct installer, download from a Mac that is using macOS Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators, please download from Apple, not a locally hosted software-update server.
    • Download: OS X El Capitan
      This downloads as a disk image named InstallMacOSX.dmg. On a Mac that is compatible with El Capitan, open the disk image and run the installer within, named InstallMacOSX.pkg. It installs an app named Install OS X El Capitan into your Applications folder. You will create the bootable installer from this app, not from the disk image or .pkg installer.

    Use the 'createinstallmedia' command in Terminal

    1. Connect the USB flash drive or other volume that you're using for the bootable installer.
    2. Open Terminal, which is in the Utilities folder of your Applications folder.
    3. Type or paste one of the following commands in Terminal. These assume that the installer is in your Applications folder, and MyVolume is the name of the USB flash drive or other volume you're using. If it has a different name, replace MyVolume in these commands with the name of your volume.

    Big Sur:*

    Catalina:*

    Mojave:*

    High Sierra:*

    El Capitan:

    * If your Mac is using macOS Sierra or earlier, include the --applicationpath argument and installer path, similar to the way this is done in the command for El Capitan.

    Mac Os Lion Virtualbox Image Download


    After typing the command:

    1. Press Return to enter the command.
    2. When prompted, type your administrator password and press Return again. Terminal doesn't show any characters as you type your password.
    3. When prompted, type Y to confirm that you want to erase the volume, then press Return. Terminal shows the progress as the volume is erased.
    4. After the volume is erased, you may see an alert that Terminal would like to access files on a removable volume. Click OK to allow the copy to proceed.
    5. When Terminal says that it's done, the volume will have the same name as the installer you downloaded, such as Install macOS Big Sur. You can now quit Terminal and eject the volume.

    Use the bootable installer

    Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps:

    Apple silicon

    1. Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing.
    2. Turn on your Mac and continue to hold the power button until you see the startup options window, which shows your bootable volumes and a gear icon labled Options.
    3. Select the volume containing the bootable installer, then click Continue.
    4. When the macOS installer opens, follow the onscreen instructions.

    Intel processor

    1. Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing.
    2. Press and hold the Option (Alt) ⌥ key immediately after turning on or restarting your Mac.
    3. Release the Option key when you see a dark screen showing your bootable volumes.
    4. Select the volume containing the bootable installer. Then click the up arrow or press Return.
      If you can't start up from the bootable installer, make sure that the External Boot setting in Startup Security Utility is set to allow booting from external media.
    5. Choose your language, if prompted.
    6. Select Install macOS (or Install OS X) from the Utilities window, then click Continue and follow the onscreen instructions.

    Learn more

    Mac Os 9 Virtualbox Image Download

    For more information about the createinstallmedia command and the arguments that you can use with it, make sure that the macOS installer is in your Applications folder, then enter the appropriate path in Terminal:

    Vmware Mac Os Catalina Download

    • Big Sur: /Applications/Install macOS Big Sur.app/Contents/Resources/createinstallmedia
    • Catalina: /Applications/Install macOS Catalina.app/Contents/Resources/createinstallmedia
    • Mojave: /Applications/Install macOS Mojave.app/Contents/Resources/createinstallmedia
    • High Sierra: /Applications/Install macOS High Sierra.app/Contents/Resources/createinstallmedia
    • El Capitan: /Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia

    Mac Os Virtualbox Image

    A bootable installer doesn't download macOS from the internet, but it does require an internet connection to get firmware and other information specific to the Mac model.

Designed by Tistory.