How to install Vm tool on vm box ?
you will get below media
[root@localhost VBox_GAs_7.0.10]# df -Ph
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.1G 0 3.1G 0% /dev
tmpfs 3.1G 0 3.1G 0% /dev/shm
tmpfs 3.1G 18M 3.1G 1% /run
tmpfs 3.1G 0 3.1G 0% /sys/fs/cgroup
/dev/mapper/cs-root 44G 6.2G 38G 15% /
/dev/sda1 1014M 272M 743M 27% /boot
tmpfs 626M 20K 626M 1% /run/user/1000
/dev/sr0 52M 52M 0 100% /run/media/root/VBox_GAs_7.0.10 <<<----
[root@localhost VBox_GAs_7.0.10]#
====
[root@localhost ~]# cd /run/media/root/VBox_GAs_7.0.10
[root@localhost VBox_GAs_7.0.10]# pwd
/run/media/root/VBox_GAs_7.0.10
[root@localhost VBox_GAs_7.0.10]# ls -ltr
total 42179
-r--r--r--. 1 root root 1048 Jan 31 2023 AUTORUN.INF
-r--r--r--. 1 root root 261 Jan 31 2023 windows11-bypass.reg
-r--r--r--. 1 root root 9402368 Jul 12 2023 VBoxSolarisAdditions.pkg
-r-xr-xr-x. 1 root root 4224 Jul 12 2023 VBoxDarwinAdditionsUninstall.tool
-r-xr-xr-x. 1 root root 5096 Jul 12 2023 runasroot.sh
-r-xr-xr-x. 1 root root 6848 Jul 12 2023 autorun.sh
-r-xr-xr-x. 1 root root 6296008 Jul 12 2023 VBoxLinuxAdditions.run
-r--r--r--. 1 root root 2199917 Jul 12 2023 VBoxDarwinAdditions.pkg
-r-xr-xr-x. 1 root root 243712 Jul 12 2023 VBoxWindowsAdditions.exe
-r-xr-xr-x. 1 root root 9262048 Jul 12 2023 VBoxWindowsAdditions-x86.exe
-r-xr-xr-x. 1 root root 15760728 Jul 12 2023 VBoxWindowsAdditions-amd64.exe
-r--r--r--. 1 root root 592 Jul 12 2023 TRANS.TBL
dr-xr-xr-x. 2 root root 2828 Jul 12 2023 OS2
dr-xr-xr-x. 2 root root 1252 Jul 12 2023 NT3x
dr-xr-xr-x. 2 root root 1468 Jul 12 2023 cert
[root@localhost VBox_GAs_7.0.10]# ./VBoxLinuxAdditions.run
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.10 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Removing installed version 7.0.10 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
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
4.18.0-552.1.1.el8.x86_64.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
File context for /opt/VBoxGuestAdditions-7.0.10/other/mount.vboxsf already defined, modifying instead
[root@localhost VBox_GAs_7.0.10]#
=====================
[root@oragrid VBox_GAs_7.0.8]# ./VBoxLinuxAdditions.run
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.8 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Removing installed version 7.0.8 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
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: Kernel headers not found for target kernel
4.18.0-348.el8.x86_64. Please install them and execute
/sbin/rcvboxadd setup
ValueError: File context for /opt/VBoxGuestAdditions-7.0.8/other/mount.vboxsf already defined
VirtualBox Guest Additions: reloading kernel modules and services
cannot verify if kernel modules and services were reloaded
The log file /var/log/vboxadd-setup.log may contain further information.
[root@oragrid VBox_GAs_7.0.8]# dnf install -y kernel-devel-$(uname -r) kernel-headers-$(uname -r) make gcc elfutils-libelf-devel
Last metadata expiration check: 0:03:28 ago on Mon 01 Jun 2026 15:50:29 BST.
Dependencies resolved.
============================================================================================================================================
Package Architecture Version Repository Size
============================================================================================================================================
Installing:
elfutils-libelf-devel x86_64 0.185-1.el8 baseos 59 k
gcc x86_64 8.5.0-4.el8_5 appstream 23 M
kernel-devel x86_64 4.18.0-348.el8 baseos 20 M
kernel-headers x86_64 4.18.0-348.el8 baseos 8.3 M
make x86_64 1:4.2.1-10.el8 baseos 498 k
Installing dependencies:
cpp x86_64 8.5.0-4.el8_5 appstream 10 M
glibc-devel x86_64 2.28-164.el8 baseos 1.0 M
glibc-headers x86_64 2.28-164.el8 baseos 480 k
isl x86_64 0.16.1-6.el8 appstream 841 k
libxcrypt-devel x86_64 4.1.1-6.el8 baseos 25 k
zlib-devel x86_64 1.2.11-17.el8 baseos 58 k
Transaction Summary
============================================================================================================================================
Install 11 Packages
Total download size: 65 M
Installed size: 149 M
Downloading Packages:
(1/11): isl-0.16.1-6.el8.x86_64.rpm 1.2 MB/s | 841 kB 00:00
(2/11): elfutils-libelf-devel-0.185-1.el8.x86_64.rpm 777 kB/s | 59 kB 00:00
(3/11): glibc-devel-2.28-164.el8.x86_64.rpm 3.4 MB/s | 1.0 MB 00:00
(4/11): glibc-headers-2.28-164.el8.x86_64.rpm 3.0 MB/s | 480 kB 00:00
(5/11): cpp-8.5.0-4.el8_5.x86_64.rpm 6.1 MB/s | 10 MB 00:01
(6/11): gcc-8.5.0-4.el8_5.x86_64.rpm 8.5 MB/s | 23 MB 00:02
(7/11): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm 408 kB/s | 25 kB 00:00
(8/11): make-4.2.1-10.el8.x86_64.rpm 3.8 MB/s | 498 kB 00:00
(9/11): zlib-devel-1.2.11-17.el8.x86_64.rpm 772 kB/s | 58 kB 00:00
(10/11): kernel-headers-4.18.0-348.el8.x86_64.rpm 3.4 MB/s | 8.3 MB 00:02
(11/11): kernel-devel-4.18.0-348.el8.x86_64.rpm 6.5 MB/s | 20 MB 00:03
--------------------------------------------------------------------------------------------------------------------------------------------
Total 15 MB/s | 65 MB 00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : zlib-devel-1.2.11-17.el8.x86_64 1/11
Installing : kernel-headers-4.18.0-348.el8.x86_64 2/11
Running scriptlet: glibc-headers-2.28-164.el8.x86_64 3/11
Installing : glibc-headers-2.28-164.el8.x86_64 3/11
Installing : libxcrypt-devel-4.1.1-6.el8.x86_64 4/11
Installing : glibc-devel-2.28-164.el8.x86_64 5/11
Running scriptlet: glibc-devel-2.28-164.el8.x86_64 5/11
Installing : isl-0.16.1-6.el8.x86_64 6/11
Running scriptlet: isl-0.16.1-6.el8.x86_64 6/11
Installing : cpp-8.5.0-4.el8_5.x86_64 7/11
Running scriptlet: cpp-8.5.0-4.el8_5.x86_64 7/11
Installing : gcc-8.5.0-4.el8_5.x86_64 8/11
Running scriptlet: gcc-8.5.0-4.el8_5.x86_64 8/11
Installing : elfutils-libelf-devel-0.185-1.el8.x86_64 9/11
Installing : make-1:4.2.1-10.el8.x86_64 10/11
Running scriptlet: make-1:4.2.1-10.el8.x86_64 10/11
Installing : kernel-devel-4.18.0-348.el8.x86_64 11/11
Running scriptlet: kernel-devel-4.18.0-348.el8.x86_64 11/11
Verifying : cpp-8.5.0-4.el8_5.x86_64 1/11
Verifying : gcc-8.5.0-4.el8_5.x86_64 2/11
Verifying : isl-0.16.1-6.el8.x86_64 3/11
Verifying : elfutils-libelf-devel-0.185-1.el8.x86_64 4/11
Verifying : glibc-devel-2.28-164.el8.x86_64 5/11
Verifying : glibc-headers-2.28-164.el8.x86_64 6/11
Verifying : kernel-devel-4.18.0-348.el8.x86_64 7/11
Verifying : kernel-headers-4.18.0-348.el8.x86_64 8/11
Verifying : libxcrypt-devel-4.1.1-6.el8.x86_64 9/11
Verifying : make-1:4.2.1-10.el8.x86_64 10/11
Verifying : zlib-devel-1.2.11-17.el8.x86_64 11/11
Installed:
cpp-8.5.0-4.el8_5.x86_64 elfutils-libelf-devel-0.185-1.el8.x86_64 gcc-8.5.0-4.el8_5.x86_64
glibc-devel-2.28-164.el8.x86_64 glibc-headers-2.28-164.el8.x86_64 isl-0.16.1-6.el8.x86_64
kernel-devel-4.18.0-348.el8.x86_64 kernel-headers-4.18.0-348.el8.x86_64 libxcrypt-devel-4.1.1-6.el8.x86_64
make-1:4.2.1-10.el8.x86_64 zlib-devel-1.2.11-17.el8.x86_64
Complete!
[root@oragrid VBox_GAs_7.0.8]#
[root@oragrid VBox_GAs_7.0.8]#
[root@oragrid VBox_GAs_7.0.8]#
[root@oragrid VBox_GAs_7.0.8]#
[root@oragrid VBox_GAs_7.0.8]# ./VBoxLinuxAdditions.run
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.8 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Removing installed version 7.0.8 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
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
4.18.0-348.el8.x86_64.


No comments:
Post a Comment