Skip to content

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!

0 points4 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 40% up
Kind
Text
ID
175su9v

Author

7
posts
1
comments
4
media
View profile

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

3 points

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 .

3 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.