The problem is that on the initial boot to the LiteTouchPE boot ISO I'll get the bluescreen error: "Kernel Security Check Failure". Windows has not been installed on the system yet; I can't find anything online about this error that doesn't say 'roll back to the previous version of Windows'.
Host OS OS X 10.13.6 or 10.12.6
The script I'm using is this (it is run as root via 'sudo -s' to get a root shell):
Code: Select all
VBoxManage createhd disk --filename /Users/Shared/VirtualBoxVMS/HDs/Win10.vdi --size 81920
VBoxManage createvm --register --name "Windows10" --basefolder /Users/Shared/VirtualBoxVMS/VMfiles
VBoxManage storagectl "Windows10" --name "SATA Controller" --add sata --controller IntelAHCI
VBoxManage storageattach "Windows10" --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium "/Users/Shared/VirtualBoxVMS/HDs/Win10.vdi"
VBoxManage storagectl "Windows10" --name "IDE Controller" --add ide
VBoxManage storageattach "Windows10" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /Volumes/copds2013/Boot/LiteTouchPE_mdt2013_internal_x64.iso
VBoxManage modifyvm "Windows10" --ostype Windows10_64 --memory 3072
VBoxManage modifyvm "Windows10" --acpi on --ioapic on
VBoxManage modifyvm "Windows10" --nic1 nat --nictype1 82540EM --cableconnected1 on --usb on --clipboard bidirectional --accelerate3d on --accelerate2dvideo on
VBoxManage modifyvm Windows10 --audio coreaudio --audiocontroller hda --vram 128
VBoxManage sharedfolder add Windows10 --name SharedWithMac --hostpath /Users/Shared/VirtualboxVMS/SharedWithMac --automount
VBoxManage startvm Windows10
MDT has no logs I can determine because it never actually boots to the MDT interface.
The script runs without errors, it's just that the VM will not boot. I get the blue Windows logo on a black screen, the littler spinner dots start, it freezes there and eventually bluescreens.
If I build a Windows 10_64 system in the GUI, configured as far as I can tell the same way as the script, and using the MDT iso file to boot from, it works: The system boots and proceeds to the MDT setup windows.
Is there a way to extract the requisite VBoxManage commands to create a VM from a VDI file? That way I could see what would be set from the GUI-generated VDI and maybe find what's causing my script-built VM to fail