grub bootloader list

Installed opensuse 12.3.
Want to change the default boot option.
Can not find any bootloader list in yast-bootloader?

openSUSE 12.3

Good Q. Although you can find the bootloader in
YAST > System > Boot loader > Boot loader options > Default Boot Loader Section > [dropdown]

It doesn’t work for me, I’m still booting to the last kernel installed.

I’ve also tried:

#List the menuitems in grub.conf
cat /boot/grub2/grub.cfg
#Set the new default to the default kernel instead the desktop kernel that's currently default
# Note that you <must> include the single quotes to match exactly what is in grub.cfg
grub2-set-default 'openSUSE, with Linux 3.8.2-1-default'
#Re-build grub.cfg
grub2-mkconfig -o /boot/grub2/grub.cfg
# Verify the current default selection (you can also verify by re-opening YAST as described above
grub2-editenv list

Then reboot.
I’ve tried the above using the menuitem name and menuitem id but not the number since it’s so hard to know exactly the number of each menuitem and AFAIK no utility returns that info (except maybe open in YAST and count?)

I’ve also tried adding the following line to /etc/default/grub

GRUB_DEFAULT='openSUSE, with Linux 3.8.2-1-default'   

and then runniing “grub2-mkconfig -o /boot/grub2/grub.cfg” which interestingly resulted in an additional line added automatically as follows

GRUB_DEFAULT="'openSUSE, with Linux 3.8.2-1-default'"                                                                            
GRUB_DISABLE_OS_PROBER=true 

Interesting that grub2-mkconfig added double-quotes to the menuitem name, so I expect that the original single quotes should be left off. But, should not affect the final result.

Still nothing has worked.

SOL,
TSU

Looks like James updated his script for 12.3,

Gonna try it out!
https://forums.opensuse.org/blogs/jdmcdaniel3/gnu-grub2-command-listing-helper-help-input-106/

TSU

In version 12.2 there was a bootloader option called management section but in 12.3 its completely empty.
I am using bootloader GRUB.

Cool!
James’ new, improved script works!

Only some tiny, non-critical bugs I’ll PM James, but his script is a godsend
(Maybe I’ll also look for why his script works while what I tried earlier didn’t).

TSU