I have inserted Guest Additions. I have installed needed packages such as kernel-headers perl etc etc. I have created a folder and tried to run:
sudo mount /dev/sr0 /mnt/cdrom
I then try to cd into the folder and
sudo ./VBoxLinuxAdditions.run
When I get
Detected unsupported arm64 machine type.
So I try to run the VBoxLinuxAdditions-arm64.run which I have in the cdrom folder, among other such files. Then I get:
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.2.8 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Removing installed version 7.2.8 of VirtualBox Guest Additions...
/opt/VBoxGuestAdditions-7.2.8/init/vboxadd: line 101: which: command not found
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
6.12.0-211.7.3.el10_2.aarch64. Please install them and execute
/sbin/rcvboxadd setup
VirtualBox Guest Additions: /opt/VBoxGuestAdditions-7.2.8/init/vboxadd-x11:
line 70: which: command not found
Could not find the X.Org or XFree86 Window System, skipping.
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
6.12.0-211.7.3.el10_2.aarch64. Please install them and execute
/sbin/rcvboxadd setup
VirtualBox Guest Additions: /opt/VBoxGuestAdditions-7.2.8/init/vboxadd-x11:
line 70: which: command not found
Could not find the X.Org or XFree86 Window System, skipping.
VirtualBox Guest Additions: reloading kernel modules and services
VirtualBox Guest Additions: unable to load vboxguest kernel module, see dmesg
VirtualBox Guest Additions: The log file /var/log/vboxadd-setup.log may contain
further information.
vboxadd-service.sh: Starting VirtualBox Guest Addition service.
VirtualBox Additions module not loaded!
So what can I do now?