Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to mount a vdi file in ubuntu 13.10. I tried to

sudo apt-get install virtualbox-fuse

but it complains about not finding the package.

Converting it to raw is not really an option for me, I don't have enough free space.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

virtualbox-fuse was deleted from apt repository. You can download it from Launchpad, and install it. Once you download it, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, navigate to where the file was downloaded, and run the command(s) below:

sudo dpkg -i <package_name>.deb

Once installed, you can mount the vdi by typing

sudo vdfuse -f /home/user/file.vdi /home/user/mountpoint

Note: virtualbox-fuse depends on virtualbox 4.1.18, and will not work with 4.2. Thanks to Marius.

share|improve this answer
1  
This is the correct answer however should be pointed out that there is no virtualbox-fuse for virtualbox 4.2. For those of you that use 4.2, you should downgrade if you wish to use this software –  marius Jul 30 '13 at 9:04
add comment

...For those of you that use 4.2, you should downgrade if you wish to use this software ...

This is not correct! The 4.1-version of "vbfuse" is compatible to the 4.x line of the official virtualbox versions.

Just download the virtualbox-fuse package, but don't install it with:

sudo apt-get install -d virtualbox-fuse

Instead, simply copy the package to a (temporary) directory, extract is and copy the "vdfuse" binary over to your system:

mkdir /tmp/vboxfuse
cd /tmp/vboxfuse
mv /var/cache/apt/archives/virtualbox-fuse*.deb .
dpkg -x virtualbox-fuse*.deb .
cp -av usr/bin/vdfuse /usr/bin/.
cd /tmp
rm -rf vboxfuse

You will need root privileges to execute some of the above commands depending on the permissions of /usr and /var in your system.

This way you don't have to uninstall your virtualbox-4.x. Tested under Ubuntu 12.04, but also should work on other versions.

See: https://wiki.blue-it.org/VirtualBox#Mount_a_vmdk_file_in_linux

share|improve this answer
    
This doesn't work with .vdi files. –  Ken Sharp Feb 4 at 22:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.