Convert from Seabios to OVMF


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 ..

  • Like 2
  • Thanks 1
  • Upvote 2
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.

Edited by Joseph
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.