Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] UEFI Shell #1551

Open
kaysond opened this issue Dec 7, 2024 · 3 comments
Open

[REQUEST] UEFI Shell #1551

kaysond opened this issue Dec 7, 2024 · 3 comments

Comments

@kaysond
Copy link

kaysond commented Dec 7, 2024

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
Copy link
Member

antonym commented 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
Copy link
Author

kaysond commented 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

@Firminator
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants