While dualbooting Fedora and Windows. How to boot the windows partition from cockpit-machines? #1828
Replies: 1 comment 3 replies
-
I'm not sure exactly what you're trying to do. I guess you have Windows on the disk and want to run it in a VM on Fedora within Cockpit-Machines? And I'm guessing once you have it working, you'd start the VM and use an RDP client, I guess to run Windows applications? (Especially since almost all games run on Linux these days thanks to Wine+Proton, and most types of apps are available in one form or another, so I'm assuming you're trying to access a specific application from Windows on Linux in a VM.) I don't really have experience with this kind of task, but I'd suggest checking to see if your VM is set up for EFI or legacy BIOS. You probably have Windows installed using EFI (this is a very reasonable expectation in 2024 😉) and you would definitely need to have your VM use EFI for booting as well, not in legacy BIOS mode. That'd cause EFI partitions to not be seen, which lines up with what you're experiencing. In Cockpit, you can check what your VM is by visiting its details page in the "Virtual machines" page and looking at "Overview" card, on the "Hypervisor" section. It should show you whether it is BIOS or EFI. Here's an example where it's BIOS: If this is the issue you're hitting, it's rather involved to convert a machine from legacy BIOS to EFI, unfortunately. It can be done, but it's a bit convoluted and most people make a new VM with the correct settings instead. You might be able to modify a shut down VM using virt-manager, installed with There's a discussion @ https://unix.stackexchange.com/questions/612813/virt-manager-change-firmware-after-installation which might be useful. (Basically, it's probably easiest to create a new VM with UEFI instead of legacy BIOS, if that is the problem you're having.) |
Beta Was this translation helpful? Give feedback.
-
My struggle:
I have a Surface tablet (so... no "just add one drive") with the following configuration:
The windows partitions are currently unmounted.
I've added them until I got a working VM in cockpit-machines. I added supergrub2.iso for debugging purposes and chainloading.
This is my virsh output.
sudo virsh edit ps_windowstest
It does recognize supergrub2 which makes me japi japi japi, but I doesn't recognize the windows partition. I have no idea why.
Version:
cockpit-machines-319-1
cockpit-system-324.1
OS: Fedora Silverblue 40
Help please, I was trying to do this since 2022 and still have no idea what I'm doing wrong Q-Q.
Gatito blade for kitty purposes
Beta Was this translation helpful? Give feedback.
All reactions