Installing MacOS High Sierra v10.13.4 on VirtualBox

For Educational/Research Purposes

Installing MacOS Sierra 10.13.4 on VirtualBox 5.2.0 r 118431 (04/22/2018)

    • Download VirtualBox 5.2.x and install it
    • Download 5.07GB Sierra ISO image (macOS_High_Sierra_10_13_1_Official.iso) with md5sum 2ba1e2160b69a9bd080646664c8edc12 (though any bootable one you can get should do).
    • Create a new VM with Type “Mac OS X” and Version “Mac OS X (64-bit)”
    • Other VM settings include: Chipset set to PIIX3*, Memory size at least 4GB, 2x CPUs, 128MB Video Memory, Network (Adapter) interface, Disk at least 40GB.
    • Insert file macOS_High_Sierra_10_13_1_Official.iso into the CDROM drive
    • Shutdown (exit) VirtualBox application
    • From an admin CLI (cmd.exe), run the following commands (substituing your VM-name for “mac3”):
 cd "C:\Program Files\Oracle\VirtualBox\"
 VBoxManage setextradata "mac3" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
 VBoxManage setextradata "mac3" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
 VBoxManage setextradata "mac3" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac14,2"
 VBoxManage setextradata "mac3" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
 VBoxManage setextradata "mac3" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-27ADBB7B4CEE8E61"
  • Launch VirtualBox and start the VM
  • It will put you at the Language selection screen with English as default (Next button)
  • The new screen is titled “macOS Utilities” with 4 options: Restore from Time Machine Backup; Install macOS; Get Help Online; and Disk Utility.
  • Choose Disk Utility (u won’t see the HDD)
  • From the menu choose View -> “Show All Devices” (your HDD will show up on the interface)
  • Select your disk and choose the “Erase” button (give it a Name: and leave the Format: as “Mac OS Extended (Journaled)” and the Scheme: as “GUID Partition Map”)
  • Click Erase button; Click Done button once the erasing process is done.
  • Exit Disk Utility (menu Disk Utility -> Quit Disk Utility) and back to the “macOS Utilities” screen
  • Choose “Install macOS”
  • Continue (button) on the “Install macOS High Sierra” screen
  • Agree button (terms/license agreement)
  • Agree button (in the small popup to confirm you have read the terms)
  • Select your disk and click on the Install button on the screen stating macOS will be installed on your disk (the installation start – 4mins remaining)
  • Remove the ISO image from CDROM when it restarts otherwise the VM boots from it again (if so, shutdown the VM, remove the ISO and start up the VM)
  • The VM boots to a text screen (“UEFI Interactive Shell v2.1 ….”) with several options (FS0, FS1, BLK0, BLK3) then drops to a “Shell>” prompt
    – Type “FS1:” and press ENTER
    – Navigate the directory structure by typing:
    cd “macOS Install Data”
    cd “Locked Files”
    cd “Boot Files”
    boot.efi (press ENTER)
  • The installation process will continue to a GUI (“Installing on disk-name”)
  • When the install completes, you are presented with a Welcome screen:
    -> Choose Country
    -> Keyboard 
    -> Don't transfer any information now 
    -> Don't sign in (sign in fails if you try anyway) 
    -> Skip when prompted if you are sure you don't want to sign in 
    -> Next on the Terms & Conditions -> Agree to the license agreement popup
    -> Enter details on the "Create a Computer Account" screen 
    -> Express Set Up screen (Choose "Customize Settings")
    -> Enable Location Services (optional)
    -> Analytics (uncheck/deselect "Share Mac Analytics with Apple") 
    -> Enable Ask Siri (default) -> Setting Up Your Mac ... 
    -> Keyboard Setup Assistant (continue) 
    -> Identify Your Keyboard (select key to right of left shift key, then key to left of right shift key)
    -> Conclusion (click "Done" button unless you want to change the selected keyboard)
    - Congratulations! You have successfully installed MacOS High Sierra v10.13.1 and you are presented with the desktop

    Congratulations! You have successfully installed MacOS High Sierra v10.13.1 and you are presented with the desktop.

——————————————————————————————————–
Now let’s update it to MacOS High Sierra version 10.13.4! 🙂
——————————————————————————————————–

  • Choose “Install macOS”
  • Optional: Shutdown the VM, take a snapshot (you can delete it later if everything goes well). Start the VM.
  • Download macOSUpdCombo10.13.4.dmg from Apple website* (see notes below)
  • Double-click to extract/open it to macOSUpdCombo10.13.4.pkg
  • Double-click to start installation
  • Welcome to … 10.13.4 Update Installer (Continue)
  • Important Info (Continue)
  • Software License Agreement (Continue)
  • Terms of the agreement popup (Agree)
  • Standard Install on … (Install button)
  • Enter password in credentials pop and press “Install Software” button
  • Install software now popup (“Continue Installation” button)
  • Install will continue after restart
  • Take another snapshot before clicking the “Restart” button
  • Installing Software Update screen
  • Keep pressing F12 or “Windows-Key+R” once the system reboots (make sure the VM has input focus otherwise it won’t work and once you miss it, you have to revert to the last snapshot)
  • You should land on a screen with 5 menu options: Continue; Select Language; Boot Manager; Device Manager; and Boot Maintenance Manager
  • Take another VM snapshot on the BIOS screen before continuing
  • Choose “Boot Manager” and press ENTER
  • Choose “EFI Internal Shell” and press ENTER which drops you into the “Shell>” prompt
  • Type the following (press ENTER after each command)
 FS1:
 cd "macOS Install Data"
 cd "Locked Files"
 cd "Boot Files"
 boot.efi
  • If the boot process got stuck with a bunch of error messages similar to “Error loading kernel cache (0x9)” or “prelinked kernel error”, shutdown the VM and restore the previous snapshot.
  • Repeat previous steps above from “Choose Boot Manager and press ENTER” …
  • System boots to “Installing on …” screen and the installation continues.
  • When the installation completes and the VM boots up completely, login and the system should be running MacOS High Sierra version 10.13.4
  • You can now delete the snapshots if you want.

