Jump to content

Convert from Seabios to OVMF


alturismo

Recommended Posts

hi, just wanted to ask if thats possible, switched from Intel GPU to Nvidia and have some issues now, and as my my other VM running the nvidia was OVMF i guess it could help ...

 

i think i saw a guide howto do that, but cant find it anymore ...

 

may someone has a tip ?

 

its my main VM and setting all new up would be a pain ... should be last solution if possible ;)

Link to comment

ok, figured a solution for me, just in case someone else needs an tip

 

1st, make a backup of your vdisk file ... just in case ;)

 

in windows 10 (1703+) there a new tool added, mbr2gpt

 

so, i used powershell in admin mode

 

mbr2gpt /validate /allowFullOS  <-- if ok then

mbr2gpt /convert /disk:0 /allowFullOS

 

now your win10 VM disk is prepared for EFI boot,.shut the VM down.

 

create a new win10 VM with your same settings (exept use OVMF instead seabios), pointing to your existing and edited vdisk1.img (or whatever name it has).

 

That was it ... enjoy ;)

 

when all is good your can remove your backup from your vdisk ..

Link to comment
  • 1 month later...
On 12/18/2017 at 11:32 AM, alturismo said:

mbr2gpt /validate /allowFullOS  <-- if ok then

Hi alturismo, I'd like to do the same thing... however I got these results:

mbr2gpt : The term 'mbr2gpt' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ mbr2gpt /validate /allowFullOS
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (mbr2gpt:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Any thoughts much appreciated.

Link to comment
6 hours ago, Joseph said:

Any thoughts much appreciated.

Nevermind... updating to 1709 :P

 

UPDATE:

The VM Updated, but now it won't boot. QEMU shows the UEFI shell and then exits to a Shell> prompt. Unless there's a simple fix, I'm thinking its just going to be easier to reinstall Win10 from scratch with the OVMF settings in the VM config.

Link to comment
  • 9 months later...
On 12/18/2017 at 11:32 AM, alturismo said:

ok, figured a solution for me, just in case someone else needs an tip

 

1st, make a backup of your vdisk file ... just in case ;)

 

in windows 10 (1703+) there a new tool added, mbr2gpt

 

so, i used powershell in admin mode

 

mbr2gpt /validate /allowFullOS  <-- if ok then 

mbr2gpt /convert /disk:0 /allowFullOS 

 

now your win10 VM disk is prepared for EFI boot,.shut the VM down.

 

create a new win10 VM with your same settings (exept use OVMF instead seabios), pointing to your existing and edited vdisk1.img (or whatever name it has).

 

That was it ... enjoy ;)

 

when all is good your can remove your backup from your vdisk ..

You are the man!  It still works perfectly!!

Link to comment
  • 1 month later...
On 12/18/2017 at 12:32 PM, alturismo said:

ok, figured a solution for me, just in case someone else needs an tip

 

1st, make a backup of your vdisk file ... just in case ;)

 

in windows 10 (1703+) there a new tool added, mbr2gpt

 

so, i used powershell in admin mode

 

mbr2gpt /validate /allowFullOS  <-- if ok then

mbr2gpt /convert /disk:0 /allowFullOS

 

now your win10 VM disk is prepared for EFI boot,.shut the VM down.

 

create a new win10 VM with your same settings (exept use OVMF instead seabios), pointing to your existing and edited vdisk1.img (or whatever name it has).

 

That was it ... enjoy ;)

 

when all is good your can remove your backup from your vdisk ..

Thanks for this information. Helped out a lot.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...