Virtualizing a physical computer
avion-f16 Posted messages 19182 Registration date Status Contributor Last intervention -
Hello,
I'm looking to virtualize one of my computers (running on W8.1)
The idea is that instead of booting physically on my machine, I want to start it under a virtual machine.
(Note that I'm not trying to virtualize my hard drive to access it via a VM. The goal is really to virtualize the computer)
I've made several attempts. For disk virtualization, no issues, but it's the use on a virtual machine that crashes.
I've tried with VMWare and VirtualBox, but each time I encounter the same problem, the machine cannot find a boot sequence.
I admit I'm a bit stuck on what might be wrong, but I think I'm probably not the only one who has tried to do this.
Does anyone have an idea of what I can check to achieve a result?
Thank you in advance for your responses.
1 answer
-
Hello,
Is the disk you are passing to the virtual machine the entire disk with the partition table and all its partitions?
Passing only the Windows partition will not be enough.
Keep in mind that a virtual machine operates like a real machine, and you want to move your Windows 8.1 from one machine to another. Of course, the new machine needs to receive the entire disk.
In the case of a virtual machine, it will therefore be a complete disk image, or a "pass-through" to the disk if it is connected to the host.
-
-
-
Here is for disk2vhd
So the machine is in UEFI
If I enable the EFI option in VM, I get this result
Hello,
GRUB? So you have a dual boot with Windows 8.1?
Since the actual machine is UEFI, you need to include the EFI partition in the virtual disk and the virtual machine must also be UEFI.
It seems that disk2vhd does not display this partition in the list and you first need to assign it a letter for it to appear.
I don't know how disk2vhd works regarding the creation of the partition table in the virtual disk, but the GPT partition table also needs to be copied with the same UUIDs.
Are you not selecting C:? Is Windows installed on E:?
To be virtualized, a virtual disk must be copied in its entirety, from the first sector to the last used one, without even trying to read the partition table or select partitions. On Linux, this can be done with the "dd" tool.
No, no dual boot, I don't know where this grub comes from.
Yes, indeed, one of the partitions is missing in disk2vhd.
I tested another method, which is a disk backup with clonezilla and then restoring it on the disk of a VM.
But I have the same problem...
It is the Windows disk that is selected, I took the screenshot on another config (Boot USB but the result is the same)
-