Is it possible to convert a BIOS to UEFI and introduce vTPM into an existing VM?
-
I'm pretty sure the answer is no, and that the VM needs to start new with UEFI and with vTPM, but just looking for confirmation.
TIA.
-
@DustinB The answer is yes, you can, I have.
I have changed modern Linux form BIOS to boot as UEFI. All I had to do was change to GPT, add a ESP/EFI boot partition, change the OS partition mounting, and install the needed EFI boot files. Also update the OS to know it's now a EFI boot setup so the OS updates boot files correctly (a GRUB package change). Then I can set the VM to be UEFI boot... It was not an automated process and I did it as an off-line procedure (not booting the OS I was changing).
UEFI VMs boot quicker than BIOS VMs.
I have not converted windows as I normally started newer versions as UEFI and older version work better with BIOS.
-
@Andrew To me the summary answer is no, ha. The content of this system is nothing super important. So replacing it new would be the quicker approach.
-
@Andrew said in Is it possible to convert a BIOS to UEFI and introduce vTPM into an existing VM?:
I have not converted windows as I normally started newer versions as UEFI and older version work better with BIOS
For peeps that stumble on this post looking for answers, the answer is yes you can for Windows.
You can use the built in Windows mbr2gpt program to do so. However, things to consider before attempting are?
-
You can only have 3 partitions on the C driver. This is due to MBR only supporting 4.
the 4th partition will be used during conversion -
it also has to shrink some space from the end of the drive
-
You might have to move the recovery partition if it is at the end of the disk
Basic steps are, to first run the command below. This will tell you if conversion should works
mbr2gpt /validate /allowfullos
Then the following to start the conversion
mbr2gpt /convert /allowfullos
Hope it helps someone
-