{"id":121,"date":"2015-03-25T20:12:40","date_gmt":"2015-03-25T20:12:40","guid":{"rendered":"http:\/\/info.ffteixeira.net\/2015\/03\/25\/how-to-remove-ubuntu-in-the-bios-boot-menu-uefi\/"},"modified":"2015-03-25T20:12:40","modified_gmt":"2015-03-25T20:12:40","slug":"how-to-remove-ubuntu-in-the-bios-boot-menu-uefi","status":"publish","type":"post","link":"https:\/\/blog.ffteixeira.net\/?p=121","title":{"rendered":"How to remove \u201cUbuntu\u201d in the bios boot menu? (UEFI)"},"content":{"rendered":"<p>Install efibootmgr:<\/p>\n<pre>\n<code>sudo apt-get install efibootmgr\n<\/code><\/pre>\n<p>Then add to the kernel efi support<\/p>\n<pre>\n<code>sudo modprobe efivars\n<\/code><\/pre>\n<p>Then run <code>sudo efibootmgr<\/code> to check your boot entries. It will return something like this:<\/p>\n<pre>\n<code>BootCurrent: 0004\nTimeout: 2 seconds\nBootOrder: 2001,0003,0005,0006,0000\nBoot0000* Lenovo Recovery System\nBoot0001* EFI Network 0 for IPv6 (B8-88-E3-84-F3-EF)\nBoot0002* EFI Network 0 for IPv4 (B8-88-E3-84-F3-EF)\nBoot0003* Windows Boot Manager\nBoot0004* EFI USB Device (SanDisk)\nBoot0005* ubuntu\nBoot2001* EFI USB Device\n<\/code><\/pre>\n<p>Then delete the option you dont want. In this example, Ubuntu is entry 5. the following could be called to delete entry 5 and remove it from the BootOrder.<\/p>\n<p><strong>(CAUTION: Before executing the following command make sure you enter the correct Boot entry number)<\/strong><\/p>\n<pre>\n<code>sudo efibootmgr -b 5 -B \n<\/code><\/pre>\n<p>Further details described here: <a href=\"http:\/\/linux.die.net\/man\/8\/efibootmgr\" rel=\"nofollow\">http:\/\/linux.die.net\/man\/8\/efibootmgr<\/a><\/p>\n<p><strong>Note: as for anything that changes your bootloader, please ensure you have a good disk image that you can boot with.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install efibootmgr: sudo apt-get install efibootmgr Then add to the kernel efi support sudo modprobe efivars Then run sudo efibootmgr to check your boot entries. It will return something like this: BootCurrent: 0004 Timeout: 2 seconds BootOrder: 2001,0003,0005,0006,0000 Boot0000* Lenovo &hellip; <a href=\"https:\/\/blog.ffteixeira.net\/?p=121\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/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-121","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=121"}],"version-history":[{"count":0,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/121\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}