Coder Social home page Coder Social logo

alexanderwillner / runmacosinvirtualbox Goto Github PK

View Code? Open in Web Editor NEW
936.0 49.0 127.0 12.39 MB

Run macOS 10.16 Big Sur (and other versions) in VirtualBox on macOS

License: MIT License

Makefile 3.72% Shell 24.03% Python 72.25%
macos mojave virtualbox vm sierra high-sierra apple catalina big-sur

runmacosinvirtualbox's Introduction

Run macOS 11 Big Sur (and other versions) in VirtualBox on macOS

Overview

Simple script to automatically download, install and run macOS 11 Big Sur (and other versions) in VirtualBox on macOS. Since VirtualBox does not support booting from APFS volumes, this script is copying the APFS EFI drivers automatically.

Codacy Badge download

macosBigSurBeta1

ToC

Required Software

The following software is needed.

  • macOS Installer
  • VirtualBox
  • VirtualBox Extension Pack (note: released under the Personal Use and Evaluation License)

Step by Step Video

Two minute summary video (Catalina):

Short Summary Video

Step by Step

Execute make all to setup and run everything. After the installer reboots, press enter in the terminal to finish the installation.

$ make all
Running checks (around 1 second)....
Creating image '/Users/awi/VirtualBox VMs/macOS-VM.dmg' (around 20 seconds, version 14.2.2, will need sudo)....
Creating iso '/Users/awi/VirtualBox VMs/macOS-VM.iso.cdr' (around 25 seconds)....
Creating VM HDD '/Users/awi/VirtualBox VMs/macOS-VM/macOS-VM.vdi' (around 5 seconds)....
Creating VM 'macOS-VM' (around 2 seconds)....
Adding APFS drivers to EFI in '/Users/awi/VirtualBox VMs/macOS-VM/macOS-VM.vdi' (around 5 seconds)....
Starting VM 'macOS-VM' (3 minutes in the VM)....
Press enter to stop VM 'macOS-VM' (e.g. after installer restarted)....

Ejecting installer DVD for VM 'macOS-VM'....
Starting VM 'macOS-VM' (3 minutes in the VM)....

Customizing your build

Additionally the following parameters can be customized with environment variables:

variable name description default value
DST_DIR root directory, where the VM will be stored $HOME/VirtualBox VMs/
VM_NAME name of the virtual machine macOS-VM
VM_DIR sub directory, where the VM will be stored $DST_DIR/$VM_NAME
VM_SIZE the size of the hard disk 131072
VM_RES monitor resolution 1680x1050
VM_RAM ram size in megabytes 4096
VM_VRAM video ram size in megabytes 128
VM_CPU number of cpu cores to allocate 2

Execute make to get some help:

$ make
Some available commands:
 * all      : run everything needed (check, installer, vm, patch, run, stop, eject)
 * check    : check environment
 * installer: create macOS installer image
 * patch    : add APFS drivers to VM EFI to boot
 * vm       : create VM and disk
 * run      : run VM
 * stop     : stop VM
 * wait     : wait for VM to stop
 * eject    : eject installer medium
 * clean    : delete generated images and downloaded files
 * stash    : delete generated VM and disk
 * test     : test shell scripts
 * style    : style shell scripts
 * harden   : harden shell scripts
 * release  : make new release
 * feedback : create a GitHub issue

FAQ

  • Download macOS
    • Q: Where can I download macOS?
    • A: Execute the script installinstallmacos.py - this produces a dmg file which you can open. Within this image you can find the app that should be copied to /Applications.
  • Graphic Issues
    • Q: Applications such as Apple Maps do not work as expected.
    • A: There is currently no 3D acceleration, therefore some applications do not work.
  • Recovery
    • Q: How do I start the recovery mode?
    • A: Start the VM as usual and be ready to press CMD+C when you see Trying to find a bootable device... to interrupt the regular boot process. At the following EFI shell prompt try to find the relevant volume holding boot.efi in a single randomly-named sub-directory of the root directory. So try to change the current volume by entering fs4: (or fs5:, fs6:, etc.), then enter cd TAB (where TAB is used to auto-complete the randomly-named sub-dir), then look for boot.efi in that dir. If existing, start Recovery by entering boot.efi.
  • Installation Loop
    • Q: After starting the installation the VM restarts and I see the installer again.
    • A: You've to press enter in the terminal after the installer restarts.
  • Installation Not Starting
    • Q: I've pressed Continue to start the installation and nothing happens for minutes.
    • A: Your macOS installer might be incomplete or corrupted, please download it again from Apple.
  • Error Message
    • Q: I get the error code 2, 3, 4, or 6.
    • A: You need to have some software components installed on your machine (VirtualBox, VirtualBox Extension Pack, awk). If you've installed Homebrew, the script will partly install these automatically. Otherwise, you need to install them manually.
  • Reboot
    • Q: I see the message MACH Reboot. What should I do?
    • A: The VM failed to restart. Restart manually. However, this should not happen anymore with the latest version.
  • Kernel Panic
    • Q: I see the message Error loading kernel cache (0x9). What should I do?
    • A: This error is shown from time to time. Restart the VM. However, this should not happen anymore with the latest version.
  • Black Screen
    • Q: When I then boot I don't see anything, just a black screen. What should I do?
    • A: Change the VM version in the settings from Mac OS X (64-bit) to macOS 10.13 High Sierra (64-bit)
  • Slow
    • Q: Why is the VM so slow?
    • A: Maybe #71 provides some insights.
  • Other Issue

runmacosinvirtualbox's People

Contributors

alexanderwillner avatar blaisorblade avatar codacy-badger avatar dumol avatar indexerrowaty avatar leogdion avatar max-wittig avatar p3ca avatar roamingthings avatar vitalys avatar yzgyyang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

runmacosinvirtualbox's Issues

Graphics Problem

Hi,
using: VirtualBox 5.2.14 with virtualbox extension Pack got not working... graphics did not work.

bildschirmfoto_2018-07-13_09-39-05

Options for Virtualmachine set:

VBoxManage modifyvm "mojave" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "mojave" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "mojave" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "mojave" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "mojave" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "mojave" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

tryed additonal:

VBoxManage setextradata mojave "VBoxInternal2/EfiGraphicsResolution 1920x1080"
VBoxManage setextradata "mojave" VBoxInternal2/EfiGopMode 5

How to fix this ?

running clover boot

To Reproduce
Steps to reproduce the behavior:

  1. At Step 5, how to remove the .iso.cdr and leave an empty disk? I simply removed it
  2. At step 6, it is no clear how to start the clover boot manager. I pressed enter while the host cursor and nothing seems to happen. I moved the host cursor oover the clover boot manager and clicked. The cursor disappeared but nothing visible seemed to be going on.
  3. VirtualBoxVM is consuming 100% of the CPU
    Expected behavior
    A clear and concise description of what you expected to happen.

