[GH-ISSUE #1551] [REQUEST] UEFI Shell #502

Closed
opened 2026-02-27 14:52:01 +03:00 by kerem · 5 comments
Owner

Originally created by @kaysond on GitHub (Dec 7, 2024).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1551

Some UEFI motherboards don't come with a shell so it would be nice to have one accessible through netboot. Maybe in the UEFI utils menu?

It would be as simple as adding the menu option and the efi binary. You could use the one from the tianocore project, which is what I did: https://github.com/tianocore/edk2

Originally created by @kaysond on GitHub (Dec 7, 2024). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1551 Some UEFI motherboards don't come with a shell so it would be nice to have one accessible through netboot. Maybe in the UEFI utils menu? It would be as simple as adding the menu option and the efi binary. You could use the one from the tianocore project, which is what I did: https://github.com/tianocore/edk2
kerem 2026-02-27 14:52:01 +03:00
Author
Owner

@antonym commented on GitHub (Dec 23, 2024):

Do you have any example references that work and that I can give a try? I think this is a great idea.

<!-- gh-comment-id:2560056081 --> @antonym commented on GitHub (Dec 23, 2024): Do you have any example references that work and that I can give a try? I think this is a great idea.
Author
Owner

@kaysond commented on GitHub (Dec 23, 2024):

Do you have any example references that work and that I can give a try? I think this is a great idea.

Sure. Specifically, I downloaded https://github.com/tianocore/edk2/releases/download/edk2-stable202002/ShellBinPkg.zip unzipped the efi file, and put it in my local assets folder. Then I added a menu entry that jumps to a label where I do

:uefi
imgfree
chain ${live_endpoint}/Shell.efi
goto my_exit
<!-- gh-comment-id:2560124244 --> @kaysond commented on GitHub (Dec 23, 2024): > Do you have any example references that work and that I can give a try? I think this is a great idea. Sure. Specifically, I downloaded https://github.com/tianocore/edk2/releases/download/edk2-stable202002/ShellBinPkg.zip unzipped the efi file, and put it in my local assets folder. Then I added a menu entry that jumps to a label where I do ``` :uefi imgfree chain ${live_endpoint}/Shell.efi goto my_exit ```
Author
Owner

@Firminator commented on GitHub (Dec 24, 2024):

@kaysond: Can you test if the UEFI shell binary you linked there has the dp command (for evaluating UEFi Boot performance). Like you said most BIOS either don't have an UEFI shell enabled (to reduce attack surface), or the few ones I tried that had it don't have the dp command.

<!-- gh-comment-id:2560522865 --> @Firminator commented on GitHub (Dec 24, 2024): @kaysond: Can you test if the UEFI shell binary you linked there has the `dp` command (for evaluating UEFi Boot performance). Like you said most BIOS either don't have an UEFI shell enabled (to reduce attack surface), or the few ones I tried that had it don't have the dp command.
Author
Owner

@antonym commented on GitHub (Jan 4, 2025):

Options have been added to development utility menus for X64/ARM. Give them a try. I'm using the version specified as it appears the ShellBinPkg binary was dropped for newer releases. If you know of the latest location/build of those binaries, I can change to those in the future.

<!-- gh-comment-id:2571382051 --> @antonym commented on GitHub (Jan 4, 2025): Options have been added to development utility menus for X64/ARM. Give them a try. I'm using the version specified as it appears the ShellBinPkg binary was dropped for newer releases. If you know of the latest location/build of those binaries, I can change to those in the future.
Author
Owner

@kaysond commented on GitHub (Jan 4, 2025):

@antonym Thanks! I'll give it a shot once LSIO picks up the new release.

I dug around a little more and couldn't find any builds for the shell binary since that one. But it does look like it gets updated fairly frequently so it might be nice to have newer versions. I'm not sure if your infrastructure is set up for it, but you could build it from source. The repo has instructions for it, and while they're a little convoluted, it seems to boil down to: pull their docker image, run some custom build commands. You might use this github CI run as reference, if you want to keep it up to date: https://github.com/tianocore/edk2/actions/runs/12597279391/job/35109953748?pr=10584

Otherwise, maybe we'd need to submit an issue/PR to ask to make the shell an artifact/asset.

<!-- gh-comment-id:2571439683 --> @kaysond commented on GitHub (Jan 4, 2025): @antonym Thanks! I'll give it a shot once LSIO picks up the new release. I dug around a little more and couldn't find any builds for the shell binary since that one. But it does look like it gets updated fairly frequently so it might be nice to have newer versions. I'm not sure if your infrastructure is set up for it, but you could build it from source. The repo has instructions for it, and while they're a little convoluted, it seems to boil down to: pull their docker image, run some custom build commands. You might use this github CI run as reference, if you want to keep it up to date: https://github.com/tianocore/edk2/actions/runs/12597279391/job/35109953748?pr=10584 Otherwise, maybe we'd need to submit an issue/PR to ask to make the shell an artifact/asset.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#502
No description provided.