Loading [MathJax]/jax/output/CommonHTML/config.js
前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >如何解决 VirtualBox 在安装 VB Guest additions(安装增强功能)时遇到的问题[通俗易懂]

如何解决 VirtualBox 在安装 VB Guest additions(安装增强功能)时遇到的问题[通俗易懂]

作者头像
全栈程序员站长
发布于 2022-09-07 03:25:37
发布于 2022-09-07 03:25:37
2.4K0
举报

大家好,又见面了,我是你们的朋友全栈君。

问题1 遇到:

ValueError: File context for /opt/VBoxGuestAdditions-6.1.6/other/mount.vboxsf already defined

参看:

https://www.reddit.com/r/virtualbox/comments/gabkpr/vb_guest_additions_install_issue_on_fedora_32/

6 months ago

*** THIS IS ONLY TO RESOLVE THE ValueError ***

Hey! I stumbled across this same issue today, but was able to resolve the ValueError above. That particular issue is SELinux-related. It involves the VirtualBox installation of Guest Additions (GAs) trying to add a file context for the mount.vboxsf file when it is already set. To at least resolve that error:

  1. Be sure that the GAs that come with Fedora are removed using yum, and that the kernel-devel, gcc, make, and perl binaries are installed on your Fedora VM with yum.
  2. Escalate to root: sudo -i or su -
  3. As root:
    1. semanage fcontext -d /opt/VBoxGuestAdditions-<VERSION>/other/mount.vboxsf
    2. restorecon /opt/VBoxGuestAdditions-<VERSION>/other/mount.vboxsf

