On Fri 25 Oct 2024 at 11:33:37 (-0700), [email protected] wrote:
> The /boot/grub/grub.cfg created by update-grub2 is at
> https://easthope.ca/grub.cfg . My 40_custom stanza is there but not
> in the boot menu. If someone can spot an error, good, thanks.
You took out the tail!
It should look like:
$ cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Install Debian via HTTP" {
search --no-floppy --label --set=root noah03
linux /boot/vmlinuz priority=low
initrd /boot/initrd.gz
}
$
Cheers,
David.