Move Files from Ubuntu to Windows 7 (Ubuntu和windows文件共享方法)

2024-04-04 07:38

本文主要是介绍Move Files from Ubuntu to Windows 7 (Ubuntu和windows文件共享方法),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

The newest Unbuntu system is Version 11.10 until 2012-3-2.Sometimes, you want to move files from your VirtualBox’s virtual machines to a Windows 7 host or vice versa, but how?  It’s simple really!  There are couple ways of doing it, but I prefer to keep it simple.  The steps are below:

 

Note: My Computer: Host is Windows 7 and the Vitual machine is Unbutun 11.10.

 

1. Install the additional package (安装增强功能包)

    Start your VirtualBox's Unbuntu 11.10 virtual machine, and click the "安装增强功能" in the virtual box's titile bar as shown in Figure 1:

Figure 1. The Additional Package in the Ubuntu 11.10 VirutalBOx

 

2. Restart you virutal machine and the additional package (VBoxLinuxAdditions) will be installed as shown in the desktop or in the left bar of your system as shown below in Figure 2:

Figure 2. The VBoxLinuxAdditions package when installing successfully

 

3. Now begin to build the share a folder in the Windows 7 host. Just create one share folder in your Windows 7 operating system and then set it a shared file. For example, I will create one shared file named Linux_share in the D disk as shown in Figure 3.

Figure 3. The shared fodler in the path of D:\VirtualBox, and named Linux_share

 

4. Enter your Ubuntu Sysem again and set up the shared space, in other words, point to the path of your Windows shared folder. The screenshot is presented in Figure 4 and 5.

                                           

  Figure 4. Add the Additinal Package from Figure 3                Figure 5. Successfully add the data space

 

5. Open the terminal in your ubuntu system,  first create one folder to transfer the files to Windows and then mount the folder in the command line:

sudo mount -t vboxsf Linux_share /home/tianliang/Windows_Share


Figure 6. The command line for mount the share folder In the Windows System

 

6. Now you can test that you can transfer your file from virtual box to Windows host or vice versa as shown in Figure 7.

                   

 

Figure 7. The file in Ubuntu can be seen in Windows 7 host

 

7. The set up process has finished, you can have a try.

 

Note: 构建文件共享的过程中可能需要多次重启虚拟机,耐心配置!

这篇关于Move Files from Ubuntu to Windows 7 (Ubuntu和windows文件共享方法)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/875189

相关文章

JavaScript中的reduce方法执行过程、使用场景及进阶用法

《JavaScript中的reduce方法执行过程、使用场景及进阶用法》:本文主要介绍JavaScript中的reduce方法执行过程、使用场景及进阶用法的相关资料,reduce是JavaScri... 目录1. 什么是reduce2. reduce语法2.1 语法2.2 参数说明3. reduce执行过程

C#中读取XML文件的四种常用方法

《C#中读取XML文件的四种常用方法》Xml是Internet环境中跨平台的,依赖于内容的技术,是当前处理结构化文档信息的有力工具,下面我们就来看看C#中读取XML文件的方法都有哪些吧... 目录XML简介格式C#读取XML文件方法使用XmlDocument使用XmlTextReader/XmlTextWr

C++初始化数组的几种常见方法(简单易懂)

《C++初始化数组的几种常见方法(简单易懂)》本文介绍了C++中数组的初始化方法,包括一维数组和二维数组的初始化,以及用new动态初始化数组,在C++11及以上版本中,还提供了使用std::array... 目录1、初始化一维数组1.1、使用列表初始化(推荐方式)1.2、初始化部分列表1.3、使用std::

oracle DBMS_SQL.PARSE的使用方法和示例

《oracleDBMS_SQL.PARSE的使用方法和示例》DBMS_SQL是Oracle数据库中的一个强大包,用于动态构建和执行SQL语句,DBMS_SQL.PARSE过程解析SQL语句或PL/S... 目录语法示例注意事项DBMS_SQL 是 oracle 数据库中的一个强大包,它允许动态地构建和执行

Ubuntu固定虚拟机ip地址的方法教程

《Ubuntu固定虚拟机ip地址的方法教程》本文详细介绍了如何在Ubuntu虚拟机中固定IP地址,包括检查和编辑`/etc/apt/sources.list`文件、更新网络配置文件以及使用Networ... 1、由于虚拟机网络是桥接,所以ip地址会不停地变化,接下来我们就讲述ip如何固定 2、如果apt安

Go路由注册方法详解

《Go路由注册方法详解》Go语言中,http.NewServeMux()和http.HandleFunc()是两种不同的路由注册方式,前者创建独立的ServeMux实例,适合模块化和分层路由,灵活性高... 目录Go路由注册方法1. 路由注册的方式2. 路由器的独立性3. 灵活性4. 启动服务器的方式5.

在不同系统间迁移Python程序的方法与教程

《在不同系统间迁移Python程序的方法与教程》本文介绍了几种将Windows上编写的Python程序迁移到Linux服务器上的方法,包括使用虚拟环境和依赖冻结、容器化技术(如Docker)、使用An... 目录使用虚拟环境和依赖冻结1. 创建虚拟环境2. 冻结依赖使用容器化技术(如 docker)1. 创

Spring排序机制之接口与注解的使用方法

《Spring排序机制之接口与注解的使用方法》本文介绍了Spring中多种排序机制,包括Ordered接口、PriorityOrdered接口、@Order注解和@Priority注解,提供了详细示例... 目录一、Spring 排序的需求场景二、Spring 中的排序机制1、Ordered 接口2、Pri

Idea实现接口的方法上无法添加@Override注解的解决方案

《Idea实现接口的方法上无法添加@Override注解的解决方案》文章介绍了在IDEA中实现接口方法时无法添加@Override注解的问题及其解决方法,主要步骤包括更改项目结构中的Languagel... 目录Idea实现接China编程口的方法上无法添加@javascriptOverride注解错误原因解决方

MySql死锁怎么排查的方法实现

《MySql死锁怎么排查的方法实现》本文主要介绍了MySql死锁怎么排查的方法实现,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧... 目录前言一、死锁排查方法1. 查看死锁日志方法 1:启用死锁日志输出方法 2:检查 mysql 错误