Additional context

  • log file (see ~/Library/Logs/runMojaveVirtualbox.log [runMojaveVirtualbox.log](https://github.com/AlexanderWillner/runMacOSinVirtualBox/files/2590833/runMojaveVirtualbox.log) that is accessible via Console.app).
  • screen shot

Consider protecting against another volume named `NO NAME`

To Reproduce
Steps to reproduce the behavior:

  1. Insert an unrelated blank USB stick and let it get formatted with a volume name of NO NAME (I'm not quite sure about the details, but I know I've ended up w/ USB sticks whose volume name is NO NAME -- afaict Disk Utility.app tends to create volumes named Untitled or UNTITLED instead.)
  2. (allow time to pass, i.e. forget you did 1)
  3. use runMacOSinVirtualBox

Expected behavior
I'd encourage using hdiutil attach -mountrandom ... or hdutil attach -mountpoint ... to avoid colliding with unrelated disks

You should be able to use:

attach_and_get_volume() {
  hdiutil attach "$@" -mountrandom /Volumes| sed $'$!d;s/.*\t//'
}

VOL=`attach_and_get_volume "$DST_CLOVER.dmg"`

Additional context

hdiutil attach "$DST_CLOVER.dmg"

cp -r /Volumes/Clover-v2.4k-4533-X64/* /Volumes/NO\ NAME/

Script to except environment variables not updated in app

To Reproduce
Steps to reproduce the behavior:

  1. Go to runMacOSinVirtualBox/app/RunMojaveVirtualbox.app/Contents/Resources/runMojaveVirtualbox.sh
  2. Compare to runMacOSinVirtualBox/runMojaveVirtualbox.sh

Expected behavior
Scripts should be the same.

How do you boot into recovery mode with Clover?

To Reproduce
I pressed F12 and navigated to BOOT Manager but could not cd to FS2

Expected behavior
cd to FS2 and then cd to com.apple.recovery.boot then boot.efi

Actual behavior
when trying to cd to FS2 , I got an error "FS2 is not an actual mapping"

Error while running make all

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Downloaded folder'
  2. run 'make all'

Additional context

  • log file (see ~/Library/Logs/runMojaveVirtualbox.log that is accessible via Console.app).
Creating VM 'macOS-Mojave' (around 2 seconds)....
Adding APFS drivers to EFI in '/Users/nmallavaram/VirtualBox VMs/macOS-Mojave.vdi' (around 5 seconds)....
ERROR: Couldn't mount EFI disk: Error 0x00000001 : VDM API Error.
DEBUG: line 255 - command 'exit 92' exited with status: 92.
DEBUG: In ::patchEFI::main::main called at line 398.
DEBUG: From function ::patchEFI::main::main (line 398).

I am running this from Mac Pro

Black screen after reboot, no clover menu

To Reproduce
For "reasons" I created the iso images on one system and copied them to another for installation. All goes well until step #6 -- the installer image boots, I erase the target disk and install Mojave. After 3-4 minutes the VM reboots and I shutdown and unmount macOS-Mojave.iso.cdr. When I then boot again I do not get the Clover boot menu -- I just get a black screen. It does not respond to keyboard input, and didn't change even after sitting for a couple hours. During this time VirtualBox is busy.

Expected behavior
I expected to see the Clover boot menu.

Additional context

  • I'm using VirtualBox 5.2.18 on a Mac Pro host running macOS 10.13.6.

Doesn't work

bash '/private/var/folders/3j/wkz8x27n5jlb1gl8cjhv6lb80000gn/T/AppTranslocation/B662828F-6A6F-4AFF-968E-613D327E441F/d/RunMojaveVirtualbox.app/Contents/Resources/runMojaveVirtualbox.sh' all && exit
Running checks (around 1 second)....
Opening GUI...Creating image '/Users/usrsse2/VirtualBox VMs/macOS-Mojave.dmg' (around 20 seconds, version 14.1.0, will need sudo)....
Password:
Creating iso '/Users/usrsse2/VirtualBox VMs/macOS-Mojave.iso.cdr' (around 25 seconds)....
DEBUG: line 325 - command '[ "$#" -ne 0 ]' exited with status: 1.
DEBUG: In :: called at line 0.
DEBUG: From function :: (line 0).
ERROR: Look at /Users/usrsse2/Library/Logs/runMojaveVirtualbox.log for details (or use Console.app). Press enter in the terminal when done...
[2018-11-25 21:06:04] Running checks (around 1 second)...
[2018-11-25 21:06:06] .
[2018-11-25 21:06:06] Opening GUI...
[2018-11-25 21:06:07] Creating image '/Users/usrsse2/VirtualBox VMs/macOS-Mojave.dmg' (around 20 seconds, version 14.1.0, will need sudo)...
[2018-11-25 21:06:07] .
hdiutil: create failed - Operation timed out
WARNING: "--applicationpath" is deprecated in macOS 10.14 and greater. Please remove it from your invocation.
/Volumes/macOS-Mojave is not a valid volume mount point.
[2018-11-25 21:09:56] Creating iso '/Users/usrsse2/VirtualBox VMs/macOS-Mojave.iso.cdr' (around 25 seconds)...
[2018-11-25 21:10:05] .
hdiutil: convert failed - File or directory not found
[2018-11-25 21:10:06] line 325 - command '[ "$#" -ne 0 ]' exited with status: 1.
[2018-11-25 21:10:06] In :: called at line 0.
[2018-11-25 21:10:06] From function :: (line 0).
[2018-11-25 21:10:06] Look at /Users/usrsse2/Library/Logs/runMojaveVirtualbox.log for details (or use Console.app). Press enter in the terminal when done...

Only "EFI" (1MB) installation disk available when installing Mojave

Hi!

To reproduce, I've just clone the repository and "make all".
macOS Mojave image is in the Application folder, and VMWare + Ext have been installed (I've tried with both 5.2.26 and 6.0.4.

After having created the image, booting macos installer for the first time, clicking on the "install macos" menu, accept the license, macOS detect only one disk named "EFI" of size 1MB (with 414kB available), and nothing else, so nowhere to install macos... :(

It's an awesome job!!! Thank you so much!

sudo asking for password every time

Hi,

I used make all to create a Mojave 10.14.1 VM and it worked flawlessly. I have just encountered one strange issue inside the guest OS: I am required to enter my password for sudo every time. Normally sudo will only ask once and then not prompt again for 5 minutes.

This is on a fresh install where the only command I have run is sudo sh /Volumes/NO\ NAME/moveCloverToEFI.sh. I use a standard macOS user account (not linked to Apple ID).

I have tried setting timestamp_timeout in /etc/sudoers and creating a 2nd user account. The same thing happens. I thought it might be a time sync thing but my guest OS clock has the right time. Running sudo visudo -c reports:

/etc/sudoers: parsed OK

The permissions on /etc/sudoers and /etc/sudoers.d/ are the same as my host Mojave where sudo works normally.

Has anyone else encountered this? Any idea how to debug it?

Missing apfs.efi driver

cp /Volumes/OS\ X\ Base\ System/usr/standalone/i386/apfs.efi "$FILE_EFI"

Does the script check that base system was mounted?
make clover goes on with the build and created an ISO file. The ISO would load, but no APFS disks would be visible because of the missing driver.

It was sufficient to change the script line to
readonly FILE_EFI="/usr/standalone/i386/apfs.efi"
That also simplified the process: no unpacking for the driver, and no deleting FILE_EFI in clean-up.

sqllite3 kext history

Hey Alexander and thanks for creating this image. Everything works other then finding any records in kext_load_history (or any other table). I'm trying to debug a kext extension (Soundflower) but when I query for any records, it's always empty.

Is there a reason for this behaviour considering we are in virtual environment? Is there any way for this image to properly store those in sqlite3?

macOS Mojave in VirtualBox

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context

  • log file (see ~/Library/Logs/runMojaveVirtualbox.log that is accessible via Console.app).
  • screen shot

VM hung at reboot

Installed MacOS and everything is fine except cannot reboot. if using clover 4833 vbox reboot/shutdown will throw an error, if updated to latest clover will hung at Mach reboot(shutdown is fine)
I searched via google, add drop table to config.plist but no use. would you look into it? Thanks a lot
screen shot 2019-02-19 at 2 56 12 pm
screen shot 2019-02-19 at 3 09 35 pm

Log.zip

my physical machine is MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) 2.5 GHz Intel Core i7 16G RAM, os is 10.13.3 vbox ver is 5.2.26

Installing Mojave in VBox hangs

First of all, many thanks for your tool.
I checked out the latest version and ran 'make all'. Everything succeeded.
Then I formatted the disk with the disk util, according to the step by step guide.
But when I try to start the system installation, nothing happens.
bildschirmfoto 2018-10-02 um 11 35 00
I almost waited an hour.
I'm runnig VBox 5.2.18 on macOS 10.12.6
Has anyone experienced the same behaviour? Any hints on getting over this?

Enabling FileVault prevents system boot

First: Thank you very much for making your scripts available. They've been a huge asset in getting a macOS VM up and running.

I'm fairly sure this has nothing to do with your scripts, but I was hoping that you may have some insight that helps me or others get past this current blocker.

After I've successfully created / set up a new macOS VM (High Sierra 10.13.6), I need to enable FileVault in order to install some company VPN software that requires it's enabled.

The problem is that after FileVault successfully encrypts the drive, I'm no longer able to boot into it. My Clover GUI options no longer lists Boot macOS from Mojave, but is now replaced with Boot FileVault Prebooter from Preboot. If I select this new option, I'm presented with the standard initial user login screen asking for my account password, but I'm unable to enter it as the keyboard and mouse seem to be disabled.

If I boot into recovery mode, I'm able to see my encrypted drive as a selectable option within Choose startup disk after entering the password to decrypt it... but when it reboots I'm back to the same boot issue with the Boot FileVault Prebooter from Preboot and the lack of keyboard/mouse input.

Happy to provide more specific details if you think it might help in successfully being able to use FireVault within the VM.

Update OS causes crash

To Reproduce
Steps to reproduce the behavior:
0. OS is just installed and account with iCloud linkage setup

  1. Go to Settings -> Update OS

  2. Click on Update OS (10.14.1)

  3. OS update fails - core dump appears to be produced - "shutdownStall" file. Log is binary not text.

Update would complete by normal process.

Is this a bug or am I not choosing the right Clover image for the boot?

Won't get the Clover boot menu

To Reproduce
Steps to reproduce the behavior:

  1. Follow onscreen instruction with success until step 6
  2. After restarted up the WM, I'm getting the UEFI interactive shell interface
  3. Mapping table displays FS1 and FS0 but I'm not able to find how to switch into Clover boot menu

Expected behavior
Start macOS in the Clover boot menu

Additional context
Tried fs1: and fs0: where I enter \EFI\Boot\Bootx64.efi
No luck.

Add kern.hv_support

Is it possible for the macOS guest to have sysctl kern.hv_support enabled?

Mouse integration (MI) is on, after export, mouse is captured and stuck

If someone have an idea to use mouse integration (on) after export/import.
Everything works with my base VM, package it with vagrant, no working mouse after import.
I tried with additional USB mouse in connected devices mount in the VM.

I'm out of ideas :(.

To Reproduce
Steps to reproduce the behavior:

  1. Have working 10.14.1 Mojave VM with mouse integration (MI) is on and working on host-guest (no capture)
  2. Package with vagrant to get a clean base box to share (vagrant package)
  3. Import with vagrant and start (vagrant up)
  4. Boot ok, the mouse is captured but stuck (No mouse integration on)

Expected behavior
Working mouse on capture, but it will be better with mouse integration on

Move to linux results in endless loop

Exported from OSX to Ubuntu host.

  1. I tried this two ways. 1) Export VM after deleting the CDR, and before deleting the CDR. In either case, OSX boots nicely... in OSx.
    In both cases, the guest media was not exported by VB. Instead, I copied the cdr and clover iso over to the ubuntu host.

If I attempt this after writing the osx disk and deleting the cdr, It hangs up.
If I attempt this before writing the osx disk and deleting the cdr, it simply loops and never reaches the clover boot menu.

Expected behavior
I expect OSX to boot in Ubuntu, just as it did on OSX.

Additional context
THANKS!!

This are the logs when I try this before deleting the cdr. Log gathered from Ubuntu host.
00:00:00.631163 VirtualBox VM 6.0.0 r127566 linux.amd64 (Dec 18 2018 13:18:17) release log
00:00:00.631165 Log opened 2018-12-21T18:23:43.294395000Z
00:00:00.631165 Build Type: release
00:00:00.631167 OS Product: Linux
00:00:00.631168 OS Release: 4.15.0-43-generic
00:00:00.631168 OS Version: #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018
00:00:00.631184 DMI Product Name: 20M9CTO1WW
00:00:00.631187 DMI Product Version: ThinkPad P52
00:00:00.631215 Host RAM: 15647MB (15.2GB) total, 8563MB (8.3GB) available
00:00:00.631218 Executable: /usr/lib/virtualbox/VirtualBoxVM
00:00:00.631218 Process ID: 15062
00:00:00.631218 Package type: LINUX_64BITS__UBUNTU_18_04
00:00:00.649440 Installed Extension Packs:
00:00:00.649451 Oracle VM VirtualBox Extension Pack (Version: 6.0.0 r127566; VRDE Module: VBoxVRDP)
00:00:00.649916 Console: Machine state changed to 'Starting'
00:00:00.650020 Qt version: 5.9.5
00:00:00.650028 X11 Window Manager code: 2
00:00:00.654781 SUP: Loaded VMMR0.r0 (/usr/lib/virtualbox/VMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX
00:00:00.654814 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX
00:00:00.655089 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:00.656217 Guest OS type: 'MacOS1013_64'
00:00:00.656727 Using MWAIT extensions
00:00:00.657346 fHMForced=true - Lots of RAM
00:00:00.657354 fHMForced=true - SMP
00:00:00.657356 fHMForced=true - 64-bit guest
00:00:00.659348 X Server details: vendor: The X.Org Foundation, release: 11906000, protocol version: 11.0, display string: :1
00:00:00.659358 Using XKB for keycode to scan code conversion
00:00:00.660100 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 0 work area is actually resized to: 0x28 x 1920x1018
00:00:00.662896 File system of '/home/sfi/VirtualBox VMs/macOS-Mojave/Snapshots' (snapshots) is unknown
00:00:00.662908 File system of '/home/sfi/VirtualBox VMs/macOS-Mojave/macOS-Mojave-disk001.vmdk' is ext4
00:00:00.664096 File system of '/home/sfi/VirtualBox VMs/macOS-MojaveClover.iso' (DVD) is ext4
00:00:00.665316 File system of '/home/sfi/VirtualBox VMs/macOS-Mojave.iso.cdr' (DVD) is ext4
00:00:00.677217 Shared clipboard service loaded
00:00:00.677232 Shared clipboard mode: Off
00:00:00.677704 Drag and drop service loaded
00:00:00.677713 Drag and drop mode: Off
00:00:00.679091 Per-VM extradata API settings:
00:00:00.679099 VBoxInternal2/EfiGraphicsResolution="1680x1050"
00:00:00.679223 ************************* CFGM dump *************************
00:00:00.679227 [/] (level 0)
00:00:00.679236 CSAMEnabled = 0x0000000000000001 (1)
00:00:00.679241 CpuExecutionCap = 0x0000000000000064 (100)
00:00:00.679242 EnablePAE = 0x0000000000000001 (1)
00:00:00.679243 HMEnabled = 0x0000000000000001 (1)
00:00:00.679243 MemBalloonSize = 0x0000000000000000 (0)
00:00:00.679244 Name = "macOS-Mojave" (cb=13)
00:00:00.679244 NumCPUs = 0x0000000000000002 (2)
00:00:00.679245 PATMEnabled = 0x0000000000000001 (1)
00:00:00.679245 PageFusionAllowed = 0x0000000000000000 (0)
00:00:00.679246 RamHoleSize = 0x0000000024000000 (603 979 776, 576 MB)
00:00:00.679247 RamSize = 0x0000000100000000 (4 294 967 296, 4 096 MB, 4.0 GB)
00:00:00.679248 RawR0Enabled = 0x0000000000000001 (1)
00:00:00.679249 RawR3Enabled = 0x0000000000000001 (1)
00:00:00.679249 TimerMillies = 0x000000000000000a (10)
00:00:00.679250 UUID = "9b 18 39 9c ee 35 d1 43 b2 94 e8 5b d5 3b af 9f" (cb=16)
00:00:00.679253
00:00:00.679255 [/CPUM/] (level 1)
00:00:00.679256 GuestCpuName = "host" (cb=5)
00:00:00.679257 NestedHWVirt = 0x0000000000000000 (0)
00:00:00.679257 PortableCpuIdLevel = 0x0000000000000000 (0)
00:00:00.679258 SpecCtrl = 0x0000000000000000 (0)
00:00:00.679259
00:00:00.679259 [/CPUM/IsaExts/] (level 2)
00:00:00.679260 MWaitExtensions = 0x0000000000000001 (1)
00:00:00.679261
00:00:00.679263 [/DBGC/] (level 1)
00:00:00.679264 GlobalInitScript = "/home/sfi/.config/VirtualBox/dbgc-init" (cb=39)
00:00:00.679265 HistoryFile = "/home/sfi/.config/VirtualBox/dbgc-history" (cb=42)
00:00:00.679265 LocalInitScript = "/home/sfi/VirtualBox VMs/macOS-Mojave/dbgc-init" (cb=48)
00:00:00.679266
00:00:00.679266 [/DBGF/] (level 1)
00:00:00.679267 Path = "/home/sfi/VirtualBox VMs/macOS-Mojave/debug/;/home/sfi/VirtualBox VMs/macOS-Mojave/;/home/sfi/" (cb=95)
00:00:00.679267
00:00:00.679268 [/Devices/] (level 1)
00:00:00.679268
00:00:00.679268 [/Devices/8237A/] (level 2)
00:00:00.679269
00:00:00.679269 [/Devices/8237A/0/] (level 3)
00:00:00.679270 Trusted = 0x0000000000000001 (1)
00:00:00.679270
00:00:00.679270 [/Devices/GIMDev/] (level 2)
00:00:00.679271
00:00:00.679271 [/Devices/GIMDev/0/] (level 3)
00:00:00.679272 Trusted = 0x0000000000000001 (1)
00:00:00.679272
00:00:00.679272 [/Devices/VMMDev/] (level 2)
00:00:00.679273
00:00:00.679273 [/Devices/VMMDev/0/] (level 3)
00:00:00.679274 PCIBusNo = 0x0000000000000000 (0)
00:00:00.679274 PCIDeviceNo = 0x0000000000000004 (4)
00:00:00.679275 PCIFunctionNo = 0x0000000000000000 (0)
00:00:00.679275 Trusted = 0x0000000000000001 (1)
00:00:00.679276
00:00:00.679276 [/Devices/VMMDev/0/Config/] (level 4)
00:00:00.679276 GuestCoreDumpDir = "/home/sfi/VirtualBox VMs/macOS-Mojave/Snapshots" (cb=48)
00:00:00.679277
00:00:00.679277 [/Devices/VMMDev/0/LUN#0/] (level 4)
00:00:00.679278 Driver = "HGCM" (cb=5)
00:00:00.679278
00:00:00.679278 [/Devices/VMMDev/0/LUN#0/Config/] (level 5)
00:00:00.679280 Object = 0x00007fbd88000b70 (140 452 007 250 800)
00:00:00.679281
00:00:00.679281 [/Devices/VMMDev/0/LUN#999/] (level 4)
00:00:00.679282 Driver = "MainStatus" (cb=11)
00:00:00.679283
00:00:00.679283 [/Devices/VMMDev/0/LUN#999/Config/] (level 5)
00:00:00.679284 First = 0x0000000000000000 (0)
00:00:00.679285 Last = 0x0000000000000000 (0)
00:00:00.679285 papLeds = 0x00007fbdac003b18 (140 452 611 242 776)
00:00:00.679286
00:00:00.679287 [/Devices/acpi/] (level 2)
00:00:00.679287
00:00:00.679288 [/Devices/acpi/0/] (level 3)
00:00:00.679289 PCIBusNo = 0x0000000000000000 (0)
00:00:00.679290 PCIDeviceNo = 0x0000000000000007 (7)
00:00:00.679290 PCIFunctionNo = 0x0000000000000000 (0)
00:00:00.679291 Trusted = 0x0000000000000001 (1)
00:00:00.679291
00:00:00.679291 [/Devices/acpi/0/Config/] (level 4)
00:00:00.679292 CpuHotPlug = 0x0000000000000000 (0)
00:00:00.679293 FdcEnabled = 0x0000000000000000 (0)
00:00:00.679293 HostBusPciAddress = 0x00000000001e0000 (1 966 080)
00:00:00.679294 HpetEnabled = 0x0000000000000001 (1)
00:00:00.679294 IOAPIC = 0x0000000000000001 (1)
00:00:00.679295 IocPciAddress = 0x00000000001f0000 (2 031 616)
00:00:00.679296 McfgBase = 0x00000000dc000000 (3 690 987 520)
00:00:00.679296 McfgLength = 0x0000000004000000 (67 108 864)
00:00:00.679297 NicPciAddress = 0x0000000000110000 (1 114 112)
00:00:00.679298 NumCPUs = 0x0000000000000002 (2)
00:00:00.679298 Parallel0IoPortBase = 0x0000000000000000 (0)
00:00:00.679299 Parallel0Irq = 0x0000000000000000 (0)
00:00:00.679299 Parallel1IoPortBase = 0x0000000000000000 (0)
00:00:00.679300 Parallel1Irq = 0x0000000000000000 (0)
00:00:00.679300 PciPref64Enabled = 0x0000000000000001 (1)
00:00:00.679301 Serial0IoPortBase = 0x0000000000000000 (0)
00:00:00.679301 Serial0Irq = 0x0000000000000000 (0)
00:00:00.679302 Serial1IoPortBase = 0x0000000000000000 (0)
00:00:00.679303 Serial1Irq = 0x0000000000000000 (0)
00:00:00.679303 ShowCpu = 0x0000000000000001 (1)
00:00:00.679304 ShowRtc = 0x0000000000000001 (1)
00:00:00.679305 SmcEnabled = 0x0000000000000001 (1)
00:00:00.679306
00:00:00.679306 [/Devices/acpi/0/LUN#0/] (level 4)
00:00:00.679307 Driver = "ACPIHost" (cb=9)
00:00:00.679307
00:00:00.679307 [/Devices/acpi/0/LUN#0/Config/] (level 5)
00:00:00.679308
00:00:00.679308 [/Devices/acpi/0/LUN#1/] (level 4)
00:00:00.679309 Driver = "ACPICpu" (cb=8)
00:00:00.679309
00:00:00.679309 [/Devices/acpi/0/LUN#1/Config/] (level 5)
00:00:00.679310
00:00:00.679310 [/Devices/ahci/] (level 2)
00:00:00.679311
00:00:00.679311 [/Devices/ahci/0/] (level 3)
00:00:00.679312 PCIBusNo = 0x0000000000000000 (0)
00:00:00.679312 PCIDeviceNo = 0x000000000000001f (31)
00:00:00.679313 PCIFunctionNo = 0x0000000000000002 (2)
00:00:00.679313 Trusted = 0x0000000000000001 (1)
00:00:00.679314
00:00:00.679314 [/Devices/ahci/0/Config/] (level 4)
00:00:00.679314 Bootable = 0x0000000000000001 (1)
00:00:00.679315 PortCount = 0x000000000000001e (30)
00:00:00.679315
00:00:00.679315 [/Devices/ahci/0/Config/Port0/] (level 5)
00:00:00.679316 Hotpluggable = 0x0000000000000000 (0)
00:00:00.679317
00:00:00.679317 [/Devices/ahci/0/Config/Port1/] (level 5)
00:00:00.679318 Hotpluggable = 0x0000000000000000 (0)
00:00:00.679318
00:00:00.679318 [/Devices/ahci/0/Config/Port2/] (level 5)
00:00:00.679319 Hotpluggable = 0x0000000000000000 (0)
00:00:00.679319
00:00:00.679319 [/Devices/ahci/0/LUN#0/] (level 4)
00:00:00.679320 Driver = "VD" (cb=3)
00:00:00.679321
00:00:00.679321 [/Devices/ahci/0/LUN#0/Config/] (level 5)
00:00:00.679322 Format = "VMDK" (cb=5)
00:00:00.679322 Mountable = 0x0000000000000000 (0)
00:00:00.679323 NonRotationalMedium = 0x0000000000000001 (1)
00:00:00.679323 Path = "/home/sfi/VirtualBox VMs/macOS-Mojave/macOS-Mojave-disk001.vmdk" (cb=64)
00:00:00.679324 Type = "HardDisk" (cb=9)
00:00:00.679324
00:00:00.679324 [/Devices/ahci/0/LUN#0/Config/Plugins/] (level 6)
00:00:00.679325
00:00:00.679325 [/Devices/ahci/0/LUN#0/Config/Plugins/VDPluginCrypt/] (level 7)
00:00:00.679327 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VDPluginCrypt.so" (cb=100)
00:00:00.679327
00:00:00.679327 [/Devices/ahci/0/LUN#1/] (level 4)
00:00:00.679328 Driver = "SCSI" (cb=5)
00:00:00.679328
00:00:00.679328 [/Devices/ahci/0/LUN#1/AttachedDriver/] (level 5)
00:00:00.679329 Driver = "VD" (cb=3)
00:00:00.679329
00:00:00.679330 [/Devices/ahci/0/LUN#1/AttachedDriver/Config/] (level 6)
00:00:00.679330 Format = "RAW" (cb=4)
00:00:00.679331 Mountable = 0x0000000000000001 (1)
00:00:00.679331 Path = "/home/sfi/VirtualBox VMs/macOS-MojaveClover.iso" (cb=48)
00:00:00.679332 ReadOnly = 0x0000000000000001 (1)
00:00:00.679332 Type = "DVD" (cb=4)
00:00:00.679333
00:00:00.679333 [/Devices/ahci/0/LUN#1/AttachedDriver/Config/Plugins/] (level 7)
00:00:00.679334
00:00:00.679335 [/Devices/ahci/0/LUN#1/AttachedDriver/Config/Plugins/VDPluginCrypt/] (level 8)
00:00:00.679336 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VDPluginCrypt.so" (cb=100)
00:00:00.679337
00:00:00.679337 [/Devices/ahci/0/LUN#2/] (level 4)
00:00:00.679338 Driver = "SCSI" (cb=5)
00:00:00.679338
00:00:00.679339 [/Devices/ahci/0/LUN#2/AttachedDriver/] (level 5)
00:00:00.679340 Driver = "VD" (cb=3)
00:00:00.679340
00:00:00.679341 [/Devices/ahci/0/LUN#2/AttachedDriver/Config/] (level 6)
00:00:00.679342 Format = "RAW" (cb=4)
00:00:00.679343 Mountable = 0x0000000000000001 (1)
00:00:00.679343 Path = "/home/sfi/VirtualBox VMs/macOS-Mojave.iso.cdr" (cb=46)
00:00:00.679344 ReadOnly = 0x0000000000000001 (1)
00:00:00.679345 Type = "DVD" (cb=4)
00:00:00.679345
00:00:00.679345 [/Devices/ahci/0/LUN#2/AttachedDriver/Config/Plugins/] (level 7)
00:00:00.679346
00:00:00.679346 [/Devices/ahci/0/LUN#2/AttachedDriver/Config/Plugins/VDPluginCrypt/] (level 8)
00:00:00.679347 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VDPluginCrypt.so" (cb=100)
00:00:00.679348
00:00:00.679348 [/Devices/ahci/0/LUN#999/] (level 4)
00:00:00.679348 Driver = "MainStatus" (cb=11)
00:00:00.679349
00:00:00.679349 [/Devices/ahci/0/LUN#999/Config/] (level 5)
00:00:00.679350 DeviceInstance = "ahci/0" (cb=7)
00:00:00.679350 First = 0x0000000000000000 (0)
00:00:00.679351 Last = 0x000000000000001d (29)
00:00:00.679352 pConsole = 0x00007fbdac003330 (140 452 611 240 752)
00:00:00.679353 papLeds = 0x00007fbdac003718 (140 452 611 241 752)
00:00:00.679354 pmapMediumAttachments = 0x00007fbdac003b38 (140 452 611 242 808)
00:00:00.679354
00:00:00.679355 [/Devices/apic/] (level 2)
00:00:00.679356
00:00:00.679356 [/Devices/apic/0/] (level 3)
00:00:00.679357 Trusted = 0x0000000000000001 (1)
00:00:00.679357
00:00:00.679358 [/Devices/apic/0/Config/] (level 4)
00:00:00.679359 IOAPIC = 0x0000000000000001 (1)
00:00:00.679359 Mode = 0x0000000000000002 (2)
00:00:00.679360 NumCPUs = 0x0000000000000002 (2)
00:00:00.679361
00:00:00.679361 [/Devices/e1000/] (level 2)
00:00:00.679362
00:00:00.679362 [/Devices/e1000/0/] (level 3)
00:00:00.679362 PCIBusNo = 0x0000000000000000 (0)
00:00:00.679363 PCIDeviceNo = 0x0000000000000011 (17)
00:00:00.679363 PCIFunctionNo = 0x0000000000000000 (0)
00:00:00.679364 Trusted = 0x0000000000000001 (1)
00:00:00.679364
00:00:00.679364 [/Devices/e1000/0/Config/] (level 4)
00:00:00.679365 AdapterType = 0x0000000000000002 (2)
00:00:00.679365 CableConnected = 0x0000000000000001 (1)
00:00:00.679366 LineSpeed = 0x0000000000000000 (0)
00:00:00.679366 MAC = "08 00 27 3a 58 aa" (cb=6)
00:00:00.679367
00:00:00.679367 [/Devices/e1000/0/LUN#0/] (level 4)
00:00:00.679368 Driver = "NAT" (cb=4)
00:00:00.679368
00:00:00.679369 [/Devices/e1000/0/LUN#0/Config/] (level 5)
00:00:00.679369 AliasMode = 0x0000000000000000 (0)
00:00:00.679370 BootFile = "macOS-Mojave.pxe" (cb=17)
00:00:00.679370 DNSProxy = 0x0000000000000000 (0)
00:00:00.679371 Network = "10.0.2.0/24" (cb=12)
00:00:00.679371 PassDomain = 0x0000000000000001 (1)
00:00:00.679372 TFTPPrefix = "/home/sfi/.config/VirtualBox/TFTP" (cb=34)
00:00:00.679372 UseHostResolver = 0x0000000000000000 (0)
00:00:00.679373
00:00:00.679373 [/Devices/e1000/0/LUN#999/] (level 4)
00:00:00.679373 Driver = "MainStatus" (cb=11)
00:00:00.679374
00:00:00.679374 [/Devices/e1000/0/LUN#999/Config/] (level 5)
00:00:00.679375 First = 0x0000000000000000 (0)
00:00:00.679375 Last = 0x0000000000000000 (0)
00:00:00.679375 papLeds = 0x00007fbdac0039f8 (140 452 611 242 488)
00:00:00.679376
00:00:00.679376 [/Devices/efi/] (level 2)
00:00:00.679377
00:00:00.679377 [/Devices/efi/0/] (level 3)
00:00:00.679378 Trusted = 0x0000000000000001 (1)
00:00:00.679378
00:00:00.679378 [/Devices/efi/0/Config/] (level 4)
00:00:00.679379 64BitEntry = 0x0000000000000001 (1)
00:00:00.679380 APIC = 0x0000000000000001 (1)
00:00:00.679380 BootArgs = "" (cb=1)
00:00:00.679381 DeviceProps = "" (cb=1)
00:00:00.679381 DmiExposeMemoryTable = 0x0000000000000001 (1)
00:00:00.679381 DmiUseHostInfo = 0x0000000000000001 (1)
00:00:00.679382 EfiRom = "/usr/lib/virtualbox/VBoxEFI64.fd" (cb=33)
00:00:00.679383 GraphicsResolution = "1680x1050" (cb=10)
00:00:00.679383 IOAPIC = 0x0000000000000001 (1)
00:00:00.679384 McfgBase = 0x00000000dc000000 (3 690 987 520)
00:00:00.679385 McfgLength = 0x0000000004000000 (67 108 864)
00:00:00.679386 NumCPUs = 0x0000000000000002 (2)
00:00:00.679387 UUID = "9b 18 39 9c ee 35 d1 43 b2 94 e8 5b d5 3b af 9f" (cb=16)
00:00:00.679389
00:00:00.679389 [/Devices/efi/0/LUN#0/] (level 4)
00:00:00.679390 Driver = "NvramStorage" (cb=13)
00:00:00.679391
00:00:00.679391 [/Devices/efi/0/LUN#0/Config/] (level 5)
00:00:00.679392 Object = 0x00007fbdac014270 (140 452 611 310 192)
00:00:00.679393
00:00:00.679393 [/Devices/hpet/] (level 2)
00:00:00.679394
00:00:00.679394 [/Devices/hpet/0/] (level 3)
00:00:00.679395 Trusted = 0x0000000000000001 (1)
00:00:00.679395
00:00:00.679395 [/Devices/hpet/0/Config/] (level 4)
00:00:00.679396 ICH9 = 0x0000000000000001 (1)
00:00:00.679396
00:00:00.679396 [/Devices/i8254/] (level 2)
00:00:00.679397
00:00:00.679397 [/Devices/i8254/0/] (level 3)
00:00:00.679398
00:00:00.679398 [/Devices/i8254/0/Config/] (level 4)
00:00:00.679399
00:00:00.679399 [/Devices/i8259/] (level 2)
00:00:00.679399
00:00:00.679399 [/Devices/i8259/0/] (level 3)
00:00:00.679400 Trusted = 0x0000000000000001 (1)
00:00:00.679400
00:00:00.679401 [/Devices/i8259/0/Config/] (level 4)
00:00:00.679401
00:00:00.679401 [/Devices/ich9pci/] (level 2)
00:00:00.679402
00:00:00.679402 [/Devices/ich9pci/0/] (level 3)
00:00:00.679403 Trusted = 0x0000000000000001 (1)
00:00:00.679404
00:00:00.679404 [/Devices/ich9pci/0/Config/] (level 4)
00:00:00.679405 IOAPIC = 0x0000000000000001 (1)
00:00:00.679406 McfgBase = 0x00000000dc000000 (3 690 987 520)
00:00:00.679406 McfgLength = 0x0000000004000000 (67 108 864)
00:00:00.679407
00:00:00.679408 [/Devices/ich9pcibridge/] (level 2)
00:00:00.679408
00:00:00.679409 [/Devices/ichac97/] (level 2)
00:00:00.679410
00:00:00.679410 [/Devices/ichac97/0/] (level 3)
00:00:00.679411 PCIBusNo = 0x0000000000000000 (0)
00:00:00.679411 PCIDeviceNo = 0x0000000000000005 (5)
00:00:00.679412 PCIFunctionNo = 0x0000000000000000 (0)
00:00:00.679412 Trusted = 0x0000000000000001 (1)
00:00:00.679413
00:00:00.679413 [/Devices/ichac97/0/AudioConfig/] (level 4)
00:00:00.679413
00:00:00.679414 [/Devices/ichac97/0/Config/] (level 4)
00:00:00.679414 Codec = "STAC9700" (cb=9)
00:00:00.679415 DebugEnabled = 0x0000000000000000 (0)
00:00:00.679415 DebugPathOut = "" (cb=1)
00:00:00.679416
00:00:00.679416 [/Devices/ichac97/0/LUN#0/] (level 4)
00:00:00.679416 Driver = "AUDIO" (cb=6)
00:00:00.679417
00:00:00.679417 [/Devices/ichac97/0/LUN#0/AttachedDriver/] (level 5)
00:00:00.679418 Driver = "PulseAudio" (cb=11)
00:00:00.679418
00:00:00.679418 [/Devices/ichac97/0/LUN#0/AttachedDriver/Config/] (level 6)
00:00:00.679419 StreamName = "macOS-Mojave" (cb=13)
00:00:00.679419
00:00:00.679420 [/Devices/ichac97/0/LUN#0/Config/] (level 5)
00:00:00.679420 BufferSizeMs = 0x0000000000000000 (0)
00:00:00.679421 DriverName = "PulseAudio" (cb=11)
00:00:00.679422 InputEnabled = 0x0000000000000000 (0)
00:00:00.679422 OutputEnabled = 0x0000000000000000 (0)
00:00:00.679423 PeriodSizeMs = 0x0000000000000000 (0)
00:00:00.679424 PreBufferSizeMs = 0x00000000ffffffff (4 294 967 295)
00:00:00.679425
00:00:00.679425 [/Devices/ichac97/0/LUN#1/] (level 4)
00:00:00.679426 Driver = "AUDIO" (cb=6)
00:00:00.679427
00:00:00.679427 [/Devices/ichac97/0/LUN#2/] (level 4)
00:00:00.679428 Driver = "AUDIO" (cb=6)
00:00:00.679428
00:00:00.679428 [/Devices/ioapic/] (level 2)
00:00:00.679429
00:00:00.679429 [/Devices/ioapic/0/] (level 3)
00:00:00.679429 Trusted = 0x0000000000000001 (1)
00:00:00.679430
00:00:00.679430 [/Devices/ioapic/0/Config/] (level 4)
00:00:00.679430 NumCPUs = 0x0000000000000002 (2)
00:00:00.679431
00:00:00.679431 [/Devices/lpc/] (level 2)
00:00:00.679432
00:00:00.679432 [/Devices/lpc/0/] (level 3)
00:00:00.679432 PCIBusNo = 0x0000000000000000 (0)
00:00:00.679433 PCIDeviceNo = 0x000000000000001f (31)
00:00:00.679433 PCIFunctionNo = 0x0000000000000000 (0)
00:00:00.679434 Trusted = 0x0000000000000001 (1)
00:00:00.679434
00:00:00.679434 [/Devices/mc146818/] (level 2)
00:00:00.679435
00:00:00.679435 [/Devices/mc146818/0/] (level 3)
00:00:00.679436
00:00:00.679436 [/Devices/mc146818/0/Config/] (level 4)
00:00:00.679436 UseUTC = 0x0000000000000000 (0)
00:00:00.679437
00:00:00.679437 [/Devices/parallel/] (level 2)
00:00:00.679437
00:00:00.679438 [/Devices/pcarch/] (level 2)
00:00:00.679438
00:00:00.679438 [/Devices/pcarch/0/] (level 3)
00:00:00.679439 Trusted = 0x0000000000000001 (1)
00:00:00.679439
00:00:00.679439 [/Devices/pcarch/0/Config/] (level 4)
00:00:00.679440
00:00:00.679440 [/Devices/pckbd/] (level 2)
00:00:00.679441
00:00:00.679441 [/Devices/pckbd/0/] (level 3)
00:00:00.679441 Trusted = 0x0000000000000001 (1)
00:00:00.679442
00:00:00.679442 [/Devices/pckbd/0/Config/] (level 4)
00:00:00.679443
00:00:00.679443 [/Devices/pckbd/0/LUN#0/] (level 4)
00:00:00.679443 Driver = "KeyboardQueue" (cb=14)
00:00:00.679444
00:00:00.679444 [/Devices/pckbd/0/LUN#0/AttachedDriver/] (level 5)
00:00:00.679445 Driver = "MainKeyboard" (cb=13)
00:00:00.679445
00:00:00.679445 [/Devices/pckbd/0/LUN#0/AttachedDriver/Config/] (level 6)
00:00:00.679446 Object = 0x000055b618103000 (94 240 576 122 880)
00:00:00.679447
00:00:00.679447 [/Devices/pckbd/0/LUN#0/Config/] (level 5)
00:00:00.679448 QueueSize = 0x0000000000000040 (64)
00:00:00.679448
00:00:00.679449 [/Devices/pckbd/0/LUN#1/] (level 4)
00:00:00.679449 Driver = "MouseQueue" (cb=11)
00:00:00.679450
00:00:00.679450 [/Devices/pckbd/0/LUN#1/AttachedDriver/] (level 5)
00:00:00.679450 Driver = "MainMouse" (cb=10)
00:00:00.679451
00:00:00.679451 [/Devices/pckbd/0/LUN#1/AttachedDriver/Config/] (level 6)
00:00:00.679452 Object = 0x00007fbdac012ba0 (140 452 611 304 352)
00:00:00.679453
00:00:00.679453 [/Devices/pckbd/0/LUN#1/Config/] (level 5)
00:00:00.679454 QueueSize = 0x0000000000000080 (128)
00:00:00.679454
00:00:00.679454 [/Devices/pcnet/] (level 2)
00:00:00.679455
00:00:00.679455 [/Devices/serial/] (level 2)
00:00:00.679455
00:00:00.679456 [/Devices/smc/] (level 2)
00:00:00.679456
00:00:00.679456 [/Devices/smc/0/] (level 3)
00:00:00.679457 Trusted = 0x0000000000000001 (1)
00:00:00.679457
00:00:00.679457 [/Devices/smc/0/Config/] (level 4)
00:00:00.679458 DeviceKey = "" (cb=1)
00:00:00.679459 GetKeyFromRealSMC = 0x0000000000000000 (0)
00:00:00.679459
00:00:00.679459 [/Devices/usb-xhci/] (level 2)
00:00:00.679460
00:00:00.679460 [/Devices/usb-xhci/0/] (level 3)
00:00:00.679461 PCIBusNo = 0x0000000000000000 (0)
00:00:00.679462 PCIDeviceNo = 0x000000000000000c (12)
00:00:00.679463 PCIFunctionNo = 0x0000000000000000 (0)
00:00:00.679463 Trusted = 0x0000000000000001 (1)
00:00:00.679464
00:00:00.679464 [/Devices/usb-xhci/0/Config/] (level 4)
00:00:00.679465
00:00:00.679466 [/Devices/usb-xhci/0/LUN#0/] (level 4)
00:00:00.679467 Driver = "VUSBRootHub" (cb=12)
00:00:00.679467
00:00:00.679467 [/Devices/usb-xhci/0/LUN#0/Config/] (level 5)
00:00:00.679469
00:00:00.679469 [/Devices/usb-xhci/0/LUN#1/] (level 4)
00:00:00.679470 Driver = "VUSBRootHub" (cb=12)
00:00:00.679470
00:00:00.679470 [/Devices/usb-xhci/0/LUN#1/Config/] (level 5)
00:00:00.679471
00:00:00.679471 [/Devices/usb-xhci/0/LUN#999/] (level 4)
00:00:00.679472 Driver = "MainStatus" (cb=11)
00:00:00.679472
00:00:00.679473 [/Devices/usb-xhci/0/LUN#999/Config/] (level 5)
00:00:00.679473 First = 0x0000000000000000 (0)
00:00:00.679474 Last = 0x0000000000000001 (1)
00:00:00.679474 papLeds = 0x00007fbdac003b20 (140 452 611 242 784)
00:00:00.679475
00:00:00.679475 [/Devices/vga/] (level 2)
00:00:00.679476
00:00:00.679476 [/Devices/vga/0/] (level 3)
00:00:00.679476 PCIBusNo = 0x0000000000000000 (0)
00:00:00.679477 PCIDeviceNo = 0x0000000000000002 (2)
00:00:00.679477 PCIFunctionNo = 0x0000000000000000 (0)
00:00:00.679478 Trusted = 0x0000000000000001 (1)
00:00:00.679478
00:00:00.679478 [/Devices/vga/0/Config/] (level 4)
00:00:00.679479 3DEnabled = 0x0000000000000000 (0)
00:00:00.679480 CustomVideoMode1 = "1680x1050x32" (cb=13)
00:00:00.679480 CustomVideoModes = 0x0000000000000001 (1)
00:00:00.679481 FadeIn = 0x0000000000000001 (1)
00:00:00.679482 FadeOut = 0x0000000000000001 (1)
00:00:00.679482 HeightReduction = 0x0000000000000000 (0)
00:00:00.679483 LogoFile = "" (cb=1)
00:00:00.679484 LogoTime = 0x0000000000000000 (0)
00:00:00.679485 MonitorCount = 0x0000000000000001 (1)
00:00:00.679485 ShowBootMenu = 0x0000000000000002 (2)
00:00:00.679486 VRamSize = 0x0000000008000000 (134 217 728, 128 MB)
00:00:00.679487
00:00:00.679487 [/Devices/vga/0/LUN#0/] (level 4)
00:00:00.679487 Driver = "MainDisplay" (cb=12)
00:00:00.679488
00:00:00.679488 [/Devices/vga/0/LUN#0/Config/] (level 5)
00:00:00.679489 Object = 0x00007fbdac0041e0 (140 452 611 244 512)
00:00:00.679489
00:00:00.679490 [/Devices/vga/0/LUN#999/] (level 4)
00:00:00.679490 Driver = "MainStatus" (cb=11)
00:00:00.679491
00:00:00.679491 [/Devices/vga/0/LUN#999/Config/] (level 5)
00:00:00.679492 First = 0x0000000000000000 (0)
00:00:00.679492 Last = 0x0000000000000000 (0)
00:00:00.679492 papLeds = 0x00007fbdac003b30 (140 452 611 242 800)
00:00:00.679493
00:00:00.679493 [/Devices/virtio-net/] (level 2)
00:00:00.679494
00:00:00.679494 [/EM/] (level 1)
00:00:00.679495 TripleFaultReset = 0x0000000000000000 (0)
00:00:00.679495
00:00:00.679495 [/GIM/] (level 1)
00:00:00.679496 Provider = "Minimal" (cb=8)
00:00:00.679496
00:00:00.679496 [/HM/] (level 1)
00:00:00.679497 64bitEnabled = 0x0000000000000001 (1)
00:00:00.679498 EnableLargePages = 0x0000000000000001 (1)
00:00:00.679498 EnableNestedPaging = 0x0000000000000001 (1)
00:00:00.679498 EnableUX = 0x0000000000000001 (1)
00:00:00.679499 EnableVPID = 0x0000000000000001 (1)
00:00:00.679499 Exclusive = 0x0000000000000001 (1)
00:00:00.679500 HMForced = 0x0000000000000001 (1)
00:00:00.679500 IBPBOnVMEntry = 0x0000000000000000 (0)
00:00:00.679501 IBPBOnVMExit = 0x0000000000000000 (0)
00:00:00.679501 SpecCtrlByHost = 0x0000000000000000 (0)
00:00:00.679502 UseNEMInstead = 0x0000000000000000 (0)
00:00:00.679502
00:00:00.679502 [/MM/] (level 1)
00:00:00.679503 CanUseLargerHeap = 0x0000000000000001 (1)
00:00:00.679503
00:00:00.679503 [/NEM/] (level 1)
00:00:00.679504 Allow64BitGuests = 0x0000000000000001 (1)
00:00:00.679504
00:00:00.679504 [/PDM/] (level 1)
00:00:00.679505
00:00:00.679505 [/PDM/AsyncCompletion/] (level 2)
00:00:00.679505
00:00:00.679506 [/PDM/AsyncCompletion/File/] (level 3)
00:00:00.679506
00:00:00.679506 [/PDM/AsyncCompletion/File/BwGroups/] (level 4)
00:00:00.679507
00:00:00.679507 [/PDM/BlkCache/] (level 2)
00:00:00.679508 CacheSize = 0x0000000000500000 (5 242 880, 5 MB)
00:00:00.679509
00:00:00.679509 [/PDM/Devices/] (level 2)
00:00:00.679509
00:00:00.679509 [/PDM/Devices/VBoxEhci/] (level 3)
00:00:00.679510 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxEhciR3.so" (cb=97)
00:00:00.679511 R0SearchPath = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64" (cb=83)
00:00:00.679511 RCSearchPath = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64" (cb=83)
00:00:00.679511
00:00:00.679512 [/PDM/Devices/VBoxNvme/] (level 3)
00:00:00.679512 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxNvmeR3.so" (cb=97)
00:00:00.679513 R0SearchPath = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64" (cb=83)
00:00:00.679513 RCSearchPath = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64" (cb=83)
00:00:00.679513
00:00:00.679513 [/PDM/Devices/VBoxPciRaw/] (level 3)
00:00:00.679514 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxPciRawR3.so" (cb=99)
00:00:00.679515 R0SearchPath = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64" (cb=83)
00:00:00.679515
00:00:00.679515 [/PDM/Drivers/] (level 2)
00:00:00.679516
00:00:00.679516 [/PDM/Drivers/DrvHostWebcam/] (level 3)
00:00:00.679517 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxHostWebcam.so" (cb=101)
00:00:00.679518
00:00:00.679518 [/PDM/Drivers/VBoxC/] (level 3)
00:00:00.679519 Path = "/usr/lib/virtualbox/components/VBoxC" (cb=37)
00:00:00.679519
00:00:00.679520 [/PDM/Drivers/VBoxPciRawDrv/] (level 3)
00:00:00.679520 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxPciRawDrv.so" (cb=100)
00:00:00.679521
00:00:00.679521 [/PDM/NetworkShaper/] (level 2)
00:00:00.679522
00:00:00.679522 [/PDM/NetworkShaper/BwGroups/] (level 3)
00:00:00.679524
00:00:00.679524 [/PDM/USB/] (level 2)
00:00:00.679524
00:00:00.679524 [/PDM/USB/VBoxUsbCardReader/] (level 3)
00:00:00.679525 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxUsbCardReaderR3.so" (cb=106)
00:00:00.679525
00:00:00.679526 [/PDM/USB/VBoxUsbWebcam/] (level 3)
00:00:00.679526 Path = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxUsbWebcamR3.so" (cb=102)
00:00:00.679527
00:00:00.679527 [/TM/] (level 1)
00:00:00.679527 UTCOffset = 0x0000000000000000 (0)
00:00:00.679528
00:00:00.679528 [/USB/] (level 1)
00:00:00.679528
00:00:00.679528 [/USB/HidKeyboard/] (level 2)
00:00:00.679529
00:00:00.679529 [/USB/HidKeyboard/0/] (level 3)
00:00:00.679530
00:00:00.679530 [/USB/HidKeyboard/0/Config/] (level 4)
00:00:00.679531
00:00:00.679531 [/USB/HidKeyboard/0/LUN#0/] (level 4)
00:00:00.679532 Driver = "KeyboardQueue" (cb=14)
00:00:00.679532
00:00:00.679532 [/USB/HidKeyboard/0/LUN#0/AttachedDriver/] (level 5)
00:00:00.679533 Driver = "MainKeyboard" (cb=13)
00:00:00.679533
00:00:00.679533 [/USB/HidKeyboard/0/LUN#0/AttachedDriver/Config/] (level 6)
00:00:00.679534 Object = 0x000055b618103000 (94 240 576 122 880)
00:00:00.679535
00:00:00.679536 [/USB/HidKeyboard/0/LUN#0/Config/] (level 5)
00:00:00.679537 QueueSize = 0x0000000000000040 (64)
00:00:00.679537
00:00:00.679538 [/USB/HidMouse/] (level 2)
00:00:00.679539
00:00:00.679539 [/USB/HidMouse/0/] (level 3)
00:00:00.679540
00:00:00.679540 [/USB/HidMouse/0/Config/] (level 4)
00:00:00.679541 Mode

Run RunMojaveVirtualbox.app error

To Reproduce
Steps to reproduce the behavior:

  1. run RunMojaveVirtualbox.app
  2. Progress dialog stops with error :
    DEBUG: line 128 - command 'exit 3' exited with status: 3.
    DEBUG: In ::runChecks::main::main called at line 308.
    DEBUG: From function ::runChecks::main::main (line 308).

Expected behavior
Install a Mojave VM

Additional context
iMac 13,2 - macOS 10.13.3 - SSD 500G APFS - RAM 16GB

createImage() step fails

To Reproduce
Steps to reproduce the behaviour:
run script or .app

Additional context

[2018-10-08 11:03:06] Creating iso '/Users/bentech/VirtualBox VMs//macOS-Mojave.iso.cdr' (around 25 seconds)...
[2018-10-08 11:03:06] .
hdiutil: convert failed - Resource temporarily unavailable
"disk2" ejected.

I manually created the image with
hdiutil convert ~/VirtualBox\ VMs/macOS-Mojave.dmg -format UDTO -o ~/VirtualBox\ VMs/macOS-Mojave.iso.cdr and ran the script again. It then worked.

Error: 'xz' not installed

Hello,

first at all thanks very much for runMojaveVirtualbox!

It would be great, if you could help me, please.

The log says:

[2018-10-08 21:03:29] Running checks (around 1 second)...
[2018-10-08 21:03:30] .
[2018-10-08 21:03:30] Opening GUI...
[2018-10-08 21:03:30] 'xz' not installed. Trying to install automatically, if you've brew installed...
[2018-10-08 21:03:30] line 128 - command 'exit 3' exited with status: 3.
[2018-10-08 21:03:30] In ::runChecks::main::main called at line 308.
[2018-10-08 21:03:30] From function ::runChecks::main::main (line 308).
[2018-10-08 21:03:30] Look at /Users/steff/Library/Logs/runMojaveVirtualbox.log for details (or use Console.app). Press enter in the terminal when done...

What I'm doing wrong?

Thanks a lot for helping me.
steffterra from Germany

Invalid VDI file built when doing make all

When doing make all, in the macOS Mojave install when I arrive at the "Select the disk where you want to install macOS" step, the only disk available is EFI (1 MB total, 1 MB available). This error displays immediately on this page/screen:

The disk doesn't use the GUID Partition Table scheme.

Use Disk Utility to change the partition scheme. Select the device containing the disk, click the Erase button, select the Volume Scheme and then click Erase.

Please see the attached runMojaveVirtualbox.sh and log files. I had to modify the patchEFI script a bit to overcome some permissions errors when updating the EFI volume and to prevent patchEFI from executing twice when doing make all. I added comments with my name in the script where I made changes.

runMojaveVirtualbox.sh.txt
runMojaveVirtualbox.log

Fails With Error

App doesn't work for me. Output as shown below:

Running checks (around 1 second)....
Creating image '/tmp/macOS-Mojave.dmg' (around 20 seconds, version 14.0.11, will need sudo)...already exists.
Creating iso '/tmp/macOS-Mojave.iso.cdr' (around 25 seconds)....
ERROR: line 298 - command '[ $# -ne 0 ]' exited with status: 1.
ERROR: In :: called at line 0.
DEBUG: From function :: (line 0).

Any ideas?

Thanks, and a question

tl;dr: Does 'macOS-MojaveClover.iso' need to stick around as the key to making this all work?

Thanks very much for creating this, Alexander. It is slick and effective!

Since I'm new to virtualizing macOS, I have a two-part question for you:

Do I understand correctly that the virtual 'macOS-MojaveClover.iso' disc is to stick around permanently as a boot volume, as the key to your VBox/APFS workaround?

Or can I, in the end, inject the Clover bootloader into the EFI partition of the virtual SSD, and boot without the 'macOS-MojaveClover.iso'?

Right now, if I eject the iso and attempt to reboot, I'm dropped into the EFI shell, with only an FS0: that contains very little.

Thank you very much for entertaining my question--I imagine it is very naive ;)

Disk Size

Is there a way to make the virtual disk a larger size during install? eg; 120GB instead of 30

vdmutil attach fails in patchEFI

Your script runs fine until attempting to attach the vdi image in the patchEFI function, at which point it fails for me with a VDM API Error.

I ran vdmutil using the -verbose switch like so to get more details:
/usr/local/bin/vdmutil attach -verbose "/Users/aroper/VirtualBox VMs/Mojave 4GB RAM.vdi"

...and see this output:
Looking for VDM Contoller...
No service found.
Error 0x00000001 : VDM API Error.

I've googled for this vdmutil error and haven't found anything relevant. Any suggestions would be appreciated.

In case it matters, the version of Paragon VMDK Mounter that's installed is 2.4.

runMojaveVirtualbox.log

VM hangs at startup, can't find boot.efi

I run runMojaveVirtualbox.sh all, and I got the following errors in the VM's console:

<<<
Shell> fs2:\System\Library\CoreServices\boot.efi is not recognized as an internal
or external command, operable program, or script file.
Shell> fs2:\macOS Install Data\Locked Files\Boot Files\boot.efi is not recognized as an internal
or external command, operable program, or script file.

and so on for fs3:, fs4:, and fs1:, which matches what the script did write to /Volumes/EFI/startup.nsh. As you guessed the VM hangs at this point.

I remember that after upgrading my Mac from High Sierra to Mojave, the installer was no longer present, or maybe I deleted it (afte disabling the SIP). I downloaded the installer again from the AppStore. I ran it and stopped it before it asked for restart, in order to get the full dmg. But after that \macOS Install Data\Locked Files\Boot Files remained empty.

This this script's output:

<<<
$ ./runMojaveVirtualbox.sh all
Running checks (around 1 second)....
Creating image '/Users/laurent/VirtualBox VMs/macOS-Mojave.dmg' (around 20 seconds, version 14.2.2, will need sudo)...already exists.
Creating iso '/Users/laurent/VirtualBox VMs/macOS-Mojave.iso.cdr' (around 25 seconds)...already exists.
Creating VM HDD '/Users/laurent/VirtualBox VMs/macOS-Mojave/macOS-Mojave.vdi' (around 5 seconds)....
Creating VM 'macOS-Mojave' (around 2 seconds)....
Adding APFS drivers to EFI in '/Users/laurent/VirtualBox VMs/macOS-Mojave/macOS-Mojave.vdi' (around 5 seconds)....
Starting VM 'macOS-Mojave' (3 minutes in the VM)....
Press enter to stop VM 'macOS-Mojave' (e.g. after installer restarted)....

Any idea of what's happening here? Should \macOS Install Data\Locked Files\Boot Files remain empty?

Hang when running against public Mojave release

I don't know if the problem is with the released Mojave installer, or with my system. Perhaps in the GM of Mojave, the createinstallmedia behavior has changed? I'm running this under High Sierra.

When I put in my administrative password at this line of the script:

sudo "$INST_BIN" --nointeraction --volume "$DST_VOL"

it simply never returns. Or, at least, doesn't for an hour.

I've tried simplifying it to:

sudo "$INST_BIN" --volume "$DST_VOL"

in case createinstallmedia has anything to tell me, but nothing changed.

Is anyone else up against this?

VM fails to find a bootable device

To Reproduce
Steps to reproduce the behavior:

  1. run make all
  2. VirtualBox starts the VM.
  3. Boots to text. says "Trying to find a bootable device... Failed."

Expected behavior
Installer should start

Additional context
screen shot 2019-02-14 at 2 58 11 pm

Screen Resolution

Finally, I managed to run Mojave in Virtualbox :)

Thanks for the excellent work.

Just one small issue, how can I change the resolution of the guest? currently, I can not see any option other than 1680x1050 (even if I press "option"), the current resolution is very big for my screen.

VBoxManage always missing

In the VBoxManage check, there is an "!" missing, so make image never completes.

if type VBoxManage >/dev/null 2>&1; then

Screen garbled after Clover start of MacOS install

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Boot from Clover'
  2. Select 'Boot MacOS Install from Mojave'
  3. Press 'Enter'
  4. Now the screen ist garbled - see screenshot

Expected behavior
Mac OS Terminal should be readable and the Installer should start

Additional context
I'm using the new VirtualBox 6 - Version 6.0.0 r127566 (Qt5.6.3)
image

VirtualBox stuck/hung after booting

This looks great, thanks for putting it together!
I'm having a bit of trouble getting it working. I'm stuck between Steps 1 and 2 in your step-by-step guide.
screen shot 2018-06-24 at 3 11 21 pm
I can't move the mouse in the VM to select a language.

I think this could be a problem with VirtualBox instead of your script, but figured I'd ask in case you'd seen anything similar.

Also, I'm curious what version of VirtualBox and macOS you're using. I'm using VirtualBox v5.2.12 r122591 (Qt5.6.3) and macOS 10.13.5 and wonder if there might be a difference that matters there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.