myspaghetti / macos-virtualbox

Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
GNU General Public License v2.0
13.53k stars 1.12k forks source link

Having trouble setting it up #437

Closed jemunm378 closed 3 years ago

jemunm378 commented 3 years ago

I install all the packages. But go this error: "please make sure the coreutils and gzip packages are the gnu variant" How can i fix it?

ashabuzaid commented 3 years ago

When running Cygwin64 Net Release Setup Program (setup-x86_64.exe) you will run into a pane called Select Packages. There you must change the View option to Category, then use the search box to locate the packages you need. Once you locate your package, scroll over to the right of the table under the column New where you find the word Skip. Click on Skip and highlight the latest package release, moving on to the next package after that. Once you're done, click Next in the bottom right corner and continue with the setup process of Cygwin64. Hope this helps! I'm trying this for this first time myself, as well.

myspaghetti commented 3 years ago

@jemunm378 please paste/attach the output of the following commands:

gzip --help
unzip -hh
csplit --help 
wget --version
jemunm378 commented 3 years ago

@ashabuzaid I did what you said. And it worked, but I had this message now: "Virtualbox is not using hardware-supported virtualization features. Check that software such as Hyper-V, Windows Sandbox, WSL2, memory integrity protection, and other Windows features that lock virtualization are turned off."

Also, Even though my computer has virtualization, it showed that message. And when I went into the vm settings, the "Enable
Nested VT-x" is greyed out.

jemunm378 commented 3 years ago

@jemunm378 please paste/attach the output of the following commands:

gzip --help
unzip -hh
csplit --help 
wget --version

^

Masamune3210 commented 3 years ago

Yes, you must turn off Hyper-V and WSL as only one hypervisor can use the virtualization features of the cpu at a time

mejiacsd commented 3 years ago

I am having difficulties running this as well.

Virtual Box installed 6.1 Attached is the Cygwin status.

I run, and then it prints: Please make sure that the following packages are installed and that they of the version specified or newer: coreutils 8.22 wget 1.14 gzip1.5 unzip 6.0 Please make sure the coreutils and gzip packages are the GNU variant. and closes the terminal. I needed to frame-by-frame my screen recording to get that information.

image

Am confused about what I am running incorrectly.

myspaghetti commented 3 years ago

@mejiacsd please run the following commands in a terminal and attach the output of these commands:

gzip --help
unzip -hh
csplit --help 
wget --version
mejiacsd commented 3 years ago

@myspaghetti

PATH did not get set right, needed to manually adjust it in Win10. I fixed the PATH and this is the resulting output: output.log

Now the script runs and gives me the line: 2021/04/07 15:40:19 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access. setup.log

jemunm378 commented 3 years ago

@Masamune3210 I did it. And it didn't work. Unless there's something else I need to disable 😕

myspaghetti commented 3 years ago

@mejiacsd if you already have Cygwin installed with all the packages you don't need use the installer again. No support is offered for dealing with an anti-virus that is blocking the installation of Cygwin.

@jemunm378 there are many apps and features that block VirtualBox from using VT-x/AMD-V. Other than the ones listed there's Core Isolation (of which memory integrity protection is a part), Device Guard, and other features. No support is offered for disabling Windows features that block VirtualBox from using VT-x/AMD-V. Generally speaking, running the following command as admin then rebooting twice has worked for several people:

bcdedit /set hypervisorlaunchtype off 

But this assumes that you have no other VT-x/AMD-V-blocking features enabled.

mejiacsd commented 3 years ago

@myspaghetti Windows updated this morning and the script runs fine now. No idea, Thank you for your timely replies, and the script itself.