Results 1 to 6 of 6

Thread: mount virtualbox disk image file on loopback

  1. #1
    Join Date
    Apr 2009
    Beans
    27

    mount virtualbox disk image file on loopback

    I'm trying to mount a VirtualBox disk image file on loopback so I can browse the file system, etc. from within my host OS:

    sudo mount testimage.vdi ~/.VirtualBox/HardDisks/test -t ext3 -o loop

    But when I run that it says "wrong fs type." I presume that's because the testimage.vdi file isn't ext3, though the file system inside it is...

    Am I misunderstanding this? Or do I just need to specify the right file system type, and if so, what?

    Thanks.

  2. #2
    Join Date
    Mar 2009
    Location
    Buenos Aires, AR
    Beans
    2,325
    Distro
    Ubuntu

    Re: mount virtualbox disk image file on loopback

    Its not RAW format, you have to convert it to RAW format, an you can mount and browse,
    but you have to re-convert to VBOX format to use it again,
    its not very safe for data integrity versus daily usage.

    Maybe a better option is to use Qemu+KQemu it can run on RAW format, and mount it directly,
    KVM support it too, and its a better technology, a nice GUI to KVM is Convirt 1.0

  3. #3
    Join Date
    Apr 2009
    Beans
    27

    Re: mount virtualbox disk image file on loopback

    Quote Originally Posted by juancarlospaco View Post
    Its not RAW format, you have to convert it to RAW format, an you can mount and browse,
    but you have to re-convert to VBOX format to use it again,
    its not very safe for data integrity versus daily usage.

    Maybe a better option is to use Qemu+KQemu it can run on RAW format, and mount it directly,
    KVM support it too, and its a better technology, a nice GUI to KVM is Convirt 1.0
    What about a Xen disk image?

  4. #4
    Join Date
    Mar 2009
    Location
    Buenos Aires, AR
    Beans
    2,325
    Distro
    Ubuntu

    Re: mount virtualbox disk image file on loopback

    But you already have KVM in the Kernel,
    Xen its an independent microkernel,
    it makes your actual system like a virtual machine.

  5. #5
    Join Date
    Apr 2009
    Beans
    27

    Re: mount virtualbox disk image file on loopback

    Quote Originally Posted by juancarlospaco View Post
    But you already have KVM in the Kernel,
    Xen its an independent microkernel,
    it makes your actual system like a virtual machine.
    Yes but KVM requires hardware support.

  6. #6
    Join Date
    Apr 2009
    Beans
    27

    Re: mount virtualbox disk image file on loopback

    Quote Originally Posted by anonmars View Post
    I'm trying to mount a VirtualBox disk image file on loopback so I can browse the file system, etc. from within my host OS:

    sudo mount testimage.vdi ~/.VirtualBox/HardDisks/test -t ext3 -o loop

    But when I run that it says "wrong fs type." I presume that's because the testimage.vdi file isn't ext3, though the file system inside it is...

    Am I misunderstanding this? Or do I just need to specify the right file system type, and if so, what?

    Thanks.
    A Xen image worked, I changed the type to auto.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •