默认安装会出现错误,下面写一下正确的安装步骤
1. 升级到最新的Virtualbox,可以尝试最新的Guest Additions。https://www.virtualbox.org/wiki/Testbuilds
2. 安装需求的packages,dnf install kernel-devel-$(uname -r) kernel-headers perl gcc make elfutils-libelf-devel
3. 插入Guest Additions光盘,点击弹出的Run安装。Devices — Insert Guest Additions CD image。