Closed DreamPWJ closed 4 years ago
executive sudo apt update && sudo apt-get install -y virtualbox virtualbox-guest-additions-iso coreutils gzip unzip wget xxd dmg2img
Hi, please execute ./macos-guest-virtualbox.sh troubleshoot
and attach the generated macOS_troubleshoot.txt
file here.
You don't see any error messages in the logs @myspaghetti
From the log:
the host CPU does NOT support HW virtualization
Windows above does not support shell scripts so I put scripts to prevent Windows within the virtual machine of Ubuntu system
If you're on Windows I recommend you run the script on Cygwin.
This is a new mistake I've been trying for days and it still doesn't work @myspaghetti
use Cygwin error C:\cygwin\bin\bash .\macos-guest-virtualbox.sh
+ CategoryInfo : ObjectNotFound: (C:\cygwin\bin\bash:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
You are trying to run the script on PowerShell. Please run the script on bash in mintty (Cygwin Terminal).
@myspaghetti in cygwin not install coreutils gzip unzip wget xxd dmg2img
If you are using Hyper-V you need to configure nested virtualization
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
I'm pretty sure that if the asker knew how to install an X server on Windows so they can run VirtualBox on WSL2 with nested virtualization they wouldn't have been trying to run a bash script on PowerShell or asking how to install packages on Cygwin.
Out-of-the-box GUI support on WSL2 is coming soon, and when that happens the preferred method to run the script will be through nested virtualization on a WSL2 Linux instance.
Until then, it's far easier for an inexperienced user to run the script on Cygwin.
stage: check_default_virtual_machine
Checking that VirtualBox starts the virtual machine without errors. Error while starting the virtual machine.