How do I edit the UEFI shell file startup.nsh?

How can I edit that file so that it points to fs0:\efi\boot\bootx64.efi?

The following is just for Win10.
Starting Linux with the UEFI shell is more complicated.
I haven’t found a good tutorial about the startup.nsh file structure.
Maybe try batch file syntax?

You just put the code above in the directory: fs0:\efi\boot\
You can navigate there like:

fs0:
cd efi
cd boot
edit startup.nsh

If that directory structure isn’t there, try the other fs1 to fs? .
Yes, the UEFI shell has some things built in:
help -b
shows all the things that are built in.

Hope that helps some people.

1 Like

Am I correct to assume that modification of startup.nsh is solely possible via the *EFI shell?

Additionally, is your post a summarization of stackoverflow/a/71408163?

I don’t know of another way, but there might be.

Guess it kinda is a repost / summary of the answer I gave there.
The full link to the article:

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.