ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    KVM: create new guest from existing qcow2

    IT Discussion
    kvm virt-manager qcow2
    5
    21
    5.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Emad RE
      Emad R @FATeknollogee
      last edited by Emad R

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

      FATeknollogeeF 1 Reply Last reply Reply Quote 0
      • FATeknollogeeF
        FATeknollogee @Emad R
        last edited by FATeknollogee

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

        1 Reply Last reply Reply Quote 0
        • FATeknollogeeF
          FATeknollogee @stacksofplates
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • FATeknollogeeF
            FATeknollogee @stacksofplates
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • F
              Francesco Provino
              last edited by

              Have you tried virt-install and its switches?

              FATeknollogeeF 1 Reply Last reply Reply Quote 0
              • FATeknollogeeF
                FATeknollogee @Francesco Provino
                last edited by

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

                1 Reply Last reply Reply Quote 0
                • Emad RE
                  Emad R @FATeknollogee
                  last edited by

                  @fateknollogee

                  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
                  Q35

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

                  FATeknollogeeF 1 Reply Last reply Reply Quote 0
                  • FATeknollogeeF
                    FATeknollogee @Emad R
                    last edited by

                    @emad-r said in KVM: create new guest from existing qcow2:

                    @fateknollogee

                    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
                    Q35

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

                    1 Reply Last reply Reply Quote 0
                    • FATeknollogeeF
                      FATeknollogee
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • FATeknollogeeF
                        FATeknollogee
                        last edited by

                        Solved
                        I posted this on https://www.redhat.com/archives/virt-tools-list/2017-August/msg00210.html

                        Laszlo 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 Option

                        In 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 Order

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

                        1 Reply Last reply Reply Quote 2
                        • 1
                        • 2
                        • 2 / 2
                        • First post
                          Last post