For developers‎ > ‎

VirtualBox

Status

2011 Jan 14 news: 
  • PureDarwin Nano + Xmas run in 
    • VirtualBox 4 on ubuntu
  • PureDarwin Nano runs with 
    • VirtualBox 4 on Windows
    • VirtualBox 3.2 on Snow Leopard
older news:
  • PureDarwin Nano runs in VirtualBox 3 
    • on Mac OS X
    • on Windows XP 32 bits

PureDarwin Nano

Virtual Box 4 is able to run PureDarwin Nano
  • on Linux
    • details of the linux test system:
      • host: ubuntu 10.10 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux
      • Virtual Box 4.0.0 r69151
      • PureDarwin Nano: with PureDarwin.local 9.5.0 Darwin Kernel Version 9.5.0: Sat Dec 6 19:39:54 IST 2008; Voodoo; Release 1.0 :xnu-1228.7.58/BUILD/obj/RELEASE_I386 i386
    • please use following settings in VirtualBox
      • Systems > Motherboard
        • Chipset ICH9
        • enable IO APIC
        • enable EFI
      • Systems > Processor: enable PAE/NX
      • Systems > Acceleration
        • enable VT-x/AMD-V
        • enable nested paging
  • on Windows
    •  VirtualBox 4.0.0 under Windows 7 x86-64, when using the "Red Hat Linux", VT-X, Nested paging and IO APIC

Virtual Box 3 
  • MacOS
    • VirtualBox 3.0.2 on Mac OS X
    • VirtualBox 3.2.12 r68302 on Snow Leopard 10.6.6, x86_64 kernel
  • Windows
    • VirtualBox 3.0.6 on Windows XP 32 bits

PureDarwin Xmas

Virtual Box 4 is able to run PureDarwin Xmas
  • on Linux
    • details of the linux test system:
      • host: ubuntu 10.10 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux
      • Virtual Box 4.0.0 r69151
      • PureDarwin Nano: with PureDarwin.local 9.5.0 Darwin Kernel Version 9.5.0: Sat Dec 6 19:39:54 IST 2008; Voodoo; Release 1.0 :xnu-1228.7.58/BUILD/obj/RELEASE_I386 i386
    • please use following settings in VirtualBox
      • Systems > Motherboard
        • Chipset ICH9
        • enable IO APIC
      • Systems > Processor: enable PAE/NX
      • Systems > Acceleration
        • enable VT-x/AMD-V
        • enable nested paging
    • add PureDarwin Nano as CDrom + select after F8 the Xmas HD and start with Graphics mode = 1024x768x16

Screenshots of PureDarwin Xmas

Ubuntu + Virtual Box 4



Screenshots of PureDarwin nano

Ubuntu + VirtualBox4


Using boot.efi in VirtualBox

EFI emulation in VirtualBox 4 is capable of loading and executing boot.efi as the bootloader. Hence boot-132 or its derivatives are no longer needed in VirtualBox. We were able to boot PureDarwinNano.iso this way.


The code responsible for loading boot.efi can be seen here. Apparently VirtualBox includes an EFI implementation based on TianoCore EDK2, with special patches to boot Mac OS X Server (and hence, Darwin).

Screenshots of VirtualBox 4 settings


PureDarwin: Ubuntu + VirtualBox4


PureDarwin: Windows + VirtualBox4




See also



Comments