IT/Software/Virtualization/Virtual Box

From msgwiki
Revision as of 05:12, 25 February 2020 by Walttheboss (talk | contribs)
Jump to navigation Jump to search
Setup Catalina 10.15.3

Notes:

Latest Version from the PPA

wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | sudo apt-key add -

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian bionic non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'

Then you need to install the latest version with apt or the package manager.

sudo apt install virtualbox-6.1

You will need to manually download and install the extension pack.

There is no guest additions iso for the Mac guest.

something about licensing :)

Linux(kubuntu) Host

Windows Guest

MAC Guest

The other way of doing this with qemu is here.

Get Ready
  • There are very many ways to do this.
    1. This is mainly taken/borrowed/stolen from here.
  • First download the files

iso

  1. You can get this from many different places
  2. Take your chances all of them may be hacked in some way.

Boot Disk

  • Create and setup the virtualbox(before you start it)
    1. Run the following command.
      1. you can run them individually or with && inbetw3een them to make it faster.

VBoxManage 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

      • Who knows how many of these are really necessary
Changes
  • Set cpus to 2
    • Any more is a waste. Some of the boot disks won't boot with 1
    • VirtualBox can really only use 1
  • Video memory to at least 100mb
  • Ram to as much as 8 of 12.
    • You will be warned but a Linux host can run on very low ram
    • It will run and not freeze on 4 but you won't enjoy it.
  • Chipset to ICH9
    • Some old tutorials want PIIX3
      • NO!!!!!!
  • Enable I/O caching in Storage

Optional set display

  • Install the OS
  • Cleanup
    • Remove the install iso
    • Set the display to what you want
    • Run the command:

VBoxManage setextradata "Catalina" "VBoxInternal2/EfiGraphicsResolution" "1440x900"

      • Available resolutions are:
      • 1920x1080 1280x800 1440x900 1920x1200 1366x768
  • Issues
  • Cannot get icloud to work.
    • We recommend nextcloud
  • Guest Additions does not work
    • It does sort of work but will break the internet
      • Not really the whole thing but your connection to it.