Bug#552260: kernel-package: install_vmlinux + grub2 == unbootable entries

Felix Zielcke fzielcke at z-51.de
Sun Oct 25 07:47:37 UTC 2009


forcemerge 536846 552260
thanks

Am Samstag, den 24.10.2009, 19:56 -0400 schrieb Nick Black:
> Manoj Srivastava left as an exercise for the reader:
> >  If you think that grub2 should have a behaviour change, or should
> >  reorder the images somehow, then this bug report should be reassigned
> >  to grub-pc, right?
> 
> Indeed this does seem a grub-pc bug. I'd like the previous behavior of not
> installing the image at all; that's influenced by the grub scripts (as you
> state). I'd appreciate you reassigning the bug; otherwise, mark it resolved,
> and I'll file a new one against grub-pc. Thanks!

Unfortunately it's not that easy to just not add the vmlinux ones.
On powerpc only the vmlinux ones are bootable and not vmlinuz. That's
why they got added.

To fix the problem for yourself you can change line 65
in /etc/grub.d/10_linux from
 list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
to
 list=`for i in /boot/vmlinuz-* /vmlinuz-* ; do

All files in /etc must preserve user changes, so it won't get lost on
the next package upgrade. And I don't think we will change 10_linux
much.


-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer






More information about the Pkg-grub-devel mailing list