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

相关文章

在Windows上使用qemu安装ubuntu24.04服务器的详细指南

《在Windows上使用qemu安装ubuntu24.04服务器的详细指南》本文介绍了在Windows上使用QEMU安装Ubuntu24.04的全流程:安装QEMU、准备ISO镜像、创建虚拟磁盘、配置... 目录1. 安装QEMU环境2. 准备Ubuntu 24.04镜像3. 启动QEMU安装Ubuntu4

Windows下C++使用SQLitede的操作过程

《Windows下C++使用SQLitede的操作过程》本文介绍了Windows下C++使用SQLite的安装配置、CppSQLite库封装优势、核心功能(如数据库连接、事务管理)、跨平台支持及性能优... 目录Windows下C++使用SQLite1、安装2、代码示例CppSQLite:C++轻松操作SQ

Python常用命令提示符使用方法详解

《Python常用命令提示符使用方法详解》在学习python的过程中,我们需要用到命令提示符(CMD)进行环境的配置,:本文主要介绍Python常用命令提示符使用方法的相关资料,文中通过代码介绍的... 目录一、python环境基础命令【Windows】1、检查Python是否安装2、 查看Python的安

基于Python实现一个Windows Tree命令工具

《基于Python实现一个WindowsTree命令工具》今天想要在Windows平台的CMD命令终端窗口中使用像Linux下的tree命令,打印一下目录结构层级树,然而还真有tree命令,但是发现... 目录引言实现代码使用说明可用选项示例用法功能特点添加到环境变量方法一:创建批处理文件并添加到PATH1

Maven 配置中的 <mirror>绕过 HTTP 阻断机制的方法

《Maven配置中的<mirror>绕过HTTP阻断机制的方法》:本文主要介绍Maven配置中的<mirror>绕过HTTP阻断机制的方法,本文给大家分享问题原因及解决方案,感兴趣的朋友一... 目录一、问题场景:升级 Maven 后构建失败二、解决方案:通过 <mirror> 配置覆盖默认行为1. 配置示

SpringBoot排查和解决JSON解析错误(400 Bad Request)的方法

《SpringBoot排查和解决JSON解析错误(400BadRequest)的方法》在开发SpringBootRESTfulAPI时,客户端与服务端的数据交互通常使用JSON格式,然而,JSON... 目录问题背景1. 问题描述2. 错误分析解决方案1. 手动重新输入jsON2. 使用工具清理JSON3.

使用jenv工具管理多个JDK版本的方法步骤

《使用jenv工具管理多个JDK版本的方法步骤》jenv是一个开源的Java环境管理工具,旨在帮助开发者在同一台机器上轻松管理和切换多个Java版本,:本文主要介绍使用jenv工具管理多个JD... 目录一、jenv到底是干啥的?二、jenv的核心功能(一)管理多个Java版本(二)支持插件扩展(三)环境隔

Java中Map.Entry()含义及方法使用代码

《Java中Map.Entry()含义及方法使用代码》:本文主要介绍Java中Map.Entry()含义及方法使用的相关资料,Map.Entry是Java中Map的静态内部接口,用于表示键值对,其... 目录前言 Map.Entry作用核心方法常见使用场景1. 遍历 Map 的所有键值对2. 直接修改 Ma

Mybatis Plus Join使用方法示例详解

《MybatisPlusJoin使用方法示例详解》:本文主要介绍MybatisPlusJoin使用方法示例详解,本文通过实例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,... 目录1、pom文件2、yaml配置文件3、分页插件4、示例代码:5、测试代码6、和PageHelper结合6

Windows的CMD窗口如何查看并杀死nginx进程

《Windows的CMD窗口如何查看并杀死nginx进程》:本文主要介绍Windows的CMD窗口如何查看并杀死nginx进程问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地... 目录Windows的CMD窗口查看并杀死nginx进程开启nginx查看nginx进程停止nginx服务