Can I run a VM machine with pre-installed Windows 11?
Hi! I dual-boot Windows 11 and Archlinux. I've been able to successfully mount my Windows partition and access all the files, but is it possible to run a virtual machine off it? That is - use the already installed windows files as read-only to prevent me having to have a second installation of Windows. Being able to use my already existing User folder and settings would be nice, but not necessary. Thanks!
About this post
- Posted
- Archived
- Score
- 0 · 40% up
- Kind
- Text
- ID
- 175su9v
4 comments
I went down this exact rabbit hole some time ago. It is possible, but dangerous. It can corrupt your install of windows iirc
If you find anything further about it, let me know
If it's windows pro, use the sandbox feature. It won't last a reboot but you will have a clean copy every time you close it.
from your confused message , I got impression that you want to lift your current OS installation and use it as virtual hard drive for a vm so that you can use it in Linux using virtual box/VMware/Qemu. If that's the case, use phy2vmdk, then use that vmdk as drive in virtualization software of your choice . Google Or as a last resort dm .
Yes, it can run with virtualbox VM use KMS to an Win11 .iso files, Win11 iso with Virtualbox
So you want one install of Windows that you can either boot into instead of Linux (i.e. dual-boot from Grub or whatever) OR spin up as a VM from inside linux.
You can make a "raw vmdk" file that points at a hard disk partition. You can definitely do this (or at least you used to be able to do it - I did it with Windows 7 but have since ditched Windows completely).
I used VirtualBox when I did it, but I would expect you can do it with KVM as well.
You may need to extract the license from the BIOS and make a file that you pass to the hypervisor. Search "Windows license MSDM extract" with your favorite search engine.