{"id":579,"date":"2016-01-12T20:49:58","date_gmt":"2016-01-12T12:49:58","guid":{"rendered":"http:\/\/www.datarelab.com\/blog\/?p=579"},"modified":"2016-01-12T20:49:58","modified_gmt":"2016-01-12T12:49:58","slug":"linux%e4%b8%ad%e8%ae%be%e7%bd%aeuefi%e5%90%af%e5%8a%a8%e9%a1%b9-efibootmgr","status":"publish","type":"post","link":"https:\/\/www.datarelab.com\/blog\/Technical_literature\/579.html","title":{"rendered":"Linux\u4e2d\u8bbe\u7f6eUEFI\u542f\u52a8\u9879 -- efibootmgr"},"content":{"rendered":"<p>usage: efibootmgr [options]<br \/>\n-a | --active sets bootnum active<br \/>\n-A | --inactive sets bootnum inactive<br \/>\n-b | --bootnum XXXX modify BootXXXX (hex)<br \/>\n-B | --delete-bootnum delete bootnum (hex)<br \/>\n-c | --create create new variable bootnum and add to bootorder<br \/>\n-C | --create-only create new variable bootnum and do not add to bootorder<br \/>\n-D | --remove-dups remove duplicate values from BootOrder<br \/>\n-d | --disk disk (defaults to \/dev\/sda) containing loader<br \/>\n-e | --edd [1|3|-1] force EDD 1.0 or 3.0 creation variables, or guess<br \/>\n-E | --device num EDD 1.0 device number (defaults to 0x80)<br \/>\n-g | --gpt force disk with invalid PMBR to be treated as GPT<br \/>\n-i | --iface name create a netboot entry for the named interface<br \/>\n-l | --loader name (defaults to \\EFI\\redhat\\grub.efi)<br \/>\n-L | --label label Boot manager display label (defaults to \"Linux\")<br \/>\n-n | --bootnext XXXX set BootNext to XXXX (hex)<br \/>\n-N | --delete-bootnext delete BootNext<br \/>\n-o | --bootorder XXXX,YYYY,ZZZZ,... explicitly set BootOrder (hex)<br \/>\n-O | --delete-bootorder delete BootOrder<br \/>\n-p | --part part (defaults to 1) containing loader<br \/>\n-q | --quiet be quiet<br \/>\n-t | --timeout seconds set boot manager timeout waiting for user input.<br \/>\n-T | --delete-timeout delete Timeout.<br \/>\n-u | --unicode | --UCS-2 pass extra args as UCS-2 (default is ASCII)<br \/>\n-v | --verbose print additional information<br \/>\n-V | --version return version and exit<br \/>\n-w | --write-signature write unique sig to MBR if needed<br \/>\n-@ | --append-binary-args file append extra args from file (use \"-\" for stdin)<br \/>\n-h | --help show help\/usage<\/p>\n","protected":false},"excerpt":{"rendered":"<p>usage: efibootmgr [options] -a | --active sets bootnum  [&hellip;]<\/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":[25,23,14,24],"class_list":["post-579","post","type-post","status-publish","format-standard","hentry","category-Technical_literature","tag-bios","tag-efi","tag-linux","tag-uefi"],"views":2547,"_links":{"self":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/comments?post=579"}],"version-history":[{"count":0,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/579\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/media?parent=579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/categories?post=579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/tags?post=579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}