Ubuntu – How to mount a vdi file in ubuntu 13.10?

vdivirtualbox

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.

Best Answer

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.

Related Question