NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Invalid signature in GRUB

Hi, Mitt!

I don't get an error like "menuentry: command not found".
My update-grub finishes with "erledigt", which means "done", and all the OS's were found.

I use this 40_custom file:
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.
# Alpeis Linux
menuentry "AlpEis Linux on 'sdd3'" {
        insmod ext2
        insmod part_msdos
        insmod gzio
        set root=(hd3,msdos1)
linux /vmlinuz-grsec root=/dev/sdd3 modules=sd-mod,usb-storage,ext4 quiet
        initrd /initramfs-grsec
# NetBSD 7.0 on /dev/sdb8 (wd1a)
menuentry "NetBSD 7.0 on /dev/sdb8 (wd1a)" {
        insmod ufs2
        set root=(hd1,msdos8)
        knetbsd /netbsd --root=wd1a

Did you delete the first 2 lines.

My /boot/grub/grub.cfg contains both of the menuentries (within the ### BEGIN|END /etc/grub.d/40_custom ### block) and the "Alpeis Linux" and "NetBSD 7.0..." options appear in the grub menu at boot

I use grub2 2.02 beta2-22 on debian 8.2, kernel 3.16.0-4.586

Regards / Hilmar.

Maybe you or someone else can tell me the reason for this
"cat << EOF ... EOF" frame around the menuentry block.
‎When I was trying to run "update-grub" without this frame
it told me "menuetry: command not found" and
"insmod: command not found"‎.


Home | Main Index | Thread Index | Old Index