this post was submitted on 20 Aug 2024
71 points (94.9% liked)
Linux
48287 readers
632 users here now
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.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hyper-V will work with physical disk, but be warned - the wizard you run through when making a VM will make it look like you give the VM a VHD file for storage or nothing. Just attach no storage to the VM initially, then go into the VM settings after the wizard is complete to attach something besides a VHD.
Can't entirely remember if it handles partitions but I know it can boot particular disks and if the setting exists, that's where it would be
This is what I'm trying at the moment. I found this question on Super User that suggests it can be done, but like you say, the wizard makes it look like you have to use a file first.
https://superuser.com/questions/1309308/boot-physically-installed-linux-in-vmware-workstation-on-windows-10
This is one area where Win11 (and maybe an updated win10?) might have a leg up: my hyper V has the option of adding a disk later in the wizard, which allows me to go into IDE controller 0 and mount a physical disk in the new vm's settings:
I might have hit my limit :(
VMware is letting me do something similar, and I've attached the Mint partition, but because the boot partition is separate and in use, it's not letting me go any further. There's probably a way around it, but it's beyond what I know how to do, and I don't want to risk breaking my Mint installation.
I'm not sure. I never ran into an issue with the boot partition last time I did this, but that was vmware fusion on a macos host in like... 2015 so. So while I would probably just yolo it and unmount the boot partition (or maybe try to migrate/reinstall to another drive so it can have its own boot partition?), you might be better off trying something else.
Either that or try another hypervisor
To be honest, I've given up. I was hoping that it would be something to make my life easier for a short while, but the amount of work to get it running is going to be more than just dual booting and swapping OSes for a while.
It's a shame, as it could be an interesting project, but it's quite a niche need going by some of the replies here, and isn't worth the effort.
Honestly, this is the point where I'd just make a new VM and manually migrate what I need to