4

I have created a virtual USB removable disk using imdisk http://www.ltr-data.se/opencode.html/ using commands http://diddy.boot-land.net/firadisk/files/imdisk.htm (eg. imdisk -a -s 2104515b -m R: -f C:\my_disk.ima -p "/FS:NTFS /C /Y" to create my_disk.ima and format it as compressed ntfs drive then mount to r:)

but How I can mount it to Virtual Box, it does not appear inside add USB Filter

2
  • You should only reference the links, but post the details of what you did, in case the links go down. If you explain what commands you used, it may help users determine a solution. – Raystafarian Jul 29 '13 at 10:51
  • Idea was to make a local folder inside a windows drive act like a Virtual USB drive, so I used imdisk to create virtual USB drive from a local folder. To the windows it appears to be a virtual USB drive. It should appear as a USB drive to the virtual box as well, when I go to Virtual Box->Settings->USB->the virtual USB drive should appear as an option in drop down menu and I should be able to add it, but it does not appear there in the drop down menu, so what I am trying to figure out is how to make it appear as a USB drive to the Virtual Box. – Nanobrains Apr 24 '14 at 4:15
1

I know this was asked almost forever ago, but it has a lot of views so maybe my answer will help someone. I am looking into this at the moment and I don't think that the imdisk solution will work because imdisk is the software used to mount the drive. VirtualBox doesn't have any knowledge of how to handle an 'ima' file.

If you try mounting a real USB drive, you can see that the USB drive is unmounted from the Windows Explorer shell and then the USB device is assigned to the virtual machine. In Virtualization terms, this is called 'passthrough'. The reason why this works is you are giving the guest direct access (for the most part) to the hardware and the guest OS knows how to use it.

The best that you could do in this case is probably set up a virtualbox shared folder in the mounted 'ima' container. In this case, you could use it for storage, but you wouldn't be able to set it up as a bootable device for your guest.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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