-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fails to unmount after partitioning #44
Comments
Strange, I could not reproduce the issue with VirtualBox 6.0.4 r128413 on Windows 10. @akemper If you could boot into the faulty virtual machine ( On newly-generated VDIs this should be the output the following, with the order and sizes of
In your case the 23.1 GB disk should be partitioned, and the second largest disk (8.4 GB) should still be blank. |
What if you change "Install ${vmname}.vdi" to "Install_${vmname}.vdi"? |
Removing the white space in the mentioned expression in lines #217 and #229 fixed this for me, while replacing it with "_" should have the same effect. The root cause was just command execution from VBoxMange failing, even though the argument was already quoted. What else is not working in your setup? Meanwhile, I gave it a second iteration using WSL instead of Cygwin, which turned out to be the quicker / easier solution. In addition, there I just needed to change "cmd" to "cmd.exe" in #106, otherwise the command could not be executed. |
There are 3 or 4 places you need to remove the space. My other issue was macOS throws error when validate source and target. It says 'invalid argument' on source. I ignored it but VM booted into EFUI screen after script shutdown VM. |
In order not to get into what Bash configuration makes VBoxManage not respect quoted variables, I'll just not use whitespace in the default variables. @wilber82 the download fails because Apple released macOS 10.14.4 and the old URL doesn't point to anything. This will be solved by implementing enhancement #33 |
I'm running Windows 10 with latest Cygwin and Virtualbox 6. Executing the script there is an error pretty early after partitioning, which lets the installation fail completely. Should I give it a trial with VB 5.2 or anything else to keep in mind?
The text was updated successfully, but these errors were encountered: