In this tutorial we perform a clean installation of macOS Catalina on a Windows 10 P.C. using VirtualBox.
Topics covered:
00:00 Introduction
00:28 Tutorial roadmap
01:42 Previous tutorials and crediting original sources
02:19 Publishing .iso files
03:17 Downloading the Catalina Patcher tool
03:27 Standardising the starting point
04:46 Security and privacy configuration for Patcher App
05:25 Downloading the Catalina installer app
07:11 Running Terminal and entering commands to create the .iso
08:38 Checking the file size of the outgoing and incoming .iso
09:12 Transferring the .iso to Windows and running VirtualBox
09:31 Creating virtual Mac hardware
09:34 Basic details: Name, Type and Version
10:02 R.A.M. allocation
10:24 Hard disk creation, file type and size
11:08 Floppy drive
11:17 Processors
11:24 Video memory
11:30 Mounting the .iso file
11:51 Command Prompt commands to be entered
13:26 First run of the virtual Mac
14:44 Configuring an installation hard disc
15:40 First installation phase
15:50 First reset and breaking the boot loop
15:59 Ejecting the installation .iso
16:34 Navigating Boot Maintenance Manager
17:15 Second installation phase
17:34 Downloading the APFS support disc
18:20 Mounting the APFS support disc
18:48 Navigating the EFI shell
18:51 Copying APFS drivers from virtual .iso to hard disc
20:07 Editing startup.nsh to load APFS drivers
20:45 Running the VM with APFS support added
21:29 Locating System\Library\Coreservices by testing fs0: to fs4:
22:47 Editing startup.nsh to load boot.efi
23:47 Final installation phase - Personal settings
25:52 Keyboard setup assistant
26:03 Ejecting the APFS support disc
26:15 Known issues
26:41 Keyboard and mouse support
Tutorial resources (chronologically):
1 )..Catalina Patcher Tool (To be run on macOS):
http://dosdude1.com/catalina/
2 )..Commands to be entered in Terminal (on macOS):
hdiutil create -o /tmp/Catalina -size 8500m -volname Catalina -layout SPUD -fs HFS+J
hdiutil attach /tmp/Catalina.dmg -noverify -mountpoint /Volumes/Catalina
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Catalina --nointeraction
hdiutil detach /volumes/Install\ macOS\ Catalina
hdiutil convert /tmp/Catalina.dmg -format UDTO -o ~/Desktop/Catalina.cdr
mv ~/Desktop/Catalina.cdr ~/Desktop/Catalina.iso
3 )..Commands to be entered using an elevated command prompt (in Windows):
N.B. The installation directory command should be amended to match the location of your VirtualBox installation if you have customised your installation path.
Installation directory command: cd "C:\Program Files\Oracle\VirtualBox\"
If your machine is not named “Catalina,” you should replace “Catalina” with your VM name, exactly as typed, in each of the following commands:
VBoxManage.exe modifyvm "Catalina" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "Catalina" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "Catalina" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Catalina" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Catalina" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Catalina" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
N.B. Resolution values 1920 and 1080, can be amended to match your display.
Resolution command: VBoxManage setextradata "Catalina" "VBoxInternal2/EfiGraphicsResolution" "1920x1080"
UPDATE 7TH OCTOBER 2021: FOLLOWING UPDATES TO THE INSTALLER APP AND VIRTUALBOX, STEPS 4, 5, 6A AND 6B ARE NO LONGER REQUIRED, AND YOU SHOULD BE ABLE TO JUMP FROM 15:59 TO 23:47 IN THE VIDEO, REMOVING MUCH OF THE COMPLEXITY FROM THIS PROCESS.
4 ).. APFS support .iso: https://thetechbloggerguy.blogspot.co... (UPDATE 7TH OCTOBER 2021: BLOG NO LONGER AVAILABLE, ALTHOUGH THIRD-PARTY APFS SUPPORT NO LONGER REQUIRED).
5 )..EFI Shell commands:
fs0:
copy -r fs1:\EFI
edit startup.nsh
6a )..Commands to add to startup.nsh file (First four commands):
echo -off
load fs0:\EFI\drivers\apfs.efi
load fs0:\EFI\drivers\AppleUiSupport.efi
load fs0:\EFI\drivers\ApfsDriverLoader.efi
Press CTRL+Q to exit, then Y to save. Type exit, press Enter, select Continue.
6b )..Final four commands to add to startup.nsh:
map -r
fs2:
cd System\Library\CoreServices\
boot.efi
N.B. The resource “fs2:” varies between installations. The correct value may be fs0: or fs1: or fs2: or fs3: or fs4: To determine the correct value, at the EFI shell prompt type the fs value (eg fs0: or fs1: or fs2: or fs3: or fs4:) then press Enter. Then type DIR and press Enter. If there is a directory named “System” you have found the correct value. If not, test the next fs values in turn until successful.
8 )..VirtualBox Extensions pack download:
https://www.virtualbox.org/wiki/Downl...