<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>虚拟机 &#8211; 编码无悔 /  Intent &amp; Focused</title>
	<atom:link href="https://www.codelast.com/tag/%E8%99%9A%E6%8B%9F%E6%9C%BA/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codelast.com</link>
	<description>最优化之路</description>
	<lastBuildDate>Tue, 28 Apr 2020 02:25:23 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>[原创] 如何在Ubuntu下的VirtualBox虚拟机（Windows XP）里挂载/使用U盘</title>
		<link>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%a6%82%e4%bd%95%e5%9c%a8ubuntu%e4%b8%8b%e7%9a%84virtualbox%e8%99%9a%e6%8b%9f%e6%9c%ba%ef%bc%88windows-xp%ef%bc%89%e9%87%8c%e6%8c%82%e8%bd%bd%e4%bd%bf%e7%94%a8u%e7%9b%98/</link>
					<comments>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%a6%82%e4%bd%95%e5%9c%a8ubuntu%e4%b8%8b%e7%9a%84virtualbox%e8%99%9a%e6%8b%9f%e6%9c%ba%ef%bc%88windows-xp%ef%bc%89%e9%87%8c%e6%8c%82%e8%bd%bd%e4%bd%bf%e7%94%a8u%e7%9b%98/#respond</comments>
		
		<dc:creator><![CDATA[learnhard]]></dc:creator>
		<pubDate>Sun, 23 Mar 2014 08:20:13 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[U盘]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[优盘]]></category>
		<category><![CDATA[使用]]></category>
		<category><![CDATA[找不到U盘]]></category>
		<category><![CDATA[挂载]]></category>
		<category><![CDATA[虚拟机]]></category>
		<guid isPermaLink="false">http://www.codelast.com/?p=7952</guid>

					<description><![CDATA[<p>
在Ubuntu下安装了VirtualBox之后，如果你的虚拟机安装的是Windows XP系统，那么，你会发现，当你插上U盘时，无论你怎么折腾，虚拟机（XP）里都是没有任何反应的，既不提示找到新硬件，也看不到U盘的分区。<br />
不像VMware，默认安装之后对U盘的支持很好，根本不需要用户去配置什么东西。从这一点上，我觉得VirtualBox太龌龊了，小而美归小而美，但是你不能把最常用的功能放在基础支持列表之外，还要用户去配置才能用，不是么？</p>
<p>下面就教你如何能让VirtualBox的虚拟机（XP）找到U盘并挂载上。宿主机系统是Ubuntu。实话说，网上的很多文章写得实在让人很无语，要么简略得太夸张，要么连中文都写得不通顺（负点责任行吗），我实在是看不下去了，所以在研究出来怎么做之后，我决定要把这么简单的一件事情写成教程，帮助有需要的人。<br />
<span id="more-7952"></span><br />
<span style="background-color:#00ff00;">『1』</span>关于Guest Additions<br />
VirtualBox带有一个叫Guest Additions的东西，可以在VirtualBox的菜单里为虚拟机安装上（一点击，在XP中就会弹出软件安装界面）。后面的步骤是否依赖Guest Additions，我<span style="color:#0000ff;">不确定</span>，因此，建议你安装上。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
<span style="background-color:#00ff00;">『2』</span>U盘的支持在哪里<br />
你一定想不到，默认安装的VirtualBox，竟然是没有USB设备支持功能的！你必须要去它的官网下载另一个&#8220;扩展包&#8221;（Oracle VM VirtualBox Extension Pack），才能让VirtualBox支持！如前所述，我觉得这一点非常让人无语。<br />
下载地址在VirtualBox官网可以找到。在我写这篇文章的时候，我下载的版本是&#160;<strong>VirtualBox 4.3.8 Oracle VM VirtualBox Extension Pack</strong>，文件名为&#160;Oracle_VM_VirtualBox_Extension_Pack-4.3.8-92456.vbox-extpack，双击它进行安装（前提是你已经安装过了VirtualBox软件，否则双击它是没用的）。<br />
双击时，会弹出类似于下面的对话框：</p>
<div style="text-align: center;">
	<img decoding="async" alt="" src="http://www.codelast.com/wp-content/uploads/ckfinder/images/virtualbox_extension_pack_install.jpg" style="width: 439px; height: 245px;" /></div>
<p>点击&#8220;安装&#8221;，毫无疑问。</p>
<p><span style="background-color:#00ff00;">『3』</span>添加用户组<br />
在Ubuntu命令行下，执行如下命令：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
sudo adduser your_user_name vboxusers
</pre>
<p>其中，your_user_name 是你用来运行VirtualBox的Linux用户名，你要根据实际情况更改。</p>
<p><span style="background-color:#00ff00;">『4』</span>重启宿主机<br />
是的，重启宿主机。貌似注销也行，但是不要去猜和尝试了，重启宿主机是一定有效的。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a>&#8230; <a href="https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%a6%82%e4%bd%95%e5%9c%a8ubuntu%e4%b8%8b%e7%9a%84virtualbox%e8%99%9a%e6%8b%9f%e6%9c%ba%ef%bc%88windows-xp%ef%bc%89%e9%87%8c%e6%8c%82%e8%bd%bd%e4%bd%bf%e7%94%a8u%e7%9b%98/" class="read-more">Read More </a></p>]]></description>
										<content:encoded><![CDATA[<p>
在Ubuntu下安装了VirtualBox之后，如果你的虚拟机安装的是Windows XP系统，那么，你会发现，当你插上U盘时，无论你怎么折腾，虚拟机（XP）里都是没有任何反应的，既不提示找到新硬件，也看不到U盘的分区。<br />
不像VMware，默认安装之后对U盘的支持很好，根本不需要用户去配置什么东西。从这一点上，我觉得VirtualBox太龌龊了，小而美归小而美，但是你不能把最常用的功能放在基础支持列表之外，还要用户去配置才能用，不是么？</p>
<p>下面就教你如何能让VirtualBox的虚拟机（XP）找到U盘并挂载上。宿主机系统是Ubuntu。实话说，网上的很多文章写得实在让人很无语，要么简略得太夸张，要么连中文都写得不通顺（负点责任行吗），我实在是看不下去了，所以在研究出来怎么做之后，我决定要把这么简单的一件事情写成教程，帮助有需要的人。<br />
<span id="more-7952"></span><br />
<span style="background-color:#00ff00;">『1』</span>关于Guest Additions<br />
VirtualBox带有一个叫Guest Additions的东西，可以在VirtualBox的菜单里为虚拟机安装上（一点击，在XP中就会弹出软件安装界面）。后面的步骤是否依赖Guest Additions，我<span style="color:#0000ff;">不确定</span>，因此，建议你安装上。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
<span style="background-color:#00ff00;">『2』</span>U盘的支持在哪里<br />
你一定想不到，默认安装的VirtualBox，竟然是没有USB设备支持功能的！你必须要去它的官网下载另一个&ldquo;扩展包&rdquo;（Oracle VM VirtualBox Extension Pack），才能让VirtualBox支持！如前所述，我觉得这一点非常让人无语。<br />
下载地址在VirtualBox官网可以找到。在我写这篇文章的时候，我下载的版本是&nbsp;<strong>VirtualBox 4.3.8 Oracle VM VirtualBox Extension Pack</strong>，文件名为&nbsp;Oracle_VM_VirtualBox_Extension_Pack-4.3.8-92456.vbox-extpack，双击它进行安装（前提是你已经安装过了VirtualBox软件，否则双击它是没用的）。<br />
双击时，会弹出类似于下面的对话框：</p>
<div style="text-align: center;">
	<img decoding="async" alt="" src="http://www.codelast.com/wp-content/uploads/ckfinder/images/virtualbox_extension_pack_install.jpg" style="width: 439px; height: 245px;" /></div>
<p>点击&ldquo;安装&rdquo;，毫无疑问。</p>
<p><span style="background-color:#00ff00;">『3』</span>添加用户组<br />
在Ubuntu命令行下，执行如下命令：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
sudo adduser your_user_name vboxusers
</pre>
<p>其中，your_user_name 是你用来运行VirtualBox的Linux用户名，你要根据实际情况更改。</p>
<p><span style="background-color:#00ff00;">『4』</span>重启宿主机<br />
是的，重启宿主机。貌似注销也行，但是不要去猜和尝试了，重启宿主机是一定有效的。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
<span style="background-color:#00ff00;">『5』</span>挂载U盘<br />
重启宿主机后，先插上U盘，再启动虚拟机（XP），点击此虚拟机的VirtualBox菜单：<span style="color:#0000ff;">设备</span>&rarr;<span style="color:#0000ff;">分配USB设备</span>，在列出的USB设备列表中找到你的U盘名字，点击。然后虚拟机（XP）里应该就会出现找到新硬件的提示了。<br />
如若不行，你可能需要在VirtualBox的全局设置中的&ldquo;<span style="color:#0000ff;">USB设备</span>&rdquo;设置里，将&ldquo;<span style="color:#0000ff;">启用USB2.0（EHCI）控制器</span>&rdquo;选中，再重启虚拟机试试。</p>
<p><span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;版权声明&nbsp;<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;<br />
转载需注明出处：<u><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><em><span style="color: rgb(0, 0, 255);"><strong style="font-size: 16px;"><span style="font-family: arial, helvetica, sans-serif;">codelast.com</span></strong></span></em></a></u>&nbsp;<br />
感谢关注我的微信公众号（微信扫一扫）：</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 9px; outline: 0px; padding: 0px; color: rgb(77, 77, 77);">
	<img decoding="async" alt="wechat qrcode of codelast" src="https://www.codelast.com/codelast_wechat_qr_code.jpg" style="width: 200px; height: 200px;" /></p>

			<!--[syntaxhighlighter]-->
			<!--代码高亮，请勿编辑-->
			<script type="text/javascript" src="https://www.codelast.com/wp-content/plugins/ck-and-syntaxhighlighter/syntaxhighlighter/scripts/shCore.js"></script><script type="text/javascript" src="https://www.codelast.com/wp-content/plugins/ck-and-syntaxhighlighter/syntaxhighlighter/scripts/shBrushShell.js"></script>

			<link type="text/css" rel="stylesheet" href="https://www.codelast.com/wp-content/plugins/ck-and-syntaxhighlighter/syntaxhighlighter/styles/shCoreCk.css" />
			<link type="text/css" rel="stylesheet" href="https://www.codelast.com/wp-content/plugins/ck-and-syntaxhighlighter/syntaxhighlighter/styles/shThemeCk.css" />
			<script type="text/javascript">
			SyntaxHighlighter.defaults['class-name']	= '';
			SyntaxHighlighter.defaults['smart-tabs']	= true;
			SyntaxHighlighter.defaults['tab-size']		= 2;
			SyntaxHighlighter.defaults['gutter']		= true;
			SyntaxHighlighter.defaults['quick-code']	= true;
			SyntaxHighlighter.defaults['collapse'] 		= false;
			SyntaxHighlighter.defaults['auto-links']	= true;
			SyntaxHighlighter.defaults['toolbar']		= true;
			SyntaxHighlighter.all();
			</script>
			<!--[/syntaxhighlighter]-->]]></content:encoded>
					
					<wfw:commentRss>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e5%a6%82%e4%bd%95%e5%9c%a8ubuntu%e4%b8%8b%e7%9a%84virtualbox%e8%99%9a%e6%8b%9f%e6%9c%ba%ef%bc%88windows-xp%ef%bc%89%e9%87%8c%e6%8c%82%e8%bd%bd%e4%bd%bf%e7%94%a8u%e7%9b%98/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
