Experts,
I just installed 64 bit Debian Testing over top of my 64 bit windows 7, when I boot to system, there is no line with window 7 in grub. So what I wanted to do it, to fix it, is to add something like that to menu.lst:
Would be OK, it it would only ignore Windows, but it ignores Linux as well. Hmm, what should I think about a boot-manager that ignores any OS but the one it lives in?
With Grub2 (grub-pc) when you run ' update-grub ' this updates the file /boot/grub/grub.cfg which makes the boot list display. But this file is Read only.
There is another empty file /etc/grub.d/40_custom in which you can add menuentry paragraphs copied from /boot/grub/grub.cfg and edit them the way you like them spelled. What I do is copy all the menuentry paragraphs from the first to the last and edit them. Then I make two other files non-executable - /etc/grub.d/20_memtest86+ and /etc/grub.d/30_os-prober .
Then I run ' uupdate-grub ' and now the boot list only displays the menuentries from 40_custom .