Add new boot entry in BIOS using efibootmgr











up vote
0
down vote

favorite












I am trying to add boot entry for MBR table (shadow) in SSD.



Using bcfg it is possible to browse to device
fs0:EFIbootbootx64.efi (pressing tab will show all the device in current directory).
But we don't have bcfg in our BIOS.



I've tried to add new boot entry as following:



efibootmgr -c -d /dev/sda -p 0 -L "mypba" -l "EFIbootbootx64.efi"


and also the following (tried partition 0 instead of 1)



efibootmgr -c -d /dev/sda -p 1 -L "mypba" -l "EFIbootbootx64.efi"


But in both cases the UIEFI boot fails to start.
I guess I might need to add it using --device bau I don't know which device match the MBR shadow.



Is it possible to do the "browse" (with TABs) or to find a file in a device using efibootmgr , so that we can configure new boot entry as required ?










share|improve this question
























  • From what I understand, the shadow MBR is mapped in transparently. As such, no special support would be required.
    – Daniel B
    Nov 18 at 11:28










  • Thanks, I've edited the question,
    – ransh
    Nov 18 at 14:27










  • Ah, so you’re talking about UEFI boot. That’s a very different concern then. It won’t (readily) work with MBR shadowing, though I guess it could still be made to work if you get creative.
    – Daniel B
    Nov 18 at 16:02










  • The title is of this question is not too proper. What OS are you trying to boot ? Did you determine which is the actual partition ? You can't just try for it.
    – Overmind
    Nov 19 at 8:05












  • The actual partition is fs0:EFIbootbootx64.efi , and it is a MBR table (used with SED). I find it with simple ls from efi shell, but the problem is that I can't add new entery with bcfg becuase it is missing in this shell capability
    – ransh
    Nov 19 at 11:02















up vote
0
down vote

favorite












I am trying to add boot entry for MBR table (shadow) in SSD.



Using bcfg it is possible to browse to device
fs0:EFIbootbootx64.efi (pressing tab will show all the device in current directory).
But we don't have bcfg in our BIOS.



I've tried to add new boot entry as following:



efibootmgr -c -d /dev/sda -p 0 -L "mypba" -l "EFIbootbootx64.efi"


and also the following (tried partition 0 instead of 1)



efibootmgr -c -d /dev/sda -p 1 -L "mypba" -l "EFIbootbootx64.efi"


But in both cases the UIEFI boot fails to start.
I guess I might need to add it using --device bau I don't know which device match the MBR shadow.



Is it possible to do the "browse" (with TABs) or to find a file in a device using efibootmgr , so that we can configure new boot entry as required ?










share|improve this question
























  • From what I understand, the shadow MBR is mapped in transparently. As such, no special support would be required.
    – Daniel B
    Nov 18 at 11:28










  • Thanks, I've edited the question,
    – ransh
    Nov 18 at 14:27










  • Ah, so you’re talking about UEFI boot. That’s a very different concern then. It won’t (readily) work with MBR shadowing, though I guess it could still be made to work if you get creative.
    – Daniel B
    Nov 18 at 16:02










  • The title is of this question is not too proper. What OS are you trying to boot ? Did you determine which is the actual partition ? You can't just try for it.
    – Overmind
    Nov 19 at 8:05












  • The actual partition is fs0:EFIbootbootx64.efi , and it is a MBR table (used with SED). I find it with simple ls from efi shell, but the problem is that I can't add new entery with bcfg becuase it is missing in this shell capability
    – ransh
    Nov 19 at 11:02













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to add boot entry for MBR table (shadow) in SSD.



Using bcfg it is possible to browse to device
fs0:EFIbootbootx64.efi (pressing tab will show all the device in current directory).
But we don't have bcfg in our BIOS.



I've tried to add new boot entry as following:



efibootmgr -c -d /dev/sda -p 0 -L "mypba" -l "EFIbootbootx64.efi"


and also the following (tried partition 0 instead of 1)



efibootmgr -c -d /dev/sda -p 1 -L "mypba" -l "EFIbootbootx64.efi"


But in both cases the UIEFI boot fails to start.
I guess I might need to add it using --device bau I don't know which device match the MBR shadow.



Is it possible to do the "browse" (with TABs) or to find a file in a device using efibootmgr , so that we can configure new boot entry as required ?










share|improve this question















I am trying to add boot entry for MBR table (shadow) in SSD.



