Boot external HDD as virtual machine?

commissar_mo

Distinguished
Jan 23, 2011
96
0
18,630
I have a HDD that has Windows 7 installed on it. I want to connect this drive to another machine, and boot it as a virtual machine. (i.e. boot the OS on the drive in another OS on machine #2).

Is this possible?
 

commissar_mo

Distinguished
Jan 23, 2011
96
0
18,630
That looks so ridiculously techie and awesome. Thanks! I didn't realize that what I wanted to do was called "migrating Windows"... so I would never have found that.

I'll report back if it works... or not.
 

commissar_mo

Distinguished
Jan 23, 2011
96
0
18,630
I see you're on Fedora - while I have your attention - it implies that Linux is hardware agnostic - does that mean if I installed Linux on an HDD, I could just live boot it from disk on any machine I plugged it into?

Certainly it seems to imply in my current case... (if it was Linux) I would be able to boot the OS right from the HDD as a virtual machine?

If so... additional points to Linux...
 

amdfangirl

Expert
Ambassador
No, Linux simply doesn't die when you move the HD from say my computer to your computer. Assuming I didn't radically change the kernel, it would work fine. If I did that with a Windows HD, it would BSOD. If I moved it to another x120e, it'd be fine. It's a driver thing.

I'm a total Linux noob so you aren't allowed to ask me any more Linux questions, just Windows and VM questions. If you post in the Linux section you can get a non-noob response.
 
VirtualBox can use physical drives and partitions. Have a read of section 9.7.1 of the help file (9.7.1. Using a raw host hard disk from a guest).

Disclaimer: I have not tried this with a physical hard disk, but have used iSCSI disks with VirtualBox. As always when accessing a physical disk, be careful - and back up any irreplaceable data.

Edit BTW, should the OP need VMWare (and the only use that I have for it is to run a Hackintosh), the free player has all the functionality that he/she would require.