ITPub博客

首页 > 数据库 > Oracle > [20260531]Oracle VM VirtualBox 7.0安装增强功能错误在centos 9 stream.txt

[20260531]Oracle VM VirtualBox 7.0安装增强功能错误在centos 9 stream.txt

原创 Oracle 作者:lfree 时间:2026-05-31 20:31:54 0 删除 编辑

[20260531]Oracle VM VirtualBox 7.0安装增强功能错误在centos 9 stream.txt

--//安装Oracle VM VirtualBox的增加功能报错,操作记录如下:
--//光驱指向C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso文件.
--//以新建立的test用户登录,这样安装VBoxGuestAdditions.iso.

# df
Filesystem     1K-blocks    Used Available Use% Mounted on
devtmpfs         3900272       0   3900272   0% /dev
tmpfs            3932688       0   3932688   0% /dev/shm
tmpfs            1573076    9424   1563652   1% /run
/dev/sda2       30342144 8084128  22258016  27% /
tmpfs             786536      56    786480   1% /run/user/42
tmpfs             786536      40    786496   1% /run/user/0
tmpfs             786536      96    786440   1% /run/user/1000
/dev/sr0           52250   52250         0 100% /run/media/test/VBox_GAs_7.0.20

# cd /run/media/test/VBox_GAs_7.0.20
# ./VBoxLinuxAdditions.run
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.20 Guest Additions for Linux  100%
VirtualBox Guest Additions installer
Removing installed version 7.0.20 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
5.14.0-704.el9.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.20/other/mount.vboxsf already defined, modifying instead
VirtualBox Guest Additions: reloading kernel modules and services
VirtualBox Guest Additions: unable to load vboxguest kernel module, see dmesg
VirtualBox Guest Additions: kernel modules and services were not reloaded
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The log file /var/log/vboxadd-setup.log may contain further information.

--//kimi查询给出的建议,因为VBoxGuestAdditions.iso映像文件不支持5.0以上内核,建议下载新VBoxGuestAdditions.iso的文件
--//重新安装。到相关网站 下载 VBoxGuestAdditions_7.2.9-174006.iso 文件。
--//光驱指向C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions_7.2.9-174006.iso文件.

# cd /run/media/test/VBox_GAs_7.2.9/
# ./VBoxLinuxAdditions.run
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.2.9 Guest Additions for Linux  100%
VirtualBox Guest Additions installer
Removing installed version 7.0.20 of VirtualBox Guest Additions...
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 Guest Additions 7.2.9 modules for
kernel 5.14.0-704.el9.x86_64.
VirtualBox Guest Additions: Building the main module.
VirtualBox Guest Additions: Building the shared folder support module.
VirtualBox Guest Additions: Building the graphics driver module.
VirtualBox Guest Additions: Updating initramfs
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: reloading kernel modules and services
VirtualBox Guest Additions: kernel modules and services 7.2.9 r174006 reloaded
VirtualBox Guest Additions: NOTE: you may still consider to re-login if some
user session specific services (Shared Clipboard, Drag and Drop, Seamless or
Guest Screen Resize) were not restarted automatically

--//OK,成功安装Oracle VM VirtualBox 7.0增强功能。
--//顺便提一下,如果没有安装增强功能,虚拟机器的X windows下操作非常不方便,甚至无法操作.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/267265/viewspace-3172739/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
熟悉oracle相关技术,擅长sql优化,rman备份与恢复,熟悉linux shell编程。

注册时间:2008-01-03

  • 博文量
    4006
  • 访问量
    7968944