Custom entries can be added to the 40_custom file or placed in a new file. Any file created must be executable in order to be included in the grub.cfg file during the "update-grub2" command.
I have added the following code to the 40_custom file and made sure that it is executable. However, I get an error about improper syntax and that linux has to be loaded first. I followed the example found at https://wiki.ubuntu.com/Grub2
Code: Select all
menuentry “Woof upup 476 (on /dev/sda2)