Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to experiment with various Windows builds.

Normally, I'd put those builds on a bootable USB stick, then either deploy them on a physical or VM machine using something like Plop bootmanager.

How can I fake such a bootable USB stick so all the files from that disk are in fact on a path on the host?

share|improve this question
    
With a real stick there seems to be other workarounds than Plop: reboot.pro/8581 –  Jeroen Wiert Pluimers Nov 8 '11 at 17:06
add comment

2 Answers

up vote 2 down vote accepted

Unfortunately, I am not aware of a way to fake a USB stick in any VMware product, but, this would be a brilliant feature.

Until then, one work around would be to create a SCSI virtual hard drive somewhere and mount this to your virtual machine.

VMware Workstation also has the ability to mount Virtual Hard disks to your host machine. If you uncheck the Read Only option, this should work well.

Obviously however, it will appear to the guest machine as a physical hard drive - for most operations, it will not make a difference, but, if you are trying to test booting, it may not be a reliable alternative as it will not match the real environment you are testing for.

The best thing you can probably do is to actually plug a USB stick in to your machine and connect it to the guest virtual machine. This should allow you to test the environment in the correct way as the USB stick will show as a USB stick to the virtual machine.

share|improve this answer
    
Right now, it takes about 7 hours to copy all the files to the USB drive (even if it is a really fast one: Windows 7 PRE environments tend to have many small files which take a long time). That's why I want to emulate it :) –  Jeroen Wiert Pluimers Nov 4 '11 at 10:51
    
Sorry, I don't think I honestly understand the situation... I deploy Windows from USB drives all the time. If your USB drive is that slow, you may want to consider getting a newer one - I only have a budget/entry level one, but, it takes about 5-10 minutes to copy a Windows DVD to it, and only about 20-30 minutes to actually install Windows from it :/ –  William Hilsum Nov 4 '11 at 10:54
    
The current Windows 7 PRE image is about 10 gigabyte; even on a fast 16 Gb A-DATA USB 3 stick it takes many hours to make the copy. There's thousands of files to be copied and that makes it slow. –  Jeroen Wiert Pluimers Nov 4 '11 at 11:14
    
@JeroenPluimers - Are you actually installing Windows on to the USB stick? Not just the installer then? ... Sorry, I still don't fully understand what you are trying to do! If you want to install from a USB stick (and I thought you were attempting to copy a dvd to a USB stick), the majority of files are compressed in a WIM file - there are a total of 751 files, and it is about 3.2GBs –  William Hilsum Nov 4 '11 at 11:15
    
apart from the base install, there is about 20k files totaling to about 10 GB of additional data that can optionally be installed. That is a seriously large copy action. –  Jeroen Wiert Pluimers Nov 4 '11 at 21:23
show 2 more comments

It's problem of modern virtual machine emulators. QEmu is the one which has it. I have to use same tools for Parallels. my post is here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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