This isn't really a duplicate as the situation is different with grub2. We tend to get into a bit of an arms race if we try to edit /etc/default/grub automatically, and so I don't plan to fix this exactly as requested. However, there's a new feature in grub2 which I recommend you use instead: you can write the full name of a menu entry in GRUB_DEFAULT, rather than its number. So instead of GRUB_DEFAULT=6, you could have written something like:
GRUB_DEFAULT='Ubuntu, with Linux 2.6.35-14-generic' This is more descriptive and less error-prone. ** This bug is no longer a duplicate of bug 55400 Default OS (grub) changed by addition of backup entries ** Package changed: grub (Ubuntu) => grub2 (Ubuntu) ** Changed in: grub2 (Ubuntu) Status: Confirmed => Won't Fix -- kernel upgrade does not adjust grub2 default parameter when it is non-zero https://bugs.launchpad.net/bugs/619129 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs