CentOS Stream 10

VirtualBox : Install GuestAdditions2025/08/07

 

Install [GuestAdditions] into a Virtual Machine to improve Virtual Machine's System Performance.
On the example below, it shows to install [GuestAdditions] on a Virtual Machine [CentOS_10].

[1] Attach [GuestAdditions]' disk to the VM on VirtualBox Host. The target VM must be stopped.
[root@dlp ~]#
VBoxManage storageattach CentOS_10 \
--storagectl CentOS_10_SATA \
--port 0 \
--type dvddrive \
--medium /usr/share/virtualbox/VBoxGuestAdditions.iso
[2] Start the VM and login to it, then Install [GuestAdditions] on it.
[root@guest ~]#
dnf -y install kernel-devel-$(uname -r) gcc gcc-c++ make bzip2 elfutils-libelf-devel

[root@guest ~]#
mount /dev/cdrom /mnt

[root@guest ~]#
cd /mnt

[root@guest mnt]#
./VBoxLinuxAdditions.run

Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.1.12 Guest Additions for Linux  100%
VirtualBox Guest Additions installer
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
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 <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
6.12.0-116.el10.x86_64. Please install them and execute
.....
.....

[root@guest mnt]#
[3] After installing [GuestAdditions], System Performance will be improved.
Matched Content