Comments (5)
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.
from macos-virtualbox.
Strange, ${disks[0]}
and ${disks[1]}
(the largest and second-largest disks) should not be mounted, they should be partition-less VDIs. Failure to partition them could happen if for some reason BaseSystem.vdi
reported having a larger capacity than Install.vdi
, causing the script to try to partition the active BaseSystem.vdi
instead.
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 (VBoxManage startvm Mojave
) and run diskutil list | grep[012]$
in the terminal that should shed some light on the issue.
On newly-generated VDIs this should be the output the following, with the order and sizes of disk0
, disk1
, and disk2
possibly shuffled:
-bash-3.2# diskutil list | grep disk[012]$
0: *8.4 GB disk0
0: GUID_partition_scheme *2.1 GB disk1
0: *23.1 GB disk2
In your case the 23.1 GB disk should be partitioned, and the second largest disk (8.4 GB) should still be blank.
from macos-virtualbox.
What if you change "Install ${vmname}.vdi" to "Install_${vmname}.vdi"?
I faced similar issue. It fixed after change this.
But I still see other problem.
Windows 10 + vbox6.04 r128413
from macos-virtualbox.
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.
from macos-virtualbox.
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
from macos-virtualbox.
Related Issues (20)
- "Virtualbox is not using hardware-supported virtualization features" HOT 15
- Ventura after Installation first startup Problem HOT 1
- Apple Silicon and ARM support HOT 2
- DmiSystemProduct HOT 1
- Anyone got this to work with Intel i7 12700K? HOT 2
- How to solve harware-supported virtualization when I need Hyper-V for Docker? HOT 1
- iServices not working - can't get system info from real device HOT 6
- Please make sure the following packages are installed and that they are of the version specified or newer: HOT 3
- NVRAM settings corrupted in headless VM HOT 18
- win11 执行脚本报错 Check that software such as Hyper-V, Windows Sandbox, WSL2, memory integrity protection, and other Windows features that lock virtualization are turned off. HOT 1
- MacOS boots into recovery mode instead of MacOS Desktop. HOT 1
- Installation script is pending on Press enter when the Language window is ready. HOT 2
- stage populate_bootable_installer_virtual_disk -> checksum faild HOT 2
- Script not completing HOT 1
- [Error] validating installer data HOT 4
- Error when the Virtualbox VM starts HOT 1
- Bash history contains script commands HOT 1
- Blocked on "Otherwise, please wait." HOT 2
- NEM/Hyper-V HOT 2
- win11如何执行安装mac?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macos-virtualbox.