Using bcfg it is possible to browse to device
fs0:EFIbootbootx64.efi (pressing tab will show all the device in current directory).
But we don't have bcfg in our BIOS.



I've tried to add new boot entry as following:



efibootmgr -c -d /dev/sda -p 0 -L "mypba" -l "EFIbootbootx64.efi"


and also the following (tried partition 0 instead of 1)



efibootmgr -c -d /dev/sda -p 1 -L "mypba" -l "EFIbootbootx64.efi"


But in both cases the UIEFI boot fails to start.
I guess I might need to add it using --device bau I don't know which device match the MBR shadow.



Is it possible to do the "browse" (with TABs) or to find a file in a device using efibootmgr , so that we can configure new boot entry as required ?







bios uefi efi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 19 at 5:58

























asked Nov 18 at 10:44









ransh

1497




1497












  • From what I understand, the shadow MBR is mapped in transparently. As such, no special support would be required.
    – Daniel B
    Nov 18 at 11:28










  • Thanks, I've edited the question,
    – ransh
    Nov 18 at 14:27










  • Ah, so you’re talking about UEFI boot. That’s a very different concern then. It won’t (readily) work with MBR shadowing, though I guess it could still be made to work if you get creative.
    – Daniel B
    Nov 18 at 16:02










  • The title is of this question is not too proper. What OS are you trying to boot ? Did you determine which is the actual partition ? You can't just try for it.
    – Overmind
    Nov 19 at 8:05












  • The actual partition is fs0:EFIbootbootx64.efi , and it is a MBR table (used with SED). I find it with simple ls from efi shell, but the problem is that I can't add new entery with bcfg becuase it is missing in this shell capability
    – ransh
    Nov 19 at 11:02


















  • From what I understand, the shadow MBR is mapped in transparently. As such, no special support would be required.
    – Daniel B
    Nov 18 at 11:28










  • Thanks, I've edited the question,
    – ransh
    Nov 18 at 14:27










  • Ah, so you’re talking about UEFI boot. That’s a very different concern then. It won’t (readily) work with MBR shadowing, though I guess it could still be made to work if you get creative.
    – Daniel B
    Nov 18 at 16:02










  • The title is of this question is not too proper. What OS are you trying to boot ? Did you determine which is the actual partition ? You can't just try for it.
    – Overmind
    Nov 19 at 8:05












  • The actual partition is fs0:EFIbootbootx64.efi , and it is a MBR table (used with SED). I find it with simple ls from efi shell, but the problem is that I can't add new entery with bcfg becuase it is missing in this shell capability
    – ransh
    Nov 19 at 11:02
















From what I understand, the shadow MBR is mapped in transparently. As such, no special support would be required.
– Daniel B
Nov 18 at 11:28




From what I understand, the shadow MBR is mapped in transparently. As such, no special support would be required.
– Daniel B
Nov 18 at 11:28












Thanks, I've edited the question,
– ransh
Nov 18 at 14:27




Thanks, I've edited the question,
– ransh
Nov 18 at 14:27












Ah, so you’re talking about UEFI boot. That’s a very different concern then. It won’t (readily) work with MBR shadowing, though I guess it could still be made to work if you get creative.
– Daniel B
Nov 18 at 16:02




Ah, so you’re talking about UEFI boot. That’s a very different concern then. It won’t (readily) work with MBR shadowing, though I guess it could still be made to work if you get creative.
– Daniel B
Nov 18 at 16:02












The title is of this question is not too proper. What OS are you trying to boot ? Did you determine which is the actual partition ? You can't just try for it.
– Overmind
Nov 19 at 8:05






The title is of this question is not too proper. What OS are you trying to boot ? Did you determine which is the actual partition ? You can't just try for it.
– Overmind
Nov 19 at 8:05














The actual partition is fs0:EFIbootbootx64.efi , and it is a MBR table (used with SED). I find it with simple ls from efi shell, but the problem is that I can't add new entery with bcfg becuase it is missing in this shell capability
– ransh
Nov 19 at 11:02




The actual partition is fs0:EFIbootbootx64.efi , and it is a MBR table (used with SED). I find it with simple ls from efi shell, but the problem is that I can't add new entery with bcfg becuase it is missing in this shell capability
– ransh
Nov 19 at 11:02















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376412%2fadd-new-boot-entry-in-bios-using-efibootmgr%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376412%2fadd-new-boot-entry-in-bios-using-efibootmgr%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...