Skip to main content

VirtualBox Installation Guide

Installation Steps

Tip: The actual installation time depends on the machine performance, please be patient. The terminal will automatically exit after the program is successfully executed.

Windows

Double-click csghubOvaInstaller.exe to run the installer.

Note: If the authorization administrator privileges does not pop up, right-click after the terminal and run as administrator.

macOS

Tip: If there is no Terminal.app option when right-clicking to open the program, please follow this step.

  1. Select the file csghubOvaInstaller, right-click Open with, and select Terminal.app.
  2. After the installation is complete, please perform this step.
  3. Double-click csghub-arm64 to start the virtual machine (it will takes a few minutes to start)

If it still doesn't open, please try the following:

  1. Use Command+Space to search for Terminal.app and open Terminal

  2. Execute the following command:

    Note: Please fill in the actual file path (you can get the absolute path by copying and pasting in Finder).

    chmod +x ~/Downloads/csghubOvaInstaller
    ~/Downloads/csghubOvaInstaller

Accessing the instance

Troubleshooting

1. Can't open 'csghubOvaInstaller' because it is from an unidentified developer

img

Solution:

  1. Open System Settings
  2. Find Privacy & Security or Security & Privacy
  3. Find Use of "csghubOvaInstaller" has been blocked because it is from an unidentified developer., click Open Anyway
  4. Verify Password or Fingerprint
  5. It prompts "macOS" cannot verify the developer of "csghubOvaInstaller", are you sure you want to open it?, click Open
  6. Wait for the program to complete

2. "csghubOvaInstaller" is damaged and cannot be opened. You should move it to the Trash.

  1. Open Terminal Application.

  2. Enter the command to clear the extended attributes of the file:

    xattr -c ~/Downloads/csghubOvaInstaller
  3. Re-run the program or double-click to run the program

    ~/Downloads/csghubOvaInstaller

3. Nonexistent host-only network 'HostNetwork' (VERR_INTERNAL_ERROR)

img

Solution:

  1. Click VirtualBox in the upper left corner of the page

  2. Select Preferences

  3. Select Expert

    img

  4. Click OK

  5. Click Tools and select Network

    img

  6. Click Create

  7. Double-click to start the virtual machine

4. Nonexistent host networking interface, name '' (VERR_INTERNAL_ERROR).

This issue is caused by the Host-Only network adapter not being set up correctly. Fix it by:

  1. Click Network Settings in the second column
  2. Click OK

5. VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) (extended info not available)

Importing VBoxOva from E:\test\csghub_windows_amd64\csghub-amd64.ova
failed to import ova: exit status 1: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting E:\test\csghub_windows_amd64\csghub-amd64.ova...
OK.
0%...10%...E_INVALIDARG
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) (extended info not available)
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 1447 of file VBoxManageAppliance.cpp

This is usually caused by insufficient 30GB of space in the VirtualBox installation directory. If VirtualBox has already been installed, please try to modify the default virtual machine storage location in the following ways:

  1. Open Management, Global Settings
  2. Click General, modify Default Virtual Machine Location

6. NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries) (rc=-101)

Details:

Make sure the kernal module has been loaded successfully.

where: supR3HardenedWinReSpawn what: 2 VERR_OPEN_FAILED (-101) -File/Device open failed. Driver is probably stuck stopping/starting. Try `sc.exe query vboxsub` to get more information about its state. Rebooting may actually help.

Solution:

  • Solution 1:

    sc start vboxsup

    Returns:

    SERVICE_NAME: vboxsup
    TYPE : 1 KERNEL_DRIVER
    STATE : 4 RUNNING
    WIN32_EXIT_CODE : 0 (0x0)
    SERVICE_EXIT_CODE : 0 (0x0)
    CHECKPOINT : 0x0
    WAIT_HINT : 0x0
    PID : 0
    FLAGS :
  • Solution 2:

    1. Go to the directory C:\Program Files\Oracle\VirtualBox\driver\vboxdrv in the file manager
    2. Find the file VBoxDrv.inf, right-click and click Install
    3. Restart the operating system

7. VT-x is not available (VERR_VMX_NO_VMX)

 Not Hyper-V CPUID signature: 0x61774d56 0x4d566572 0x65726177 (extected 0x7263694d 0x666f736f 0x76482074) (VERR_NEM_NOT_AVAILABLE).

This problem occurs because the machine where VirtualBox is installed is not a virtual machine or Hyper-V virtualization is not enabled on the host machine. You need to use a host machine that supports re-virtualization to perform the operation.

8. There is no 'terminal.app' option when opening

  1. If you don't see Terminal.app when you right click, select Other

    img

  2. Select All Applications

    img

  3. Select Terminal.app in the list and click Open

    img

  4. Wait for program execution to complete

9. The VM session was aborted.

img

  • This problem is most likely because the imported virtual machine architecture operating system is not supported.

    Please follow the following correspondence to install:

    • MacBook Intel CPU (amd64)

      Use the installation file with the macOS_amd64 logo to install.

    • MacBook Apple Silicon (arm64)

      Use the installation file with the macOS_arm64 logo to install.

Note: Now combined into one executable file.

10. Output: VirtualBox-7.1.6-167084-Win.exe: error: Installation failed! Error: xxxxx

img

If you encounter this problem, please try to manually install VirtualBox according to the location of the exe file in the prompt and check the detailed error information. If the error information is as follows:

img

img

Please download and install Visual C++ by yourself.

11. Manual import of virtual computer keeps prompting 100%

img

Please try closing and importing again.

12. http://csghub.example.com No access

img

Solution:

  1. Please make sure that the virtual machine has been started (wait 2-3 minutes after startup for the program to be ready)

  2. Confirm that the file C:\Windows\System32\drivers\etc\hosts contains the following information:

    192.168.56.218 csghub.example.com
    192.168.56.218 casdoor.example.com
    192.168.56.218 minio.example.com
    192.168.56.218 temporal.example.com
    192.168.56.218 registry.example.com

If not, please remove the anti-hosts file tampering program or add it manually.