{"id":714,"date":"2019-02-20T13:00:01","date_gmt":"2019-02-20T10:00:01","guid":{"rendered":"https:\/\/artem.services\/?p=712"},"modified":"2019-02-20T15:01:30","modified_gmt":"2019-02-20T12:01:30","slug":"fix-error-virsh-operation-failed-unable-to-find-any-master-var-store-for-loader-2","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=714&lang=en","title":{"rendered":"FIX ERROR &#8212; virsh: operation failed: unable to find any master var store for loader"},"content":{"rendered":"<p>When you try to <strong>start<\/strong> a virtual machine with <strong>EFI<\/strong> using <strong>Virsh<\/strong>, the following message appears:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvirsh start macos-manual\r\nerror: Failed to start domain macos-manual\r\nerror: operation failed: unable to find any master var store for loader: \/var\/lib\/libvirt\/qemu\/nvram\/OVMF_CODE.fd\r\n<\/pre>\n<h5><strong>Solution:<\/strong><\/h5>\n<p><span class=\"tlid-translation translation\"><span class=\"\" title=\"\">Install the package &quot;<strong>ovmf<\/strong>&quot;<\/span><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\napt install ovmf\r\n<\/pre>\n<p>Editing <strong>QEMU<\/strong> configuration file<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvim \/etc\/libvirt\/qemu.conf\r\n<\/pre>\n<p>Add the following line:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nnvram = [\r\n    &quot;\/usr\/share\/OVMF\/OVMF_CODE.fd:\/usr\/share\/OVMF\/OVMF_VARS.fd&quot;\r\n]\r\n<\/pre>\n<p>Restart<strong> libvirt<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsystemctl restart libvirt-bin\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When you try to start a virtual machine with EFI using Virsh, the following message appears: Solution: Install the package &quot;ovmf&quot; Editing QEMU configuration file Add the following line: Restart libvirt<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[357],"tags":[361,365,381],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/714"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=714"}],"version-history":[{"count":2,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/714\/revisions"}],"predecessor-version":[{"id":716,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/714\/revisions\/716"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}