LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Creating a Windows VM from a PartImage snapshot? (https://www.linuxquestions.org/questions/linux-software-2/creating-a-windows-vm-from-a-partimage-snapshot-665528/)

ntwrkguru 08-26-2008 09:46 AM

Creating a Windows VM from a PartImage snapshot?
 
Hello...I searched the boards without much success. I need to use several apps within Windows and would prefer *NOT* to have to dual-boot to accomplish this. My Windows box was birthed as a corp IT image and has been tweaked by me. I want to use Ubuntu as my primary OS and was thinking to run Windows as-needed within VMWare or VirtualBox.

So, what I am asking is, is it possible to use PartImage (or similar) to create an iso of my existing windows partition, then install Ubuntu and create a VM using the iso created by PartImage? I assume I'd have to shrink the existing Windows partition to the size of the VM I will create, but are there any other precautions? Has anyone done this successfully? If not, is there another way to accomplish this?


[EDIT] As a follow-up possibility. Is it perhaps possible to install a dual-boot setup, and create a VM that uses the logical Windows partition?

TIA...

mostlyharmless 08-26-2008 10:43 AM

(1)It is possible to "convert" a physical machine to a VM; VMware has a tool to do that automatically. It creates a VM image using the physical machine as a template. You'll probably run into MS licensing problems with that though, for XP and higher. You can probably also use Partimage to create an image and mount it; not sure how as I've just used the automatic tool in the past. I'm not currently doing that anymore.

(2) You can also configure VMware to boot the logical partition directly and not have two versions. You have to make a separate "hardware profile" in Windows to avoid problems if you do dual boot, and you'll have only to run the dreaded Microsoft authentication one more time after you've added the new "virtual hardware" (graphics drivers etc.) You lose some of the advantages of the VM this way though, you can't just make a copy, use it to install software, have it trashed by a virus, erase it and load a fresh copy. It's also a bit dicey, so make sure you have a backup and it's a bit slower than dual booting. You might have some problems with hardware compatibility with some external devices, as they'll have to be supported by the underlying Linux.

Unfortunately, for XP and higher, for the best hardware support, and for speed and security, dual booting is probably superior.

ntwrkguru 08-26-2008 11:20 AM

That's kinda what I was afraid of. Thanks for the response though!


All times are GMT -5. The time now is 04:20 AM.