Discuss: Mount any VBox-compatible disk image on the host
-
- Posts: 7
- Joined: 7. Oct 2009, 10:35
- Primary OS: Debian Lenny
- VBox Version: PUEL
- Guest OSses: WindowsXP
Re: Discuss: Mount any VBox-compatible disk image on the host
Hello,
your tool is very interesting and useful - thanks a lot!
My Question:
Has someone succesfully mounted an exported image?
To get all the data from my vm (even snapshots), i exported it and tried to mount the resulting vmdk-file with vdfuse-v50, but i got the error:
Invalid MBR found on image with signature 0xC033
Thanks
your tool is very interesting and useful - thanks a lot!
My Question:
Has someone succesfully mounted an exported image?
To get all the data from my vm (even snapshots), i exported it and tried to mount the resulting vmdk-file with vdfuse-v50, but i got the error:
Invalid MBR found on image with signature 0xC033
Thanks
Re: Discuss: Mount any VBox-compatible disk image on the host
vdfuse version 60 is released! Quite a few bugs in the original release are fixed.
Re: Discuss: Mount any VBox-compatible disk image on the host
Unfortunately, I don't think vdfuse can deal with snapshots. This may be added in a future release, but I can't be certain. Any help or details are appreicated!vbmiker wrote:Hello,
your tool is very interesting and useful - thanks a lot!
My Question:
Has someone succesfully mounted an exported image?
To get all the data from my vm (even snapshots), i exported it and tried to mount the resulting vmdk-file with vdfuse-v50, but i got the error:
Invalid MBR found on image with signature 0xC033
Thanks
-
- Posts: 4
- Joined: 2. Oct 2009, 23:23
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: Linux, Windows
Re: Discuss: Mount any VBox-compatible disk image on the host
well, if you do not have virtualbox-ose, the script says INSTALL_DIR is required. this should be extended to read as "Do you have virtualbox-ose installed? if yes, set INSTALL_DIR" or sometnig like that. Also, there are points in the compile script where clearly error is encountered, however the install script doesn't get terminated.
-
- Posts: 7
- Joined: 7. Oct 2009, 10:35
- Primary OS: Debian Lenny
- VBox Version: PUEL
- Guest OSses: WindowsXP
Re: Discuss: Mount any VBox-compatible disk image on the host
I don't think, that the snapshots cause the problem. After the export of the vm the disk with all snapshots are merged into one vmdk-file. Maybe the compression of this file is the trouble. I managed it by converting the vmdk withUnfortunately, I don't think vdfuse can deal with snapshots. This may be added in a future release, but I can't be certain. Any help or details are appreicated!
Code: Select all
VBoxManage clonehd <exported vmdk-file> <outputfile> --format VDI
But this solution is very time-consuming...
Re: Discuss: Mount any VBox-compatible disk image on the host
vdfuse uses the disk library from virtualbox, and I guess it will work at some later point after upgrading virtualbox when the bug is fixed.vbmiker wrote:Code: Select all
VBoxManage clonehd <exported vmdk-file> <outputfile> --format VDI
-
- Posts: 26
- Joined: 11. Oct 2009, 02:09
- Primary OS: Linux other
- VBox Version: PUEL
- Guest OSses: winXP
Re: Discuss: Mount any VBox-compatible disk image on the host
Thank you very much h20 !!! It works greatly
My system:
Archlinux host with latest updates as per today
A couple of .vdi files mounted in /tmp/vdmnt1(and 2) and linked the Partition1 (the only one inside) on another directory by loop device
I'd suggest if the partitions would be seen as blocks by the kernel (if possible), like when we plug a pendrive on USB port
F
My system:
Archlinux host with latest updates as per today
A couple of .vdi files mounted in /tmp/vdmnt1(and 2) and linked the Partition1 (the only one inside) on another directory by loop device
I'd suggest if the partitions would be seen as blocks by the kernel (if possible), like when we plug a pendrive on USB port
F
Re: Discuss: Mount any VBox-compatible disk image on the host
That would be great, but unfortunately, fuse has no control over block devices since it operates under the filesystem (vfs) layer that fuse operates on.VbRider wrote: I'd suggest if the partitions would be seen as blocks by the kernel (if possible), like when we plug a pendrive on USB port
-
- Posts: 2
- Joined: 6. Jan 2010, 16:40
- Primary OS: Fedora other
- VBox Version: OSE Fedora
- Guest OSses: Windows XP, Linux
Re: Discuss: Mount any VBox-compatible disk image on the host
Hello,
Today I build and installed vdfuse. No problems here. Mounting a FAT32 VDI disk also not a problem. However when I start copying files from either the host or the guest to this disk, changes are not reflected on both systems. To be honest, I am completely new to fuse and do not know what to expect.
System configuration:
host: Linux Fedora 11, Virtualbox 3.0.10
guest: Windows XP Professional, SP2
I have 2 questions:
- Should it essentially be possible to have read and write access to a FAT32 VDI disk from both the guest and the host?
- If so, does anybody have a hint on what I could do to check where things go wrong in my setup?
Mount information:
gvfs-fuse-daemon on /home/nawijn/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=nawijn)
/virt/Storage/fat32-storage-1.vdi on /mnt/vdi/pluto-storage-1 type fuse.vdfuse (rw,nosuid,nodev,allow_other)
/dev/loop0 on /mnt/pluto type vfat (rw)
Thanks and kind regards,
Marco
Today I build and installed vdfuse. No problems here. Mounting a FAT32 VDI disk also not a problem. However when I start copying files from either the host or the guest to this disk, changes are not reflected on both systems. To be honest, I am completely new to fuse and do not know what to expect.
System configuration:
host: Linux Fedora 11, Virtualbox 3.0.10
guest: Windows XP Professional, SP2
I have 2 questions:
- Should it essentially be possible to have read and write access to a FAT32 VDI disk from both the guest and the host?
- If so, does anybody have a hint on what I could do to check where things go wrong in my setup?
Mount information:
gvfs-fuse-daemon on /home/nawijn/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=nawijn)
/virt/Storage/fat32-storage-1.vdi on /mnt/vdi/pluto-storage-1 type fuse.vdfuse (rw,nosuid,nodev,allow_other)
/dev/loop0 on /mnt/pluto type vfat (rw)
Thanks and kind regards,
Marco
-
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Re: Discuss: Mount any VBox-compatible disk image on the host
@nawijn, reading your post it seems to me that you are attempting to use a VDI mounted this way for concurrent access by both the VM and the Host. This will not work. If you want file sharing between the host and guest then you must use a network based fileshare such as NTFS shares, samba, SFTP, ...
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
-
- Posts: 2
- Joined: 6. Jan 2010, 16:40
- Primary OS: Fedora other
- VBox Version: OSE Fedora
- Guest OSses: Windows XP, Linux
Re: Discuss: Mount any VBox-compatible disk image on the host
Thank you for the reply. I already expected that it would not work like this.
Kind regards,
Marco
Kind regards,
Marco
Re: Discuss: Mount any VBox-compatible disk image on the host
Would it be possible to put the vdfuse code somewhere on a shared hosting platform? Something like gitorious or github would already suffice.
I would like to provide a way for Slackware users to install this tool, but that unfortunately requires a direct download location. The forum link works, but wget doesn't support the content-disposition header, which leaves it as "file.php?something" on disk.
I would like to provide a way for Slackware users to install this tool, but that unfortunately requires a direct download location. The forum link works, but wget doesn't support the content-disposition header, which leaves it as "file.php?something" on disk.
-
- Posts: 3
- Joined: 23. Jun 2009, 12:14
- Primary OS: Fedora other
- VBox Version: OSE Fedora
- Guest OSses: Linuxes, Win
Re: Discuss: Mount any VBox-compatible disk image on the host
Sorry for the offtop, but wget support it with --content-disposition option.
Re: Discuss: Mount any VBox-compatible disk image on the host
well, yes and no. I tried that before posting my request here and it does not work for me. I still get a random file name.
-
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Re: Discuss: Mount any VBox-compatible disk image on the host
Sorry but its on the forum using standard phpBB attachment functionality. It on a FLOSS licence so why not just copy it onto a slackware repository yourself.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.