KVM: create new guest from existing qcow2
-
@fateknollogee said in KVM: create new guest from existing qcow2:
System BootOrder not found"
System BootOrder not found seems to be EFI related.
Can you try playing with those setting in Virt manager, there was an option to alternate between both (EFI and legacy BIOS)
And if you are testing and have free time , and the VM you are importing was EFI, can you try re-creating in standard BIOS mode and try again to import and see if that changes anything.
-
@emad-r said in KVM: create new guest from existing qcow2:
@fateknollogee said in KVM: create new guest from existing qcow2:
System BootOrder not found"
System BootOrder not found seems to be EFI related.
Can you try playing with those setting in Virt manager, there was an option to alternate between both (EFI and legacy BIOS)
And if you are testing and have free time , and the VM you are importing was EFI, can you try re-creating in standard BIOS mode and try again to import and see if that changes anything.
In BIOS mode, it says "Booting from Hard Disk..." with a flashing cursor...no progress after that.
The image was definitely created as EFI.
-
@stacksofplates said in KVM: create new guest from existing qcow2:
I would also try switching to a non pv driver. If it boots with a normal SCSI driver then it's probably virtio.
No go, same error.
-
@stacksofplates said in KVM: create new guest from existing qcow2:
Did you try passing through the host CPU type?
Yes, error is still the same.
-
Have you tried virt-install and its switches?
-
@francesco-provino said in KVM: create new guest from existing qcow2:
Have you tried virt-install and its switches?
I tried virt-install & created a new vm using the qcow2 image, that did not work either.
-
I tried installing Centos on UEFI and then enabling KVM to trouble-shoot your issue, however when I wanted to create new EFI Q35 VM it complained that I dont have EFI packages, so I was unable to change the VM from BIOS:
I440FX
to
Q35Using Virt Manager, did you do anything special on the host KVM or to qemu to enable EFI Q35 ? or you were able to select it from the start ?
thanks.
-
@emad-r said in KVM: create new guest from existing qcow2:
I tried installing Centos on UEFI and then enabling KVM to trouble-shoot your issue, however when I wanted to create new EFI Q35 VM it complained that I dont have EFI packages, so I was unable to change the VM from BIOS:
I440FX
to
Q35Using Virt Manager, did you do anything special on the host KVM or to qemu to enable EFI Q35 ? or you were able to select it from the start ?
thanks.
Q35 has to be selected as you are creating the vm.
-
Turns out the Windows 10 vm's booted just fine, they were UEFI + i440FX (no Q35).
The Fedora 26 vm's (UEFI + Q35) would not boot & gave the error listed in my orig post.
-
Solved
I posted this on https://www.redhat.com/archives/virt-tools-list/2017-August/msg00210.htmlLaszlo Ersek posted the solution: https://www.redhat.com/archives/virt-tools-list/2017-August/msg00244.html
It can be mitigated manually: when the VM boots, interrupt it at the
TianoCore splash screen. In the setup utility, navigate to:Boot Maintenance Manager
Boot Options
Add Boot OptionIn the file chooser, select
<whatever device you have>/EFI/fedora/shim.efi
and enter a description (name) for the boot option.
Then,
Boot Maintenance Manager
Boot Options
Change Boot Orderand move the new boot option to the top of the list.
After you commit the changes, you can forcibly reset the VM, or else
return to the setup TUI front page, and select Reset there.