{"id":428,"date":"2020-01-11T21:44:51","date_gmt":"2020-01-11T13:44:51","guid":{"rendered":"https:\/\/codestrian.com\/?p=428"},"modified":"2020-01-11T21:48:41","modified_gmt":"2020-01-11T13:48:41","slug":"steps-to-freenas-vm-stuck-in-uefi-shell","status":"publish","type":"post","link":"https:\/\/codestrian.com\/index.php\/2020\/01\/11\/steps-to-freenas-vm-stuck-in-uefi-shell\/","title":{"rendered":"Recovery Steps to FreeNAS VM getting stuck in UEFI shell"},"content":{"rendered":"<p>Due to the ease of creating Virtual Machines on FreeNAS, many users will create a VM or two on their FreeNAS machine. In some rare occassions, users may see that their VMs getting stuck in the UEFI Shell like the screenshot below.<br \/>\n<a href=\"https:\/\/codestrian.com\/wp-content\/uploads\/2020\/01\/VM_UEFI.png\"><img decoding=\"async\" src=\"https:\/\/codestrian.com\/wp-content\/uploads\/2020\/01\/VM_UEFI-300x189.png\" alt=\"\" \/><\/a><br \/>\nThere is no need to panic, just follow the steps below and you will be able to recover from it. =)<\/p>\n<ol>\n<li>Exit from the shell<\/li>\n<li>Select <strong>Boot Maintenance Manager<\/strong><\/li>\n<li>Select <strong>Boot from file<\/strong><\/li>\n<li>Locate <strong>grubx64.efi<\/strong> and boot from it.<\/li>\n<li>After the machine has been booted up, from the shell, execute the command below\n<pre><code class=\"language-bash\">sudo grub-install --efi-directory=\/boot\/efi --boot-directory=\/boot --removable<\/code><\/pre>\n<\/li>\n<li>Reboot your machine and everything should work now.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Due to the ease of creating Virtual Machines on FreeNAS, many users will create a VM or two on their FreeNAS machine. In some rare occassions, users may see that their VMs getting stuck in the UEFI Shell like the screenshot below. There is no need to panic, just follow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,42],"tags":[],"_links":{"self":[{"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/posts\/428"}],"collection":[{"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/comments?post=428"}],"version-history":[{"count":6,"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/posts\/428\/revisions"}],"predecessor-version":[{"id":435,"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/posts\/428\/revisions\/435"}],"wp:attachment":[{"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/media?parent=428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/categories?post=428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codestrian.com\/index.php\/wp-json\/wp\/v2\/tags?post=428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}