{"id":79,"date":"2024-07-22T14:05:43","date_gmt":"2024-07-22T14:05:43","guid":{"rendered":"http:\/\/192.168.5.10\/?p=79"},"modified":"2024-07-22T14:09:01","modified_gmt":"2024-07-22T14:09:01","slug":"efi-shell-commands","status":"publish","type":"post","link":"http:\/\/blog.ltzs.us\/?p=79","title":{"rendered":"EFI Shell commands"},"content":{"rendered":"\n<p>Sometimes the GRUB bootloader gets messed up, and you get dumped into the EFI Shell. A few key commands to get things working again&#8230;<\/p>\n\n\n\n<p><mark style=\"background-color:#fcb900\" class=\"has-inline-color\"><code>map<\/code><\/mark> gets a list of all the discovered partitions<\/p>\n\n\n\n<p><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">FS0:<\/mark> gets you to the file structure of the FS0 partition<\/p>\n\n\n\n<p><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">bcfg boot dump -b<\/mark> lists all the EFI boot entries<\/p>\n\n\n\n<p><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">bcfg boot mv 6 0<\/mark> changes boot order<\/p>\n\n\n\n<p><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">bcfg boot add 0 FS0:\\EFI\\debian\\grubx64.efi &#8220;GRUB&#8221;<\/mark> adds an entry<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes the GRUB bootloader gets messed up, and you get dumped into the EFI Shell. A few key commands to get things working again&#8230; map gets a list of all the discovered partitions FS0: gets you to the file structure of the FS0 partition bcfg boot dump -b lists all the EFI boot entries bcfg&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":5,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":84,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/84"}],"wp:attachment":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}