IT/Software/Virtualization/Virtual Box

From msgwiki
Revision as of 15:46, 24 February 2020 by Walttheboss (talk | contribs)
Jump to navigation Jump to search
Setup in VBox 6.1
Virtual Box 6.1 Setup

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'

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
  1. There are very many ways to do this.
    1. This is mainly taken/borrowed/stolen from here.
  2. First download the files
    1. iso
      1. You can get this from many different places
      2. Take your chances all of them may be hacked in some way.
    2. Boot Disk
  3. 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

      1. Who knows how many of these are really necessary
        1. Changes
          1. Set cpus to 2
            1. Any more is a waste. Some of the boot disks won't boot with 1
            2. VirtualBox can really only use 1
          2. Video memory to at least 100mb
          3. Ram to as much as 8 of 12.
            1. It will run and not freeze on 4 but you won't enjoy it.
          4. Chipset to ICH9
            1. Some old tutorials want PIIX3
              1. NO!!!!!!
          5. Enable I/O caching in Storage
        2. Optional set display
  1. Install the OS
  2. Cleanup
    1. Remove the install iso
    2. Set the display to what you want
    3. Run the command: VBoxManage setextradata "Catalina" "VBoxInternal2/EfiGraphicsResolution" "1440x900"
  3. Issues
    1. Cannot get icloud to work.
    2. We recommend nextcloud