I want to change the default grub entry to my specified entry. I know specifying the menuentry number can work. But it's too much hard coding and not flexible because when I add more kernel images, the number changes.
So I want to specify the default grub entry by specifying the grub menuentry's name.
My grub menu went through rather extensive changes after the last update. It started booting to my old 12.04 entry by default. Where this gets confusing is that there is no longer a 12.10 entry in grub.cfg.
I installed and tried the grub-cfg as mentioned in How do I change the grub boot order?
WonderWoofy wrote:I don't think those instructions are telling you to change things in /etc/default/grub, but rather to actually change the generated entries in /boot/grub/grub.cfg.And what I'd specified in the original post is that I'm looking for a better way to change it, something that won't get overwritten when I run a grub-mkconfig, something that is..