Hi all. I recently started testing grub-2.00 and I would like to know how to remove those submenu entries that get pulled in by grub2-mkconfig. At least without having to manually and carefully edit files in /etc/grub.d. Those files are a bit messy for my tastes, and I would like to keep away from them.

Another nice option would be the possibility to set the title of menuentries, in order to get rid of those GNU\Linux strings that I personally detest...

As now the only way to customize grub.cfg (also to add password checks) is to manually write it from scratch, which isn't a big improvement over old grub...

Thanks_________________Any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee
-John Donne

For now I simply commented line 239, 242, 243 and 253 to 257 in /etc/grub.d/10_linux, however I hope that developers will ad some configuration option in /etc/default/grub to do this automatically_________________Any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee
-John Donne

You are right, ultimately I had to do the same thing. There's no way to disable the generation of those submenu entries. In my case, I want to have just one item in the grub menu to be able to boot instantaneously without any grub screen appearing in between.

I think those scripts are an early release and will get reworked in the future.
/etc/grub.d/30_os-prober has a menuentry for hurd... is there any gentoo support for hurd at all?_________________Any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee
-John Donne