LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-19-2023, 11:53 AM   #1
hackdev17
LQ Newbie
 
Registered: Mar 2023
Distribution: Arch Linux
Posts: 4

Rep: Reputation: 0
virt-manager not recognising uefi binary path even though it exist


I have installed libvirt qemu-full virt-manager and ensure they are not broken any way.

OS : Arch Linux

virt-manager showed :
Warning:Failed to setup UEFI:Did not find any UEFI binary path for arch 'x86_64'
Install options are limited.

I have verified that the UEFI files exist
Code:
bash-5.1.16$ ls -d /usr/share/ovmf/*/*
/usr/share/ovmf/ia32/OVMF.4m.fd               /usr/share/ovmf/ia32/OVMF_VARS.4m.fd     /usr/share/ovmf/x64/OVMF_CODE.fd
/usr/share/ovmf/ia32/OVMF_CODE.4m.fd          /usr/share/ovmf/ia32/OVMF_VARS.fd        /usr/share/ovmf/x64/OVMF_CODE.secboot.4m.fd
/usr/share/ovmf/ia32/OVMF_CODE.csm.4m.fd      /usr/share/ovmf/x64/MICROVM.4m.fd        /usr/share/ovmf/x64/OVMF_CODE.secboot.fd
/usr/share/ovmf/ia32/OVMF_CODE.csm.fd         /usr/share/ovmf/x64/MICROVM.fd           /usr/share/ovmf/x64/OVMF.fd
/usr/share/ovmf/ia32/OVMF_CODE.fd             /usr/share/ovmf/x64/OVMF.4m.fd           /usr/share/ovmf/x64/OVMF_VARS.4m.fd
/usr/share/ovmf/ia32/OVMF_CODE.secboot.4m.fd  /usr/share/ovmf/x64/OVMF_CODE.4m.fd      /usr/share/ovmf/x64/OVMF_VARS.fd
/usr/share/ovmf/ia32/OVMF_CODE.secboot.fd     /usr/share/ovmf/x64/OVMF_CODE.csm.4m.fd
/usr/share/ovmf/ia32/OVMF.fd                  /usr/share/ovmf/x64/OVMF_CODE.csm.fd
I have some debug mode virt-manager which spat out errors in konsole

Since the file is around 2587 lines long I will attach it here and only show relevent sections in it

Code:
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (cli:204) Version 4.1.0 launched with command line: /usr/bin/virt-manager --debug
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (virtmanager:167) virt-manager version: 4.1.0
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (virtmanager:168) virtManager import: /usr/share/virt-manager/virtManager
Gtk-Message: 22:01:38.422: Failed to load module "appmenu-gtk-module"
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (virtmanager:205) PyGObject version: 3.42.2
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (virtmanager:209) GTK version: 3.24.37
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (systray:476) Showing systray: False
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (inspection:206) python guestfs is not installed
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (engine:113) Loading stored URIs:
qemu:///system
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (engine:461) processing cli command uri= show_window=manager domain=
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (engine:464) No cli action requested, launching default window
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (manager:185) Showing manager
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (engine:316) window counter incremented to 1
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (engine:211) Initial gtkapplication activated
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:482) conn=qemu:///system changed to state=Connecting
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:903) Scheduling background open thread for qemu:///system
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:128) libvirt URI versions library=9.1.0 driver=9.1.0 hypervisor=7.2.0
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:109) Fetched capabilities for qemu:///system:
Code:
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:739) Using domain events
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:778) Using network events
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:797) Using storage pool events
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:822) Using node device events
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:1072) network=default status=Active added
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:691) storage pool refresh event: pool=BSD
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:1072) pool=BSD status=Active added
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:691) storage pool refresh event: pool=default
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:1072) pool=default status=Active added
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:691) storage pool refresh event: pool=OS_Images
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:1072) pool=OS_Images status=Active added
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (storage:137) Found default pool name=default target=/var/lib/libvirt/images
[Sun, 19 Mar 2023 22:01:38 virt-manager 10245] DEBUG (connection:482) conn=qemu:///system changed to state=Active
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (xmleditor:12) Using GtkSource 4
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (serialcon:17) Using VTE API 2.91

** (virt-manager:10245): WARNING **: 22:01:40.795: Entity http://qemu.org/chipset/x86/q35 referenced but not defined
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (createvm:257) Showing new vm wizard
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (connection:109) Fetched capabilities for qemu:///system:

Code:
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (createvm:728) Guest type set to os_type=hvm, arch=x86_64, dom_type=kvm
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (createvm:486) UEFI default requested via app preferences
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (guest:341) Setting Guest osinfo name <_OsVariant name=generic>
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (guest:546) Prefer EFI => False
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (domcapabilities:245) Fetched domain capabilities for (/usr/bin/qemu-system-x86_64,x86_64,None,kvm):

Code:
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (createvm:497) Error checking for UEFI default
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/createvm.py", line 491, in _set_caps_state
    guest.enable_uefi()
  File "/usr/share/virt-manager/virtinst/guest.py", line 589, in enable_uefi
    path = self._lookup_default_uefi_path()
  File "/usr/share/virt-manager/virtinst/guest.py", line 857, in _lookup_default_uefi_path
    raise RuntimeError(_("Did not find any UEFI binary path for "
RuntimeError: Did not find any UEFI binary path for arch 'x86_64'
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (storage:137) Found default pool name=default target=/var/lib/libvirt/images
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (storage:137) Found default pool name=default target=/var/lib/libvirt/images
[Sun, 19 Mar 2023 22:01:40 virt-manager 10245] DEBUG (engine:316) window counter incremented to 2
[Sun, 19 Mar 2023 22:01:42 virt-manager 10245] DEBUG (createvm:268) Closing new vm wizard
[Sun, 19 Mar 2023 22:01:42 virt-manager 10245] DEBUG (engine:323) window counter decremented to 1
[Sun, 19 Mar 2023 22:01:43 virt-manager 10245] DEBUG (manager:196) Closing manager
[Sun, 19 Mar 2023 22:01:43 virt-manager 10245] DEBUG (engine:323) window counter decremented to 0
[Sun, 19 Mar 2023 22:01:43 virt-manager 10245] DEBUG (engine:343) No windows found, requesting app exit
[Sun, 19 Mar 2023 22:01:43 virt-manager 10245] DEBUG (connection:838) conn.close() uri=qemu:///system
[Sun, 19 Mar 2023 22:01:43 virt-manager 10245] DEBUG (connection:482) conn=qemu:///system changed to state=Disconnected
[Sun, 19 Mar 2023 22:01:43 virt-manager 10245] DEBUG (engine:369) Exiting app normally.
Attached Files
File Type: txt virt-manager.debug.txt (102.6 KB, 19 views)
 
Old 04-05-2023, 09:19 PM   #2
iPad
Member
 
Registered: Oct 2016
Distribution: iPadLinux
Posts: 81
Blog Entries: 1

Rep: Reputation: 45
Hi! Sorry to see your first post didn't get any response.

I don't see the command you're using.

Take a look at this: (change --boot uefi to --import)
https://community.home-assistant.io/...-x86-64/496238
 
Old 11-03-2023, 03:54 AM   #3
hackdev17
LQ Newbie
 
Registered: Mar 2023
Distribution: Arch Linux
Posts: 4

Original Poster
Rep: Reputation: 0
I have reinstalled whole OS, before reinstalling the packages, may be some packages were not installed properly. After reinstalling there was problems.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI Class 3 :: To use UEFI, or not to use UEFI? jheengut Slackware 19 12-30-2020 09:24 AM
[SOLVED] installing virt-manager and virt-viewer on desktop for managing remote server yvesjv Slackware 4 04-24-2019 03:00 PM
Virsh/Virt-Manager/Virt-Install broken after upgrade to Xubuntu 17.10 Zabzoo Linux - Desktop 2 02-01-2018 08:05 AM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration