`
tenderghost
  • 浏览: 24571 次
  • 性别: Icon_minigender_1
  • 来自: 南京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

VirtualBox: access Windows-host shared folders from Ubuntu-guest

阅读更多
This is the scenario that you run Windows as your host operating system and Ubuntu in a VirtualBox, and that you want to access a specific Windows folder from Ubuntu.

First you have to make sure that have install Guest Additions. From the VirtualBox's menu go to Devices → Install Guest Additions... This will mount a virtual CD on your /media/cdrom. Normally this folder's window will show up. As root run the program VBoxLinuxAdditions.run. When the program completes reboot your VirtualBox.

With Guest Additions installed you may now go ahead and define the shared folder(s). From the VirtualBox's menu go to Devices → Shared Folders. A dialog will show up. In this dialog you can specify which folder from your Windows system you want to share with your Ubuntu. Press the button with the + symbol to add a new shared folder in the list. You will have to specify a Folder Name for each folder you add. Make sure you memorize that name because you will need it very soon.

When done with you shared folder(s) specification, you may now go ahead and actually mount these folders from Ubuntu. First you have to create a mounpoint, that is, a directory in your Ubuntu which will reflect the shared folder from Windows:

# sudo mkdir /media/windows-share

Of course you may choose an alternative path for your mountpoint. With your mountpoint created you can now mount the shared folder, like this:

# sudo mount -t vboxsf folder-name /media/windows-share

Where folder-name will be the name you assigned for this folder when you were adding it in the shared folders list.

You could use the /etc/init.d/rc.local script to execute these commands on startup to have the shared folders automatically mounted every time you start your Ubuntu VirtualBox.
分享到:
评论

相关推荐

    virtualbox :ubuntu22: 版本7.0-7

    virtualbox :ubuntu22: 版本7.0-7

    VirtualBox-5.2.26-128414-Win

    10. **安装过程**:提供的“VirtualBox-5.2.26-128414-Win.exe”文件是Windows平台的安装程序,用户只需按照向导进行安装即可开始使用VirtualBox。 虚拟化技术的应用广泛,不仅限于个人用户在一台机器上同时运行多...

    免费虚拟机:VirtualBox-6.0.0-127566-Win

    在"VirtualBox-6.0.0-127566-Win"这个版本中,我们看到它针对Windows平台进行了优化,版本号6.0.0表明这是第六个主要版本的首次发布,而127566可能是该版本的内部构建号。 虚拟化技术的核心在于允许在单个物理主机...

    最新版windows VirtualBox-6.1.26-145957-Win.exe

    最新版windows VirtualBox-6.1.26-145957-Win.exe最新版windows VirtualBox-6.1.26-145957-Win.exe

    VirtualBox-7.0.12-159484-Win 虚拟机

    VirtualBox-7.0.12-159484-Win 虚拟机

    VirtualBox-5.1.26-117224-Win.zip

    本次介绍的版本是"VirtualBox-5.1.26-117224-Win.zip",它包含了一个适用于Windows操作系统的VirtualBox安装文件"VirtualBox-5.1.26-117224-Win.exe"。 虚拟化技术的核心在于,它能够将一台物理计算机的硬件资源...

    VirtualBox-5.1.24-117012-Win.exe

    虚拟化软件VirtualBox-5.1.24-117012-Win 虚拟化软件VirtualBox-5.1.24-117012-Win 虚拟化软件VirtualBox-5.1.24-117012-Win

    VirtualBox-5.1.26-117224-Win.exe

    VirtualBox-5.1.26-117224-Win.exe

    windows 版VirtualBox-6.0.10-132072.zip

    在安装"VirtualBox-6.0.10-132072-Win.exe"这个文件时,用户需注意关闭所有正在运行的虚拟机,以避免安装过程中可能出现的问题。安装完成后,用户可以根据自己的需求创建新的虚拟机,并选择合适的操作系统镜像进行...

    VirtualBox-6.0.4-128413-Win 安装包

    本安装包“VirtualBox-6.0.4-128413-Win”是专为Windows平台设计的版本,适用于64位和32位系统。 该版本号6.0.4-128413表明这是VirtualBox的一个特定更新,其中6.0.4代表主版本号、次版本号和修正版本号,而128413...

    VirtualBox-5.2.22-126460-Win(最新版)

    VirtualBox-5.2.22-126460-Win最新版本,适用于Windows平台使用

    VirtualBox-4.3.12-93733-Win VBOX 虚拟机

    这个“VirtualBox-4.3.12-93733-Win”版本是专为Windows操作系统设计的,它允许用户在单一的物理计算机上运行多个独立的操作系统实例,称为虚拟机。 虚拟机技术的核心在于它能够模拟硬件环境,提供一套完整的虚拟...

    VirtualBox-6.1.4-136177-Win.zip

    VirtualBox-6.1.4-136177-Win

    最新版windows VirtualBox-6.1.18-142142-Win.exe

    最新版windows VirtualBox-6.1.18-142142-Win.exe最新版windows VirtualBox-6.1.18-142142-Win.exe

    VirtualBox-5.2.0-118431-Win.exe

    VirtualBox-5.2.0-118431-Win.exe!

    VirtualBox-5.2.22-126460-Win.zip

    在这个特定的压缩包"VirtualBox-5.2.22-126460-Win.zip"中,包含的是VirtualBox 5.2.22的Windows版本。 在5.XX系列版本中,VirtualBox针对硬件虚拟化失败的问题进行了优化和处理。硬件虚拟化是现代处理器提供的一项...

    VirtualBox-6.1.22-144080-Win.exe

    VirtualBox-6.1.22-144080-Win.exe

    VirtualBox-6.0.4-128413-Win.rar

    本文将围绕“VirtualBox-6.0.4-128413-Win.rar”这个压缩包,详细介绍VirtualBox的相关知识点。 首先,VirtualBox 6.0.4-128413-Win是VirtualBox的一个特定版本,适用于Windows操作系统。这个版本包含了所有的基本...

    【虚拟机安装包VirtualBox-7.0.12-159484-Win】

    【虚拟机安装包VirtualBox-7.0.12-159484-Win】是一款由Oracle公司开发的免费且开源的虚拟化软件,主要用于在一台物理计算机上模拟运行多个操作系统。这个版本号“7.0.12-159484-Win”代表了该软件的特定迭代,意味...

    eNSP、WinPcap-4-1-3、VirtualBox-5.2.26-128414-Win

    包括eNSP、WinPcap_4_1_3、VirtualBox-5.2.26-128414-Win三个软件, 安装eNSP前先安装WinPcap和VirtualBox, 如需要CE12800镜像, 下载地址:https://download.csdn.net/download/kjkdd/87653212

Global site tag (gtag.js) - Google Analytics