Friday, December 28, 2018

macOS Mojave as a guest on a virtual machine (Windows or macOS host)

Search for this text: "VBoxManage setextradata":

https://www.insanelymac.com/forum/topic/309654-run-vanilla-os-x-el-capitan-sierra-high-sierra-or-mojave-in-virtualbox-5xx-on-a-windows-host/

https://web.archive.org/web/20181228140310/https://www.insanelymac.com/forum/topic/309654-run-vanilla-os-x-el-capitan-sierra-high-sierra-or-mojave-in-virtualbox-5xx-on-a-windows-host/


https://www.intoguide.com/install-macos-mojave-virtualbox-windows/

https://web.archive.org/web/20181228141002/https://www.intoguide.com/install-macos-mojave-virtualbox-windows/


6.2. Disk Image Files (VDI, VMDK, VHD, HDD)

Disk image files reside on the host system and are seen by the guest systems as hard disks of a certain geometry. When a guest operating system reads from or writes to a hard disk, Oracle VM VirtualBox redirects the request to the image file.
Like a physical disk, a virtual disk has a size, or capacity, which must be specified when the image file is created. As opposed to a physical disk however, Oracle VM VirtualBox enables you to expand an image file after creation, even if it has data already. See Section 9.24, “VBoxManage modifymedium”.
Oracle VM VirtualBox supports the following types of disk image files:
  • VDI. Normally, Oracle VM VirtualBox uses its own container format for guest hard disks. This is called a Virtual Disk Image (VDI) file. This format is used when you create a new virtual machine with a new disk.
  • VMDK. Oracle VM VirtualBox also fully supports the popular and open VMDK container format that is used by many other virtualization products, such as VMware.
  • VHD. Oracle VM VirtualBox also fully supports the VHD format used by Microsoft.
  • HDD. Image files of Parallels version 2 (HDD format) are also supported.
    Due to lack of documentation of the format, newer versions such as 3 and 4 are not supported. You can however convert such image files to version 2 format using tools provided by Parallels.

  • Parallels bundle (.pvm) or configuration file (.pvs) or virtual hard disk file (.hdd).
  • VMware configuration file (.vmx.vmwarevm) or virtual hard disk file (.vmdk).
  • Virtual PC configuration file (.vmc.vpc7) or virtual hard disk file (.vhd).
  • VirtualBox configuration file (.xml) or virtual hard disk file (.vdi).



https://www.virtualbox.org/manual/ch06.html#vdidetails


How to create a bootable installer for macOS

https://support.apple.com/en-us/HT201372


TOOL TO CONVERT A VIRTUAL DISK FORMAT TO ANOTHER VIRTUAL DISK FORMAT:
https://www.starwindsoftware.com/starwind-v2v-converter#download


CHANGE RESOLUTION FOR macOS / Mac OS X guest inside Virtualbox:

Example:

$ VBoxManage setextradata "MacOS 10.12 Sierra 64bits" VBoxInternal2/EfiGraphicsResolution 1920x1080


The default resolution is 1024x768. To select a graphics resolution for EFI, use the following VBoxManage command: VBoxManage setextradata "VM name" VBoxInternal2/EfiGraphicsResolution HxV 






Mimmo97 Blog Archive