On Wed, 26 Mar 2014 14:42:51 +0000 (UTC), James wrote: > > > So when I get the Grub2 (ascii) boot menu and just select the > > > default, it boots kernel-3.13.7-gentoo, despite > > > 'kernel-3.13.6-gentoo' being set in as the default for Grub2? > > > DEFAULT, if not set to a number, matches the title or --id of a menu > > entry, not the kernel name (you could have several entries with the > > same kernel). > Do you have syntax examples for --id, or is that just a generic > descriptor? --id "some string" - it's in the info pages. > So would the option for local kernel versioning built into the > kernel be recognized by grub2 to distinguishing between differnent > (locale) versions of the same kernel version? > > menuconfig--> General Setup--> Local version-append to kernel release > ??? You want the name of the menuentry, not the name of the kernel. I use a custom script to generate the entries, but running the standard 10linux script here produces entries like menuentry 'GNU/Linux, with Linux 3.13.7-gentoo' You would need to match on that for DEFAULT. > OR: > So how do I know which number matches which kernel, since using the > name does not match them up as desired to select to boot? By looking at grub.cfg. Unfortunately, this changes each time you add a kernel, the number for that older one increments each time. If you have a particular entry you want to boot, you may be better off defining a menu entry for it in /etc/grub.d/40_custom, then you can set the name for it and your DEFAULT setting should work. -- Neil Bothwick Micro-: (prefix) anything both very small and very expensive.