This commit is contained in:
fofolee
2019-04-21 11:50:48 +08:00
parent 359d29ee0b
commit 38dcd51d8a
6901 changed files with 258583 additions and 2326828 deletions

View File

@@ -1,28 +1,28 @@
<h1 id="vdfuse">vdfuse</h1>
<p>VirtualBox软件挂载VDI分区文件工具</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>vdfuse命令</strong> 是VirtualBox软件挂载VDI分区文件的一个工具VirtualBox是一款能创建虚拟机的开源软件vdi是它的默认磁盘格式。</p>
<h3 id="什么是virtualbox">什么是VirtualBox</h3>
<p>VirtualBox是一款功能强大的x86虚拟机软件它不仅具有丰富的特色而且性能也很优异。更可喜的是VirtualBox于数日前走向开源成为了一个发布在GPL许可之下的自由软件。VirtualBox可以在Linux和Windows主机中运行并支持在其中安装Windows (NT 4.0、2000、XP、Server 2003、Vista)、DOS/Windows 3.x、Linux (2.4 和 2.6)、OpenBSD等系列的客户操作系统。</p>
<p><strong>在Ubuntu中安装vdfuse打开终端输入</strong></p>
<pre><code class="language-bash">sudo apt-get install virtualbox-fuse</code></pre>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">vdfuse [options] -f image-file mountpoint</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-h 帮助
-r 只读
-t 类型 (VDI, VMDK, VHD, or raw; default: auto)
-f 镜像文件
-a 允许所有用户读取
-w 允许所有用户都写
-g 前台运行
-v 输出反馈
-d debug模式</code></pre>
<p>注意:必须编辑一下<code>/etc/fuse.confand</code>,去掉 “user_allow_other” 前面的注释符号(#),否则不能正确运行。</p>
<h3 id="实例">实例</h3>
<p>使用如下如下语句挂载.vdi文件</p>
<pre><code class="language-bash">sudo vdfuse -f /path/to/file.vdi /path/to/mountpoint</code></pre>
<p><code>/path/to/mountpoint</code>应该包含如下文件EntireDisk、Partition1等如果只有一个文件你可能需要这样挂载</p>
<pre><code class="language-bash">mount /path/to/mountpoint/Partition1 /path/to/someother/mountpoint</code></pre>
<p>文件系统就挂载到<code>/path/to/someother/mountpoint</code>了。</p>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->
<h1 id="vdfuse">vdfuse</h1>
<p>VirtualBox软件挂载VDI分区文件工具</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>vdfuse命令</strong> 是VirtualBox软件挂载VDI分区文件的一个工具VirtualBox是一款能创建虚拟机的开源软件vdi是它的默认磁盘格式。</p>
<h3 id="什么是virtualbox">什么是VirtualBox</h3>
<p>VirtualBox是一款功能强大的x86虚拟机软件它不仅具有丰富的特色而且性能也很优异。更可喜的是VirtualBox于数日前走向开源成为了一个发布在GPL许可之下的自由软件。VirtualBox可以在Linux和Windows主机中运行并支持在其中安装Windows (NT 4.0、2000、XP、Server 2003、Vista)、DOS/Windows 3.x、Linux (2.4 和 2.6)、OpenBSD等系列的客户操作系统。</p>
<p><strong>在Ubuntu中安装vdfuse打开终端输入</strong></p>
<pre><code class="language-bash">sudo apt-get install virtualbox-fuse</code></pre>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">vdfuse [options] -f image-file mountpoint</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-h 帮助
-r 只读
-t 类型 (VDI, VMDK, VHD, or raw; default: auto)
-f 镜像文件
-a 允许所有用户读取
-w 允许所有用户都写
-g 前台运行
-v 输出反馈
-d debug模式</code></pre>
<p>注意:必须编辑一下<code>/etc/fuse.confand</code>,去掉 “user_allow_other” 前面的注释符号(#),否则不能正确运行。</p>
<h3 id="实例">实例</h3>
<p>使用如下如下语句挂载.vdi文件</p>
<pre><code class="language-bash">sudo vdfuse -f /path/to/file.vdi /path/to/mountpoint</code></pre>
<p><code>/path/to/mountpoint</code>应该包含如下文件EntireDisk、Partition1等如果只有一个文件你可能需要这样挂载</p>
<pre><code class="language-bash">mount /path/to/mountpoint/Partition1 /path/to/someother/mountpoint</code></pre>
<p>文件系统就挂载到<code>/path/to/someother/mountpoint</code>了。</p>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->