Quote: Originally Posted by philip95
i want to program to run USB as well as VM
You've a few of options here
1) if you can get access to a Windows 8 Enterprise disk you can install "Windows to Go" on a USB (or better a small external usb HDD). This is a PORTABLE FULL RUNNING Windows system which will BOOT and RUN even if the HDD on the actual computer is not bootable. You can also install Windows applications like Office (and VMware) etc. If you try this solution you should really use a USB3 device but USB2 is fine for running the windows OS. Running a VM from this external USB is OK but on a USB2 rather than a USB3 device might not give you a very fast response.
Running the windows system though is fine.
(You can test this out for a while even if you don't have Windows 8 Enterprise as you can download FREE from the Ms site a 90 day evaluation copy - so you can play around with this type of solution).
A USB3 device will even run a VM from this Windows system perfectly reasonably.
While this is Windows 8 it does have the advantage of doing all the hard work for you and the Windows to Go system takes care of different hardware so you can use this system anywhere.
2) Install GRUB (A Linux boot loader) on to your USB device. Then set up GRUB to boot a Windows Virtual Hard Disk containing the OS you want to run. You could have several Windows versions here on an external USB and boot which ever one you want. There's plenty of tutorials on the site about creating Windows VHD's. Note I'm NOT talking here about creating Virtual Machines.
3) If you don't mind booting the machine first then you can get the bootloader to mount and then re-boot from a VHD. Myself I'd go for options 1) or 2).