From f19b03873b371db3e40285bba84bdee51cdbac7b Mon Sep 17 00:00:00 2001 From: img2tab <31696646+img2tab@users.noreply.github.com> Date: Sun, 4 Nov 2018 21:51:57 +0000 Subject: [PATCH] removing empty drives These need to be "none" to prevent UEFI problems --- macos_okiomov.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macos_okiomov.sh b/macos_okiomov.sh index 94d0ccb..3292bb7 100644 --- a/macos_okiomov.sh +++ b/macos_okiomov.sh @@ -378,7 +378,7 @@ read -p "Press enter when the virtual machine shutdown is complete." echo "" echo "Detaching initial base system and starting virtual machine." echo "The VM will boot from the new base system on the installer virtual disk." -VBoxManage storageattach "${vmname}" --storagectl SATA --port 2 --medium emptydrive +VBoxManage storageattach "${vmname}" --storagectl SATA --port 2 --medium none VBoxManage startvm "${vmname}" promptlangutils @@ -493,7 +493,7 @@ echo "Shutting down virtual machine." read -p "Press enter when the virtual machine shutdown is complete." # detach installer from virtual machine -VBoxManage storageattach "${vmname}" --storagectl SATA --port 1 --medium emptydrive +VBoxManage storageattach "${vmname}" --storagectl SATA --port 1 --medium none # Start the virtual machine again. # The VM will boot from the target virtual disk image and complete the installation.