And then run the VBoxGuestAdditions installer, and reboot. At the very least, it should not have the ValueError shown above. As far as testing some of the other functionality, let me know if that works out for anyone, because I do not use clipboards and shared folders!

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/154755.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
暂无评论
推荐阅读
编辑精选文章
换一批
virtualbox增强功能-VBoxGuestAdditions安装
1、准备virtualbox增强功能VBoxGuestAdditions.iso 默认安装virtualbox时就没有增强功能的iso 自行下载VBoxGuestAdditions.iso备用 如还是没有可以去官网另外下载 http://download.virtualbox.org/virtualbox/5.0.2/VBoxGuestAdditions_5.0.2.iso
全栈程序员站长
2022/09/07
10.2K0
virtualbox增强功能-VBoxGuestAdditions安装
VirtualBox和Vmware安装增强功能
---- 概述 由于本人计算机配置的问题,不得不安装虚拟机系统。无论是VMware还是VirtualBox都需要在操作系统安装一些虚拟机的增强功能.虚拟机是傻瓜式的安装,就不一一贴图了。写这边博客,主要是安装完虚拟机之后安装安装增强功能,多次点击和查找解决方案网上并没有好的解决方法。大多数都是基于Ubuntu的且带界面。我是在VirtualBox安装centos7,并实现windows主机和centos7主机共享。 安装增强功能 在安装增强功能之前,先要安装基于VBoxGuestAdditions编译的第三
吕海峰
2018/04/03
1.9K0
如何在Ubuntu 18.04上安装VirtualBox Guest Additions
VirtualBox提供了一组驱动程序和应用程序(VirtualBox Guest Additions),可以安装在客户机操作系统中。 VirtualBox Guest Additions为虚拟机提供了一些有用的功能,例如共享文件夹,共享剪贴板,鼠标指针集成,更好的视频支持等等。
用户5005176
2021/08/10
2.4K0
windows 安装vagrant reload 失败; No Virtualbox Guest Additions installation found.[通俗易懂]
问题描述:已经安装vagrant-vbguest 插件,且版本为0.30,使用的box 为centos7
全栈程序员站长
2022/07/19
5730
windows 安装vagrant reload 失败; No Virtualbox Guest Additions installation found.[通俗易懂]
Virtualbox mouse move in and out and file share with windows[通俗易懂]
How to use Virstalbox to share files with Linux and Windows, and to move the mouse in and out Virtualbox freely without click Ctrl key, herewith what I have done to achieve both.
全栈程序员站长
2022/07/07
5670
Virtualbox mouse move in and out and file share with windows[通俗易懂]
如何在 Ubuntu 18.04 上安装 Virtualbox 客户机增强组件
VirtualBox是一个开源跨平台虚拟化软件,它允许你同时运行多个客户操作系统(虚拟机)。
雪梦科技
2020/05/11
1.8K0
如何在 Ubuntu 18.04 上安装 Virtualbox 客户机增强组件
VirtualBox中Fedora 17安装增强工具失败 Building the main Guest Additions modu
为了在virtualbox里面的Fedora安装增强工具废了不少功夫,如果刚装的fedora上来就安装增强工具,肯定会出现错误:
知忆
2021/06/16
6040
安装增强功能失败:Could not mount the media/drive C:\Program Files\Oracle\VirtualBox/VBoxGuestAdditions.iso「建
吾虚拟机Ubuntu18本来是正常的,重新安装系统,不能自动改变分辨率。于是试图安装增强功能,报错如图:
全栈程序员站长
2022/07/04
1.9K0
安装增强功能失败:Could not mount the media/drive C:\Program Files\Oracle\VirtualBox/VBoxGuestAdditions.iso「建
如何在 CentOS 8 上安装 VirtualBox 客户机扩展程序
VirtualBox 是开源的,跨平台虚拟化软件,它允许你同时运行多个客户操作系统(虚拟机)。
雪梦科技
2020/05/11
9240
如何在 CentOS 8 上安装 VirtualBox 客户机扩展程序
Centos7安装mysql+keepalived 高可用环境[通俗易懂]
链接:https://downloads.mysql.com/archives/community/
全栈程序员站长
2022/09/06
6380
Centos7安装mysql+keepalived 高可用环境[通俗易懂]
最新 Linux 命令总结 大全[通俗易懂]
今天,带来一篇 Linux 命令总结的非常全的文章,也是我们平时工作中使用率非常高的操作命令,命令有点多,建议小伙伴们可以先收藏后阅读。
全栈程序员站长
2022/07/26
3.8K0
最新 Linux 命令总结 大全[通俗易懂]
解决win10在安装Android-studio时提示HAXM无法安装问题[通俗易懂]
错误提示:This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed. Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information.
全栈程序员站长
2022/09/13
5.2K0
解决win10在安装Android-studio时提示HAXM无法安装问题[通俗易懂]
DM7.0在VM-中标麒麟NeoKylin虚拟机上安装[通俗易懂]
1、安装vm14+中标麒麟6(NeoKylin Linx Server 6 for x86-64 操作系统)
全栈程序员站长
2022/09/22
2.7K0
DM7.0在VM-中标麒麟NeoKylin虚拟机上安装[通俗易懂]
如何解决Ubuntu 14.04编译make menuconfig时缺少’ncurses-devel’库[通俗易懂]
今天在使用64位的Ubuntu 14.04系统编译linux源码的make menuconfig命令时,得到了一个错误的提示,说我没有安装相应的库:
全栈程序员站长
2022/09/05
1.3K0
git拉取代码如何解决冲突_Git工具-git pull拉取代码时冲突的解决办法[通俗易懂]
error: Your local changes to the following files would be overwritten by merge:
全栈程序员站长
2022/11/08
4K0
【Linux】《how linux work》第六章 用户空间如何启动
The point where the kernel starts its first user-space process, init, is significant—not just because that’s where the memory and CPU are finally ready for normal system operation, but because that’s where you can see how the rest of the system builds up as a whole. Prior to this point, the kernel executes a well-controlled path of execution defined by a relatively small number of software developers. User space is far more modular. It’s much easier to see what goes into the user space startup and operation. For the adventurous, it’s also relatively easy to change the user space startup because doing so requires no low-level programming.
阿东
2024/04/10
3190
【Linux】《how linux work》第六章 用户空间如何启动
推荐阅读
相关推荐
virtualbox增强功能-VBoxGuestAdditions安装
更多 >
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档