——————————————————————————————————–

NOTES:

– To set a custom screen resolution such as “1920×1080” (the default seems to be 1024×768), use the command:

VBoxManage setextradata "mac2" "VBoxInternal2/EfiGraphicsResolution" "1920x1080"

– You need to be running at least MacOS version 10.13.2 to be able to install Xcode from the App Store

– If the chipset is set to ICH9, after rebooting the VM gets stuck on a text screen (boot-args = usb=0x800 ….)

– Installing the 10.13.4 update from the App Store does not work. After the installation completes, the version still remains 10.13.1

– *I prefer to download the update to my host, then use an ISO creation app such as cdrtfe to create a data ISO disk. Insert the ISO into the CDROM drive attached to the VM and run the update from there.

– md5sum of the boot ISO macOS_High_Sierra_10_13_1_Official.iso I used for the installation is 2ba1e2160b69a9bd080646664c8edc12 though other versions out there should probably work as well.

– “About This Mac” shows the following details: macOS High Sierra Version 10.13.4, Serial Number 0, Graphics Display 3 MB.

– If you require a proxy to access the Internet, set it up by going to Apple Menu -> “System Preferences” -> Network -> Advanced.. -> Proxies -> configure “Web Proxy (HTTP)” and “Secure Web Proxy (HTTPS)”

LINKS:

https://forums.virtualbox.org/viewtopic.php?f=22&t=86239#p411173

How to Fix macOS Sierra Screen Resolution on VirtualBox?

Post by okiuss helped with the update to 10.13.4 (below):
https://forums.virtualbox.org/viewtopic.php?f=22&t=86633&sid=e75178f31bb38a514f0e61a3fdb8cc99

Beethoven Akinjiwonuola III

Beethoven Akinjiwonuola III
(April 3, 2018. 6:38am)

Let me tell you about Beethoven Akinjiwonuola III (it’s alright if you can’t pronounce his name properly; I can’t either).

Yes, his mother named him after the famous composer.
But unfortunately he held the violin’s bow the way he held his fork.
And he couldn’t tell a music note from a Greek letter.
His music teachers gave up in despair and one said even the Sphinx can’t solve the riddle of how it was possible to be so utterly lacking in talent.
In other words Beethoven couldn’t do music if his life depended on it.
That of course was the source of much angst From friends and foes alike. No wonder of course, with a name like Beethoven.

But there was one thing Beethoven liked doing – that was running.
Unfortunately his other issue had made him much too shy, so no one ever knew about his true gift.
Beethoven grew up more or less in obscurity.
You could always find him near the curtains at parties.
Or pretending to be furniture.
Or at the refreshment table debating whether a piece of bread or a croissant is the way to go.
Because he never did learn how to make small talk, all the girls with no exception found him curious but no fun at all. As one put it “disturbing and nice” (but nice never a boyfriend made.)

Nevertheless Beethoven knew how to run.
He ran past the rectory which caused the priest to think the second coming was at hand.
Leading to several sermons on how the congregation ought to be ready because no one he said, can outrun the coming apocalypse.

He ran past the bakery.
The wind rushed through the oven
The fire burnt so hot it turned all that day’s bread to ashes.
And for the first time since old Mr. Peterson (the war hero) could recall, there was not a loaf of fresh bread in all the town.

He ran across the river.
And all that witnessed it said the river was parted for a minute.
With fishes flapping on dry ground.
Just like the Red Sea in Moses days.

He ran past the court house.
And blew away all the papers.
The clerk said there were no copies
The accused was teetering at heaven’s door anyway.
So the judge set him free for lack of evidence.

He ran through the cornfield.
All the ears of corn fell off their stalks, peeled themselves, and the grains jumped off the cobs and piled up at one end of the field.
The farmers woke up to the miracle of the harvest.

He ran and he ran and he ran, and he ran and he ran into the past.
No he didn’t grow younger like Benjamin Button.
But he ran so fast and so far that his grown self met his preteen self.
So he told his young self what he ought to do and what he ought not to do.

One would have thought that was the end of it. But no, he didn’t stop running. He ran, and he ran, and he ran all the way to that first day when there was no day and no night and the earth was just a chunk of darkness spinning in the nothingness. Then he ran some more.

No one truly knows what became of Beethoven Akinjiwonuola III. (It’s alright if you can’t pronounce his name properly; I can’t either). But it seems very likely that he just ran out of time.

Ayotunde Itayemi (April 3, 2018. 7:21 am)