Virtualize Windows 7 on flash drive...

Coke Robot

New member
Power User
VIP
Local time
9:33 AM
Messages
402
Greetings all!

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. :huh:

Crap, am I doing something wrong here or what can I do to fix it?

Thanks in advance! :cool:
 

My Computer

Computer Manufacturer/Model Number
ASUS
OS
Windows 7 Ultimate x64
CPU
AMD Athlon 240 II @ 2.8-4.004 ghz
Motherboard
M4A78LT-M LE
Memory
SuperTalent 4gb DDR3
Graphics Card(s)
ATI Radeon 3000HD
Screen Resolution
1440*900
Case
Re-modded Dell Dimension 4550
Cooling
Vantec 92mm Tornado x2
Other Info
It looks pretty.
Hi there
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.

(download here)

software.opensuse.org: Download openSUSE 11.4

(instructions here)

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.

Cheers
jimbo
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
Back
Top