Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 01-27-2013, 06:14 AM   #1
LQ Newbie
Registered: Jan 2013
Distribution: Debian GNU/Linux wheezy/sid
Posts: 2

Rep: Reputation: 0
Question Mounting a VirtualBox drive image (vdi) without specifying a loop device


I'm running VirtualBox on Debian. I use vdfuse to mount my VDI files, running the following commands (showing the sequence for mounting a Windows Server 2008 guest image):

sudo vdfuse -w -g -f <my_image> /mnt/virtualbox/vdfuse

sudo mount -o uid=frikdt,gid=frikdt /mnt/virtualbox/vdfuse/Partition1 /mnt/virtualbox/vdi

I've been using these for a long time now without any problems. However, every discussion/tutorial I've seen so far includes the loop option; so the second command would become:

sudo mount -o loop,uid=frikdt,gid=frikdt /mnt/virtualbox/vdfuse/Partition1 /mnt/virtualbox/vdi

The output of the mount command is the same in both cases (and does not mention any loop device):

/mnt/virtualbox/vdfuse/Partition1 on /mnt/virtualbox/vdi type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)

Is there any risk in not specifying the loop option?
Old 01-28-2013, 03:23 PM   #2
Registered: Mar 2008
Posts: 16,199

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
I think it is just an issue between a fuse filesystem and a discrete loop mount point.

Fuse has been proven to be pretty good. If you use it and are happy then don't change.

In a way they are both loops but it is how the image is added to the system is my guess.
1 members found this post helpful.
Old 02-03-2013, 11:34 AM   #3
LQ Newbie
Registered: Jan 2013
Distribution: Debian GNU/Linux wheezy/sid
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your reply, jefro.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install GRUB2 to a virtualbox vdi image kara85 Linux - Newbie 3 07-19-2012 04:17 AM
LXer: How to mount VirtualBox drive image (vdi) in Ubuntu 12.10/12.04 LXer Syndicated Linux News 0 07-13-2012 05:51 PM
VirtualBox virtual disk image backup? .vdi .sav brianpbarnes Linux - Software 3 07-17-2009 02:12 PM
Migrating a VirtualBox .vdi Image to CoLinux MetalSubstance Linux - Software 2 02-25-2008 07:03 AM
Problem mounting CD image (no loop device)... Slayer Linux - General 1 10-05-2003 09:30 AM

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration