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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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.

You Might Also Like