Get the App
SLTechnology News&Howtos  ›  Database  › 

VirtualBox installation

Shulou Source: shulou.com Published: 2022-06-01 06:04:12 10月03日 Update

Briefly record the installation process of VirtualBox, the problems and solutions.

Download the installation package

The latest version is 6.1.18, download link

Perform installation

Double-click to perform the installation, and a fallback may occur during the installation, and then prompt for a serious error. The solution is:

1. Start the service Device Install Service and Device Setup Service. The reason for the error is that you did not check the log information carefully. It is guessed that network card and other devices need to be installed during the installation of VirtualBox.

two。 Clean the registry: download CCleaner, clean up the registration information

Set up a shared folder

1. Add a shared folder: add a shared folder in the virtual machine settings. Select the shared folder of the Windows host, but do not fill the mount point.

two。 Install enhancements:

a. Add a virtual optical drive

b. Mount the CD-ROM drive

Mkdir-p / media/drive

Mount-t auto / dev/cdrom / media/drive/

c. Execute the enhancement installation script

Cd / media/drive/

Sh VBoxLinuxAdditions.run

If there is an error "Could not find the X.Org or XFree86 Window System, skipping" in the installation process, just install the corresponding components.

Yum-y install xorg-x11-drivers xorg-x11-utils

Re-execute this script:

[root@localhost drive] # sh. / VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 6.1.8 Guest Additions for Linux. VirtualBox Guest Additions installer Removing installed version 6.1.8 of VirtualBox Guest Additions... Copying additional installer modules... Installing additional modules... VirtualBox Guest Additions: Starting. VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while. VirtualBox Guest Additions: To build modules for other installed kernels, run VirtualBox Guest Additions: / sbin/rcvboxadd quicksetup VirtualBox Guest Additions: or VirtualBox Guest Additions: / sbin/rcvboxadd quicksetup all VirtualBox Guest Additions: Building the modules for kernel 3.10.0-693.el7.x86_64. VirtualBox Guest Additions: Look at / var/log/vboxadd-setup.log to find out what went wrong VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted

Although the prompt error, in fact, once the installation is successful, enter the / media directory to see the mounted shared folder (starting with sf_).

Tags: Files folders information optical drive function script process error prompt success but not host reason garbage actual actually scheme method log time Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Tech Info Huawei Shulou Technology MariaDB