72
Can a Linux installation be run as a VM in Windows?
(lemmy.dbzer0.com)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
It's literally been built into windows since Windows 10, natively.
Can you access another partition on the drive and boot it? I'm sure it's possible somehow. The VM part isn't really the problem here.
You might be misunderstanding what I want to do. I want to boot my existing Mint partition as a VM under Windows, not make a new VM with its own drive.
From what I can tell, it might be possible if the distro is on its own drive with its own boot partition, but my Mint installation is on a partition on the same drive as Windows, and they share the same boot partition.
Didn't misunderstand at all, you just used different wording.
You want to utilize an existing partition on the drive, as a VM image and boot it while you're in Windows.
The answer is yes, you can. Again, the VM part isn't the problem here. Virtualbox can do it, but they require some major workarounds in order to do.
https://www.neowin.net/forum/topic/784138-howto-boot-existing-ubuntu-partition-using-virtualbox-inside-windows/
This is just one example out of many out there on Google. Understand that the commands here are NOT making a new drive image. They are making a drive image FILE that is specially formatted with the tools to point to the existing partition on the drive. VMWare can do this, QEMU can do this, Virtualbox can do this... you're just making a VM image, where the data points to an actual hard existing partition on the drive.
Once again -- This is NOT making a new VM with its own drive, even though the command looks similar. I'm sure HyperV can do it as well, I'm simply not familiar enough with its packaging.
Apologies, yes, I did misunderstand you.
I got VMware to recognise the partition, but it couldn't boot it. Everything I found said that the distro needed to be on a separate drive with its own boot partition. I found threads saying that VirtualBox couldn't do it either, but I'd be happy to be wrong :)
I'm not at my computer now, so won't get a chance to try it for at least a few hours.
Thanks for the link and the information :)