Hi,
Please provied the boot-entries for /vmlinuz(.old) as with grub-legacy.
I've set it before the normal linux boot entries because i need it
here. Feel free to rearrange it.
My scripts produces boot entries in the form of:
menuentry "Current kernel (vmlinuz-2.6.26-grml64)" {
linux /vmlinuz
initrd /initrd.img
}
menuentry "Old kernel (vmlinuz-2.6.23-grml64)" {
...
<inline for easier review>
BEGIN
#!/bin/bash -e
# Author: Michael Gebetsroither <gebi@grml.org>
# License: GPL v2 or any later version
printTemplate()
{
local vmlinuz_="$1"
local initrd_="$2"
if [ -e "$vmlinuz_" ]; then
local name_="`basename $(readlink $vmlinuz_)`"
echo "Found linux image: $vmlinuz_ -> $name_" >&2
cat <<EOT
menuentry "Current kernel ($name_)" {
linux $vmlinuz_
EOT
if [ -e "$initrd_" ]; then
echo "Found initrd image: $initrd_" >&2
echo -e "\tinitrd $initrd_"
fi
echo "}"
fi
}
printTemplate /vmlinuz /initrd.img
printTemplate /vmlinuz.old /initrd.img.old
END
cu,
michael
Hi, This doesn't seem to be supported with GRUB Legacy. Please, could you clarify that? If it wasn't supported before, I'm not very fond of introducing support for those paths now. Linux images argueably belong in /boot.
Am Freitag, den 05.09.2008, 11:15 +0200 schrieb Robert Millan: AFAICS grub-legacy only supports /boot/vmlinuz and /boot/vmlinuz.old but not directly in /
If there are no objections, I'm proposing that this bug be closed. Kindest regards Emyr On Sat, 25 Jul 2009 01:52:22 +0200 Felix Zielcke <fzielcke@z-51.de> wrote: > Am Freitag, den 05.09.2008, 11:15 +0200 schrieb Robert Millan: > > On Fri, Aug 29, 2008 at 04:37:28PM +0200, Michael Gebetsroither wrote: > > > Package: grub-pc > > > Version: 1.96+20080724-8 > > > Severity: wishlist > > > > > > > > > Hi, > > > > > > Please provied the boot-entries for /vmlinuz(.old) as with grub-legacy. > > > > Hi, > > > > This doesn't seem to be supported with GRUB Legacy. Please, could you > > clarify that? > > > > If it wasn't supported before, I'm not very fond of introducing support > > for those paths now. Linux images argueably belong in /boot. > > > > AFAICS grub-legacy only supports /boot/vmlinuz and /boot/vmlinuz.old but > not directly in / > > -- > Felix Zielcke > Proud Debian Maintainer > > > >