$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install MacOS in VirtualBox on Fedora – Step-by-step

September 23, 2023 | By the+gnu+linux+evangelist.

How to Install macOS on VirtualBox VM

  1. 3. Downloading macOS Installation Script

    Download macOS Installation Script for VirtualBox on Fedora GNU/Linux

    macOS Installation Script for Fedora

    On Top-Right Corner choose to Download Raw!
    And Save it into the VirtualBox VMs Folder.
    Many Thanks to the MySpaghetti Develope! :D

  2. 3. Running macOS Installer

    Now to Run macOS Installation Script
    First, make a Target Directory to hold all the Stuff Downloaded during Setup:

    mkdir /[PATH/2/VMS]/macOS

    Replace /[PATH/2/VMS] with your current VirtualBox VMs Path in the above.
    And store it into the Target:

    mv ~/Downloads/macos-guest-virtualbox.sh /[PATH/2/VMS]/macOS

    But if you are in Trouble to Find it out on Terminal then See: How to Access Downloads Folder from Browser.
    Next access it:

    cd /[PATH/2/VMS]/macOS

    Give execution permissions:

    chmod +x macos-guest-virtualbox.sh

    And then Play it with:

    ./macos-guest-virtualbox.sh

    Confirm for Installation on the Interactive CLI Wizard.

    Installing

    Now take a Break until the VirtualBox VM Start to Boot automatically…
    Easily the First Boot will Fails.
    So try to Restart it with this Command:

    VBoxManage modifyvm macOS --cpu-profile "Intel Xeon X5482 3.20GHz"

    For more insight see the Documentation with:

    ./macos-guest-virtualbox.sh documentation | less -R
  3. 4. Making Virtual Disk

    Now Make & Format Installation Virtual HD
    (This Step is missing in the current Script and it’s my Personal Hacking Contribute :)
    So Power Off the Machine and access Settings >> Storage
    Then Create a HD of about 40Gb and Pre-alocated Full Size (That’s just as I did…)) br />
    First, Choose the “+” Add Hard Drive on Top-Right:

    Attach HD

    Then Create on Top-Left:

    Create

    Confirm the Default File Type:

    VDI File Type

    Check the Pre-allocate Full Size:

    Storage Type

    Select and to Attach it:

    Attach

    And you are Done! :)

    Done

    Re-Start the VM.
    And after Launch the Disk Utility:

    macOS Disk Utility

    Next, Choose the created Disk and Format it as HFS+:

    Format HFS+

    Last, let’s go Reboot your macOS VM!

  4. 4. Installing macOS

    So after Re-Start follow the macOS Installation Wizard

    Booting

    Choose the Language:

    Language

    Then Reinstall OS:

    Reinstall OS

    Again confirm for “Install macOS Catalina”:

    Install macOS Catalina

    Agree to the License:

    License agreement

    Choose the created Hard Drive:

    Choose hard disk

    Take a Break of about 30min while the System is Installing:

    Installing

    Last, after Automatic Re-boot the Setup will be achieved in some Minutes:

    Achievement after Reboot
  5. 5. Configuring macOS

    After the successfull Setup easily make the macOS Configuration
    Simply follow up with the Wizard:
    Then Read the POST-INSTALLATION SETUP at the Bottom!

    Welcome
    Languages
    Data and privacy
    Sign in apple id
    Term and conditions
    Create account
    Express setup
    Analytics
    Screen time
    Siri
    Choose your look
    Desktop

    ESPECIALLY RELEVANT: After the Installation is successfully achieved you should Manually Detach the Installation Drive.
    So go in Settings >> Storage and Remove All but the OS Disk that you have created in the Former Step!

    macOS VirtualBox Storage

    Finally, to achieve this Setup after Re-Booting again you need to Access on the Top-Left Menu Choose Startup Disk and Switch to the Installation one.
    This to be Sure your VM will follow to Boot Up also if some Settings is changed.

  6. Finally Enjoy your VirtualBox macOS Catalina VM! :)

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,