mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 23:25:54 +03:00
[GH-ISSUE #1551] [REQUEST] UEFI Shell #502
Labels
No labels
Hacktoberfest
Hacktoberfest
bootloader
bsd
bug
confirmed
documentation
duplicate
enhancement
enhancement
enhancement
eol
experimental-merged
freebsd
help wanted
invalid
investigate
ipxe
linux
live-os
memdisk
menu
no-issue-activity
no-issue-activity
pull-request
released
todo
upstream
windows
windows
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/netboot.xyz#502
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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.
@kaysond commented on GitHub (Dec 23, 2024):
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
@Firminator commented on GitHub (Dec 24, 2024):
@kaysond: Can you test if the UEFI shell binary you linked there has the
dpcommand (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.@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.
@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.