How do I alter the Grub menu contained on sda1 so that it comes up on the startup menu?
I'm using grub 2.02.
I can get to it with the Terminal on sda1 and I've entered a menu entry at the bottom in 40_custom and done grub-update:
The grub-update see's it but it dosen't come up on the startup list when I boot up.
What have I done wrong?
Code: Select all
#!/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 "Gentoo Base System release 2.2 (on /dev/sda4)" --class gnu-linux --class gnu --class os {
# recordfail
# insmod part_msdos
# insmod ext2
# set root='(hd0,4)'
# search --no-floppy --fs-uuid --set=root 15939b1b-4f68-4e67-8dba-c117eeb51841
# linux /boot/vmlinuz-3.14.14-gentoo root=/dev/sda4
## initrd /initrd.img
#}
menuentry "Gentoo Base System release 2.2 (on /dev/sda4)" --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set=root 15939b1b-4f68-4e67-8dba-c117eeb51841
linux /boot/vmlinuz-3.17.8-gentoo-r1 root=/dev/sda4
# initrd /initrd.img
}
menuentry "Quirky 6.89 full install (on /dev/sda7)" --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set=root a445550e-a48f-451f-b621-9cd8be13b41b
linux /boot/vmlinuz root=/dev/sda7
# initrd /initrd.img
}
What have I done wrong?