I’ve had a dual boot machine with Windows and Fedora since 2007. While the setup has been OK, I would like to run my Windows install as a VM from Fedora. Eack of Windows and Fedora are physically on separate hard disks (HDDs), and GRUB lets me choose which to boot every time I power up the machine.
While I understand I could make a VM with Windows from scratch, I would like to use my Win install as it is in its HDD, as I have several apps that I use regularly, as well as files, etc. So my question is if I can somehow make VirtualBox, or some other VM app, “boot” my windows HDD in a VM in Fedora ?..
I realize this question is not quite Fedora specific – if you have any suggestions as to where else I may go ask I’d be much appreciative of the help !
Hello @njaimo ,
You could image the Windows HDD with the Gnome Disks application and use that image as the VM image. I would suggest to shrink the Windows partition as much as possible in Windows beforehand.
Thank you Jakfrost; that sounds like a good possibility.
This raises the question of additional storage for that VM – could I say to the hypervisor to allocate storage for that VM in its own HDD ? (I have Win installed in its separate HDD) …or would additional storage have to come out of my Fedora install storage space (HDDs) ?
It is possible to select a storage location other than default. However, it seems it cannot be ntfs as seen by another user recently so you would need to create a partition of adequate size and format it as a linux supported file system before you created the VM virtual disk there.
Well, I find if I want to run VM’s of Windows on my system successfully, as in works ootb, I need to install the virtualization group of tools Fedora Linux has, including virt-manager. Gnome boxes is for appliance vm’s, while virt-manager is more configurable.
FWIW, I use various different software and versions of windows through the normal function as my role in my day job. I cannot possibly have a single system setup to cover all of the (often old) technologies my customers are running. VM’s are the only way for me to accomplish this. I use these VM’s on my Fedora Linux system on my test bench to do offsite testing and development. It isn’t too complex and I didn’t have to make another partition just image the disks.
While it is not such a big deal for me to have dual booting, I figured it would be “neat” if I could just run my Windows installation from within Fedora. It seems that getting that to work adequately will be more work that just having the dual-boot, so for now I think I will stay as is. I am nowhere near an expert Linux user, so learning a little more as I go. Thanks again for your comments and suggestions !!