Skip to content

berto-dev/macos-virtualbox-installation-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

MacOsVbox


MAC OS (BIG SUR) VIRTUALIZED - CUSTOM START PIPELINE

A pipelines it's a simple step by step roles for make somethings better. This file is a simple annotations for custom installation of virtualbox and basic environment for virtual machine + Mac Os Big Sur + extras.

Important note: it's under costruction and based on personal use.


warnings:


unfortunately it is no longer possible to install xcode in this version. An updated image of BigSur or Monteray would be needed

Although it's only for compiling, I would recommend an hackintosh on a dedicated partition due the poor performance of vm. However...

Installation:


  • get and use the VirtualBox installer and the extension pack

  • download direct big sur 11.X (warning: all image have a specific code)

  • Before installation, unlock Intel VT-x or AM VT-x (virtualization technology) in bios.
    After VirtualBox installation:

    • open vb > preference > change default vm folder in (suggest name) C:/Virtualized
      or other simpled folder for check contents of vm

    • for better performace open Virtual Box folder and

      • set VirtualBox.exe windows8 compatibility and low dpi
      • set VBoxSVC.exe windows8 compatibility and low dpi
      • open Nvidea Control Panel and add VirtualBox.exe and VBoxSVC.exe on applications for max resoucers
    • make new virtual machine and:

      warning: if not follow it litterally, you do a *starterror*

      • named it Big Sur,
      • select folder Big Sur,
      • select Mac OS X, Mac OS X (64-bit)
        set 4096 | 8192 | 16384 of ram,
        set dynamic VDI,
      • min 60gb SSD,

      • in system set: VCH9
        in system set: remove floppy
        in system set: 4 | 6 | 8 CPU
        in system set: oldgen and neasted virtualization active
        in system set: standard VBoxSVGA 128Mb | 256Mb (no accelleration)
        in system > accelleration set:
               for intel cpu set minimal
               for AMD cpu set minimal (not tested) and read after for starterror
      • in usb set: USB 3.0
      • in archive set: sata1 is SSD;
      • in general set: bidirectional and bidirectional

  • Close virtual machine and virtual box, open prompt in admin... and Copy and Past inside terminal:

    cd "C:\Program Files\VirtualBox\"
    

    or other installation of vitualbox forlder ( for me: cd "C:\Program Files\VirtualBox\") and:

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

    extra:

    VBoxManage setextradata "Big Sur" vBoxItenal2/EfiGraphicsResoltion 800x600
    
    or...
    1024x768 | 1280x720 | 1920x1080 | 2560x1440 | 2048x1080 | 3840x2160 | 5120x2880 | 1280x800 | 1280x1024 |1600x900 | 1440x900
    


    - - - - -
    the starteerror and how fix it:
    "LOG: EXITBS :START" has a infinite waiting problem of hackintosh during installation in vm. For Intel resolve it with a precised start configuration (see below instruction). In AMD, you can try extra solutions because -probably- is relative to a wrong "intel cpu profile"... Add ONE of this lines in promp (equal to up) :

    VBoxManage modifyvm "Big Sur" --cpu-profile "Intel Core i7-6700K" <= standard
    VBoxManage modifyvm "Big Sur" --cpu-profile "Intel Core i7-5600U"
    VBoxManage modifyvm "Big Sur" --cpu-profile "Intel Core i7-3960X"
    VBoxManage modifyvm "Big Sur" --cpu-profile "Intel Core i7-2635QM"
    VBoxManage modifyvm "Big Sur" --cpu-profile "Intel Core i5-3570"
    VBoxManage modifyvm “Big Sur” –cpu-profile “Intel Xeon X5482 3.20GHz”
    

    In other case program crash beacouse big sur image is broken... you can't do anything, change image online and update the terminal codes.
    - - - - -

  • Close terminal, reopen and start the Virtual Machine

    warning: ... system load mac image for install it (wait end of load... it's slow).
    if it not start, on end of load write "exit" and go on boot loader and start with "boot from cd-rom"


  • on MacOS installation :

    • open utility disk "VBOX HARDDISK Media" and erese/initalized it with name "Big Sur"
    • close utility and install the OS

    warning:
    wait more, be patient, I'ts really... really slow.

    • close all and refresh virtual machine.
  • all done. class all and restart your virtual mac

End.