How to Write Startup. Nsh for Linux Kernel Boot?
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...
How to write startup.nsh for linux kernel boot? Thank you for answers!
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.