Random Renegade Bits
Whatever comes to mind
Browse: Home / 2010 / January / 17 / Mounting a VHD in Linux
  • Old Projects and Content
    • Old Wallpapers
  • Wallerizer – Wallpaper Sizer
  • Zombinanza!

Mounting a VHD in Linux

By epb on January 17, 2010

Let’s say you have a VHD file you’d like to access while in Linux without attaching it to a Virtual Machine.  There are many reasons you might like to do this, but it’s not immediately obvious how to do so with Linux.

There are two ways I know of:

You can use vmware-mount provided by VMWare Server.  I don’t actually like this method because VMWare Server is huge and I don’t use VMWare.  However, if you do, take a gander at this: http://www.vmware.com/support/reference/linux/loopback_linux.html

The method I ultimately went with was vdfuse since I use VirtualBox.  It allows you to mount any disk image supported by VirtualBox.  Basically, if you follow the instructions at that the vdfuse forum link I just provided, you can mount the VHD to a mount point in your filesystem.  Now, this alone doesn’t yet give you access to your files yet.  It provides the partitions as standard files (and a file for the entire disk as well).  The partitions are named Partition1, Partition2, etc.  You can then mount the partition you want as a loopback device.

Related posts:

  1. Installing Danbooru I noticed a couple of searches for 'running danbooru' in...
  2. Related posts brought to you by WordPress MU Related Posts Plugin.

Posted in linux | Tagged fuse, linux, mounting, vhd

« Previous Next »

Search

Archives

  • February 2013
  • December 2012
  • September 2012
  • June 2012
  • February 2012
  • January 2012
  • October 2011
  • April 2011
  • February 2011
  • November 2010
  • October 2010
  • September 2010
  • July 2010
  • June 2010
  • May 2010
  • March 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • February 2009
  • September 2008
  • August 2008
  • December 2007
  • August 2007

Tags

actionscript android charity CherryPad cloud code computer problems danbooru encryption flash fuse game gd hard drive hopefully_that_made_sense ImageMagick image manipulation images Internet linux marisa metadata mounting mp3 music outside_tutorials perl php pipes problem python rambling rss screenshots search slightly random solved storage svg tablets touhou ubuntu utility vhd web

About

A random blog where I write about my programming projects, Linux, the occasional video game and anything else that comes to mind.

Copyright © 2013 Random Renegade Bits.

Powered by WordPress and Hybrid.