You will see the VirtualBox Guest Additions running in the terminal. Press Run and Provide password when prompted to authenticate. You will be prompted to run the VirtualBox Guest Additions. Go to the Devices in the VirtualBox toolbar and select the Insert VirtualBox Guest Additions CD image option. Install VirtualBox Guest Additions Using GUI There are two options available, you can mount and run VirtualBox Guest Additions through GUI or mount and run it using the terminal. Once you are done, now you can proceed to install VirtualBox Guest Additions. Note: uname -r command result is the kernel current version. sudo dnf install kernel-headers-$(uname -r) kernel-devel-$(uname -r) elfutils-libelf-devel gcc make tar bzip2 Use the following nested command to resolve dependencies. You need to make sure that the version of dependencies packages of the kernel like kernel-devel and kernel-headers are the same as the core kernel package version. sudo dnf -y install kernelĪfter kernel Installation, reboot your system using the sudo reboot or sudo systemctl reboot command to ensure changes take effect. Install the kernel using the following command. To update your system in CentOS, use the following command. Update your system as recommended to ensure that packages are of the latest version. As AlmaLinux is a successor of CentOS, the steps in this tutorial are also valid for the AlmaLinux operating system. Note: The commands in this tutorial are executed on the Rocky Linux system. In this article, You will learn to install VirtualBox Guest Additions in your CentOS 8, Rocky Linux, or AlmaLinux system. Unfortunately, installing VirtualBox Guest Additions in CentOS/RockyLinux/AlmaLinux has become more problematic due to missing dependencies and version inconsistencies. VirtualBox Guest Additions is a piece of software that enables you to use the guest operating system in its true form and it also lets you communicate with the host operating system which makes the use of the guest operating system a lot smoother. Nothing happens when clicking ‘Insert Guest Additions CD image’ option? You can download the iso, mount it, and install the Guest Additions manually.ġ.) Firstly start the VirtualBox Machine, download the iso image for your VirtualBox edition, usually “VBoxGuestAdditions_x.x.xx.If you have used VirtualBox, You might have noticed that display, performance, and communication between host and guest operating system leave a lot to be desired. Manually Download & Install Guest Additions: Under the Storage settings, remove the attached iso under Controller:IDE.Ģ.) Next add new optical drive, and click “Leave Empty” in the select dialog.Īfter saving the changes, start the Guest OS and try to install the additions again. And it will pop-up an error dialog:ĭon’t know why but do following steps will fix the issue in next Guest boot:ġ.) Power off the Guest OS, then go to its Settings page. It happens in my case when trying to install the additions in Elementary OS 6. Sometimes it outputs an error “Unable to insert the virtual optical disk … into the machine …” when you click on the menu option in VM (VirtualBox Machine). Unable to insert the virtual optical disk:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |