No appropriate method for modifying specfic menuentry
Binary package hint: grub2
With grub2 (grub-pc 1.97~beta4-
For example, I need to add "disable_esco=true" (bluetooth subsystem kernel parameter) to the "Ubuntu, Linux 2.6.31-20-generic" menuentry. I *do not* want this parameter for any other menuentry. Similarly, I only want 1 (recovery mode) menuentry.
I understand that I could create a custom script, say /etc/grub.
I'm also aware that I could edit /boot/grub/grub.cfg directly. Unfortunately, this is worse because *there is no way* to protect the contents of grub.cfg. The kernel upgrade packages overwrite this file regardless of the file attributes (like, what if I forget that I've made custom changes to this file when I upgrade the kernel in 6 months).
Adding a kernel parameter should not be this difficult.