Monthly Archives: January 2010

Mounting a VHD in Linux

The vdfuse instructions have been updated, please view the more up to date instructions for vdfuse here: Mount a VHD or VDI in Linux with vdfuse.

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:

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.

Deepest Sender

Typing this from Deepest Sender (while listening to a remixes of Septette for the Dead Princess)  It’s kinda nice and exactly what I was looking for – An extension for Firefox that allows you to post directly to your blog. (Of course you need XML RPC turned on to do so.)  I note that it can’t upload or resize photos for you, but that would kinda be feature bloat anyway, wouldn’t it? Ack, it seems to lack the ability to easily make headings and such as well, but you can add them with raw HTML in the source editting tab though.

For a quick one-off post like this, it seems as though it might be a useful tool to have at your disposal.

What’s better yet is that it allows you to save your post so you can come back to it later.  (Might want to make sure you give it an XML file extension and don’t accidentally load the Kanji Dictionary XML file either.  It really doesn’t like that.  Oops.)

Looking for more Firefox blogging extensions?  I found them at speckboy design magazine.

Installing Danbooru

I noticed a couple of searches for ‘running danbooru’ in my search phrases for this site, so I decided to post a little bit more about that.  I assume someone searching for this was actually searching for help with installing danbooru.  Admittedly, I had some difficulty with it.  For one thing, I’d never used psql in my life. 😛

Here’s the INSTALL file that’s packaged with the source code so you know what you’re getting yourself into before you even fetch the source tree from Subversion.

Continue reading