|16 Aug 2011||#1|
| || |
Virtualize Windows 7 on flash drive...
Since last night, I've been trying to get Windows 7 virtualized onto a 16 gig USB flash drive. I tried to use the portable Virtualbox but after I finish the wizard, it gives an error saying failure to create new session.
I installed an Xp VM and thinapped Vmware Workstation 7 and made a VM onto the hard drive and copied it over to the flash drive. I went to a different machine and tried launching VMware, it says a service was unable to start.
Crap, am I doing something wrong here or what can I do to fix it?
Thanks in advance!
|My System Specs|
|21 Aug 2011||#2|
| || |
This works a treat
1) download the live distro of your choice --the ISO to a USB stick - I use SUSE 11.4
2) download vmware player for linux / vmware server (both free) / vmware workstation (commercial) or Virtual box for linux (free)
3) create the linux bootable system on your USB as per (in my case for SUSE) but other Linux distros should be the same - I'm using the KDE version of SUSE - (Windows like) --you could use GNOME or any other distro.
software.opensuse.org: Download openSUSE 11.4
To create the live USB http://en.opensuse.org/SDB:Live_USB_stick
4) Boot your linux system from the USB stick
5) install your vmware / virtual box vm software package
6) install your guest OS in a data area on the USB stick
7) power on your guest OS - Voila easily done - you've now got a nice portable Windows VM running from a Bootable USB
Windows itself isn't bootable from a USB although you could fiddle around with a sort of WINPE type installation if you want to have a Windows HOST type system.
It's MUCH EASIER to use a linux system as the HOST on a USB --these all boot with no prob from a USB stick and if you use something like the live CD I've suggested when it starts the menu is so similar to Windows you won't get lost. All you need to do is install the vmware or vbox package and your guest Windows Virtual Machine.
Tip: as the Windows VM is identical whether its run on Linux or Windows you could create your VM on Windows if you think its easier - simply then "clone" the vm to the usb stick -- note you'll need to write to the linux file system from winbdows but there are loads of programs that can do that.
You'll probably have fun doing it too -- start with an XP VM as its much smaller and easier to test.
While the suggestion here is different to using Portable VBOX I think it's far more robust, works 100% and isn't much harder to implement. This way also its easier to add more VM's as and when you need them whether Windows or Linux type VM's.
For the windows vm to access files on the main computer - ensure the windows directories are mounted when the Linux system is booted from the usb.
You can then either use SAMBA or simple normal "Mount Network drive" from either the main computer or the virtual Windows machine to access "Shares". Enable NAT networking in the vm of course.
You'll now have READ / WRITE access to all the drives on your main computer too from the VM.
|My System Specs|
|Similar help and support threads for2: Virtualize Windows 7 on flash drive...|
|Installing Windows 7 on a USB Flash Drive||General Discussion|
|How to virtualize W2K8 Server on a Win7 Pro 64-bit machine?||Virtualization|
|Making an usb flash drive appear as a fixed drive in windows 7||Hardware & Devices|
|Flash Drive not recognized under Windows 7||Drivers|
|Windows 7 on a Flash Drive||Installation & Setup|
|Flash Drive USB Windows 7||Installation & Setup|
|What CDs do I need to virtualize xp?||Virtualization|