https://bugzilla.novell.com/show_bug.cgi?id=776221 https://bugzilla.novell.com/show_bug.cgi?id=776221#c3 --- Comment #3 from Felix Miata <mrmazda@earthlink.net> 2012-08-17 16:42:17 UTC --- (In reply to comment #1)
When you do kernel update, you expect that /boot/grub/menu.lst contains exactly the same as it contained before (like if only the kernel file name was changed).
If that's what actually happened it wouldn't bother me as much, but it doesn't do that either. If it's supposed to be that way, then DEFAULT_APPEND and FAILSAFE_APPEND need to be retired from /etc/sysconfig/bootloader. As long as they exist, I expect changes made there to be implemented in stanzas for subsequently installed kernels. (In reply to comment #2)
Felix, to sum this up, your point is that it shouldn't treat 'vga' special?
Not the whole story. The extra cmdline whitespace that special treatment creates, and the bonus newlines between stanzas, are annoying. I cannot accept its new menu.lst as-is either, as it's refused no matter what I've tried to put showopts where I want it ahead of root=. Without that, when I want to test an alternative root=, I have to leave GFXmenu, which wouldn't be so bad except that color white/blue cyan/light-gray always gets neutered by YaST2/perl-Bootloader. Just as annoying is how it assumes the new kernel should be the default and first listed. That's only exactly the case on my systems immediately after a fresh installation. On my systems the default is first listed, but its name is vmlinuz. Period. New kernel installation always moves this default down to third stanza position. In those menu.lsts with prior installed kernels, the second entry is for a kernel named vmlinuz-prev, which is a symlink to whatever kernel was installed prior to the latest installed. It gets moved to fourth position. So, a typical menu.lst on one of my systems starts out as follows: ... default 0 title openSUSE 12.2 - defkernel root (hd0,9) kernel /boot/vmlinuz showopts root=LABEL=10factory noresume splash=verbose ipv4only=1 video=1152x864 vga=794 3 initrd /boot/initrd title openSUSE 12.2 - prevkernel root (hd0,9) kernel /boot/vmlinuz-prev showopts root=LABEL=10factory noresume splash=verbose ipv4only=1 video=1152x864 vga=794 3 initrd /boot/initrd-prev ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 12.2 - 3.4.2-1 root (hd0,9) kernel /boot/vmlinuz-3.4.2-1-desktop showopts root=/dev/disk/by-label/10factory ipv4only=1 noresume splash=verbose video=1152x864 vga=794 3 initrd /boot/initrd-3.4.2-1-desktop ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 12.2 - 3.4.2-1 root (hd0,9) kernel /boot/vmlinuz-3.4.2-1-desktop showopts root=/dev/disk/by-label/10factory ipv4only=1 apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=791 3 initrd /boot/initrd-3.4.2-1-desktop ... After the next kernel install, menu.lst would look like this: ... default 0 ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 12.2 - 3.4.6.1 root (hd0,9) kernel /boot/vmlinuz-3.4.6.1-desktop root=/dev/disk/by-label/10factory ipv4only=1 noresume splash=verbose video=1152x864 3 showopts vga=794 initrd /boot/initrd-3.4.6.1-desktop ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 12.2 - 3.4.6.1 root (hd0,9) kernel /boot/vmlinuz-3.4.6.1-desktop root=/dev/disk/by-label/10factory showopts ipv4only=1 apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe 3 vga=791 initrd /boot/initrd-3.4.6.1-desktop title openSUSE 12.1 - defkernel root (hd0,9) kernel /boot/vmlinuz showopts root=LABEL=10factory noresume splash=verbose ipv4only=1 video=1152x864 vga=794 3 initrd /boot/initrd title openSUSE 12.1 - prevkernel root (hd0,9) kernel /boot/vmlinuz-prev showopts root=LABEL=10factory noresume splash=verbose ipv4only=1 video=1152x864 vga=794 3 initrd /boot/initrd-prev ... Lord only knows what the first stanzas would look like if I had first made changes to DEFAULT_APPEND and/or FAILSAFE_APPEND, but the usual result is whatever I've added there is not migrated into any new stanzas.
Hm, not sure why it does this, but note that for grub2 'vga' isn't used at all.
Grub2 needs a *lot* more maturing, and more so its docs, before I'll be willing to more than dabble with its use. It's much more complicated, mostly with things I have no use for and no ability to recognize bugs in. Grub Legacy by comparison is absolutely easy, and for the foreseeable future does all I need from a bootloader well enough. Grub2 for me can and will wait until such time as I need GPT support or find something it has that I must have that outweighs the pain of its complexity. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.