How to Write Startup. Nsh for Linux Kernel Boot?

How to write startup.nsh for linux kernel boot? Thank you for answers!

6

1 Answer

If you have a Windows 10 machine and your startup file system is the same as mine use the following, else you might have to change:

This line goes into the startup.nsh file at the same location (fs0:\efi\boot) :

fs0:\efi\boot\bootx64.efi

If you just have the efi shell then type:

help -b

for all commands

or proceed to edit the startup.nsh either:

edit fs0:\efi\boot\startup.nsh

or:

fs0:
cd efi
cd boot
edit startup.nsh

or:

fs0:
cd efi\boot
edit startup.nsh

Add the startup.nsh line above and you're golden.

It definitely works but if you can't find the efi\boot folders on fs0: then you might want to check all the file systems displayed at the start before the UEFI boot tries to read the startup.nsh that might not exist.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest